Resizable full-browser background image using jQuery
- Started
- Last post
- 31 Responses
- ********0
does it work in mosaic?
- 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.
- bort0
Hey acescence, how would I remove the fade in function you created. i find that sometimes in Firefox it fails to load the image if you jump from pages back and forth. I set up a test here: http://tinyurl.com/ygn2nt6
If you jump around the pages a couple of times, you'll notice that FF occassionally fails to load the image on page one when you return to it. I noticed this never happened with the original code (no fade function). Can I simply remove the fade function while maintaining your Safari fix?
- ********0
I love it.. great work.
- acescence0
^ toward the top of the js file, change..
$(this).parent().fadeIn();
to
$(this).parent().show();not sure that's entirely the problem though, i think there may be something else going on, will have to take a look at it later...
- dibec0
totally bookmarked. nice find.
- MSTRPLN0
really nice man.
- acescence0
nice one, thanks. i made a few mods...
i got rid of the bug in safari where it wasn't sizing the image properly at first until you resized the window.
i also added a loader, so it hides and then fades in the background when the image is loaded. note that i had to create a separate ezBgInit function, the index.html file changed to reference this.
- http://culturekiller…acescence
- Nice mods. Looks great.bort
- bort0
Bah, you're right. It's not the fade in. I've adjusted the code and it's still throwing the same bug. Let me know if you find a fix. I'll pick away at it (granted, I'm rubbish at writing javascript).
Thanks.
- 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