• What are you working on? v7
    7,420 replies, posted
[QUOTE=Bomber9900;35790834]put this together really fast and shittily over the past few hrs. It's for an airsoft event. [url]http://vizze.net/op/index.html[/url][/QUOTE] background image takes forever to load and the text isn't aligned in latest chrome [t]http://dl.dropbox.com/u/5487161/Screenshots/n~hz.png[/t]
[QUOTE=Miljaker;35787557]How would you put different content in the lightbox besides an image? And can you explain what the disadvantage is of using my code?[/QUOTE] Oh, you want a lightbox capable of HTML content as well? I guess it would be possible to add the HTML content inside of the <a> tag and then use CSS to hide it. Sounds messy though. In your code you're not saving any of the dom lookups so when you trigger an action it has to search for them every time. Caching increases performance slightly and prevents you from repeating yourself over and over. It's best to store them in a variable. With my implementation it uses the href as the image source so if JavaScript is disabled it would still link them to the large image instead of a dead link. Also, mine waits until the image is loaded before it's displayed. The loading gif is behind the image in the center and is visible while the image is loading.
[QUOTE=anton;35791195]background image takes forever to load and the text isn't aligned in latest chrome [t]http://dl.dropbox.com/u/5487161/Screenshots/n~hz.png[/t][/QUOTE] I've got the latest chrome and it aligns perfectly but i'll try and fix it. Everybody else has reported perfect alignment as well thats looked at it? It's probably because of our resolutions.
[t]http://puu.sh/sBcw.png[/t] Slightly off for me Latest chrome 1440x900
Wow, I just moved to Dwoo all I can say is thank god. Before I was echoing shit and other hacky methods. Templating makes things so much cleaner. [url]http://dwoo.org/download[/url]
[QUOTE=Bomber9900;35790834]put this together really fast and shittily over the past few hrs. It's for an airsoft event. [url]http://vizze.net/op/index.html[/url][/QUOTE] I suggest that you used absolute values for alignment and size, relative tends to be hard work to get looking right and usually just fucks up.
Not really what I am working on but: [url]http://railslove.com/[/url] Press: Up Up Down Down Left Right Left Right B A Enter I don't even..
[QUOTE=commander204;35798948]Not really what I am working on but: [url]http://railslove.com/[/url] Press: Up Up Down Down Left Right Left Right B A Enter I don't even..[/QUOTE] Konami code leading to Ponies. My friend did almost the exact same thing on his website.
[QUOTE=Bomber9900;35790834]put this together really fast and shittily over the past few hrs. It's for an airsoft event. [URL]http://vizze.net/op/index.html[/URL][/QUOTE] [t]http://i.cubeupload.com/tbNQlU.png[/t] Latest Chrome - Just to show the alignment is also messed up for me too. My res on my laptop is fairly small 1366 x 768. A useful tool for checking lots of different browsers is [URL]http://browsershots.org/[/URL]. Not sure if you've heard of it but I tend to find it quite fun to see how well my work does.
[QUOTE=Emz;35799642][t]http://i.cubeupload.com/tbNQlU.png[/t] Latest Chrome - Just to show the alignment is also messed up for me too. My res on my laptop is fairly small 1366 x 768. A useful tool for checking lots of different browsers is [URL]http://browsershots.org/[/URL]. Not sure if you've heard of it but I tend to find it quite fun to see how well my work does.[/QUOTE] Thanks, never heard of that till today. As for the other guy. I am using absolute, not relative. [editline]2nd May 2012[/editline] I don't understand though. Its not relative, it's got a 1% margin but that seems to only work on my resolution.
[QUOTE=Bomber9900;35800121]Thanks, never heard of that till today. As for the other guy. I am using absolute, not relative. [editline]2nd May 2012[/editline] I don't understand though. Its not relative, it's got a 1% margin but that seems to only work on my resolution.[/QUOTE] [img]http://img.meteornet.net/uploads/bus4ihj6/ss.png[/img] looks pretty relative to me
I've been playing around with functional programming ([url]http://www.defmacro.org/ramblings/fp.html[/url]) I've gotten some Haskell and Erlang up and running but I'm not really sure what to do past that. Any ideas for projects involving functional programming?
[QUOTE=adamjon858;35807225]I've been playing around with functional programming ([url]http://www.defmacro.org/ramblings/fp.html[/url]) I've gotten some Haskell and Erlang up and running but I'm not really sure what to do past that. Any ideas for projects involving functional programming?[/QUOTE] This just seems like an appropriate direction to head: [url]http://snapframework.com/[/url]
oops [url]https://help.us.army.mil/cgi-bin/akohd.cfg/php/enduser/home.php?-s[/url]
[QUOTE=swift and shift;35821020]oops [url]https://help.us.army.mil/cgi-bin/akohd.cfg/php/enduser/home.php?-s[/url][/QUOTE] well that's pretty stupid, why does it work?
[QUOTE=Catdaemon;35821171]well that's pretty stupid, why does it work?[/QUOTE] CGI passes the query string in the command line. PHP in all their infinite wisdom thought it'd be a good idea to parse the command line for options even when running as a CGI binary
[QUOTE=swift and shift;35821186]CGI passes the query string in the command line. PHP in all their infinite wisdom thought it'd be a good idea to parse the command line for options even when running as a CGI binary[/QUOTE] Weird. None of my web servers have this problem. Must be morons runnin the military, what a surprise.
[QUOTE=Catdaemon;35821404]Weird. None of my web servers have this problem. Must be morons runnin the military, what a surprise.[/QUOTE] i'm guessing you probably don't run php as cgi
[QUOTE=swift and shift;35821885]i'm guessing you probably don't run php as cgi[/QUOTE] ye I got FAST cgi son that shit fast
The PHP dev team never cease to amaze :P Lucky it's only cgi; but an awful bug to ignore none the less.
[QUOTE=Fizzadar;35822199]The PHP dev team never cease to amaze :P Lucky it's only cgi; but an awful bug to ignore none the less.[/QUOTE] they knew about it for four months before the bug was publicly leaked. when it was leaked, they scrambled to release a patch. the patch didn't actually fix the problem.
[QUOTE=swift and shift;35821020]oops [url]https://help.us.army.mil/cgi-bin/akohd.cfg/php/enduser/home.php?-s[/url][/QUOTE] Well shit now we're gonna get arrested
[QUOTE=swift and shift;35822242]they knew about it for four months before the bug was publicly leaked. when it was leaked, they scrambled to release a patch. the patch didn't actually fix the problem.[/QUOTE] And that's what bureaucracy does to you, kids!
[QUOTE=TerabyteS_;35825397]And that's what bureaucracy does to you, kids![/QUOTE] I don't think this has anything to do with bureaucracy, just plain laziness / ignorance. PHP is anything *but* over-organised.
Finished website for first "real" client. There is just one thing bugging me. The tekst is very aliased in chrome. Is there a fix for this? [URL="http://bijmargo.nl/"][IMG]http://i.imgur.com/pPzqY.jpg[/IMG][/URL]
You can try playing with text-shadow, as Google seems to be too lazy to implement anti-aliasing..
Making a website for a dev team. [img]http://4stor.com/images/NWW3.png[/img]
[QUOTE=Miljaker;35828532]Finished website for first "real" client. There is just one thing bugging me. The tekst is very aliased in chrome. Is there a fix for this? [URL="http://bijmargo.nl/"][IMG]http://i.imgur.com/pPzqY.jpg[/IMG][/URL][/QUOTE] There's no need to use a picture for the container background, you can just do it with a div and box-shadow. The loading times should be much faster.
[QUOTE=TerabyteS_;35833983]There's no need to use a picture for the container background, you can just do it with a div and box-shadow. The loading times should be much faster.[/QUOTE] no css3 in older versions of IE and they wanted a shadow.
[QUOTE=Miljaker;35828532]Finished website for first "real" client. There is just one thing bugging me. The tekst is very aliased in chrome. Is there a fix for this? [URL="http://bijmargo.nl/"][IMG]http://i.imgur.com/pPzqY.jpg[/IMG][/URL][/QUOTE] I dislike the main container's colour to me it needs to be slightly lighter. I am on my laptop though and it does display greys slightly weird so it could just be me. Also, when it came to positioning the logo, instead of setting a left margin for each of your 3 spans I'd have just made the 'titel' div container smaller as it results in the same effect but done in a cleaner way (well I think it's cleaner anyway.) Congrats on your first client also :)
Sorry, you need to Log In to post a reply to this thread.