Resizable full-browser background image using jQuery
- Started
- Last post
- 31 Responses
- foobaz
I wrote one and thought some people might find it useful around here.
http://johnpatrickgiven.com/jque…
Would love feedback or if you find bugs let me know.
Cheers.
- foobaz0
Oh yeah I should mention it keeps the images aspect ratio in tact.
- KarlFreeman0
Bookmarked, thanks!
- must_dash0
nice work
- Ravdyk0
bookmarked thanks
- utopian0
works nicely, thanks foobaz!
- graham0
doesnt seem to work too nicely for me, safari 4.0.3 osx 1.6.1
get a white gap at the bottom
- I do to at certain window-sizes - when they're sorta square-ish.
(FF 3.5 / OSX)NotByHand - Thanks! I'll look into it...It works on my Safari 4.0.3 - Is there a certain way the browser is sized?foobaz
- Thanks I;ll look into thatfoobaz
- http://imgur.voxcdn.…
http://imgur.voxcdn.…graham
- I do to at certain window-sizes - when they're sorta square-ish.
- NotByHand0
Thank you, Sir — nice work.
- mikabast0
i likez bearz, thx
- PonyBoy0
you need to toss in another if statement to check the height at the very end and it's done... :)
- foobaz0
Thanks for the feedback - I'll work on the white space issue now...Thanks guys!
- utopian0
I take it that this will work just fine with PNG files as well?
- utopian0
height fix, example for you:
- foobaz0
Should be fixed now...I really appreciate the feedback. Thanks everyone! Let me know if the white space issue still happening for you. Don't forget to clear your cache ;)
- graham0
Sorted!
If you could get rid of the pause before it all loads in, it would be the bestest ;)
- must_dash0
the gilt one has a black gap on the left hand side... buggy too
- ********0
have you seen the bladeless fan already?
- foobaz0
Just wanted to say thanks again for helping me debug the plug-in...if you end up using it I hope you enjoy it!
- bort0
Nice. Bookmarked.