Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-26-2012, 01:33 AM   PM User | #1
darnen101
New Coder

 
Join Date: Mar 2008
Posts: 71
Thanks: 14
Thanked 1 Time in 1 Post
darnen101 is an unknown quantity at this point
slideshow doesnt like being set to fadeOut/In with jquery

Hello all-
I'm trying to play with some page transitions using jquery. On the homepage there is a nivoslider carousel running thru a slideshow, and on the secondary pages there will be other content. I'm having the content slide into view using .animate functions rather than loading up a new page. Therein lies the problem. When i slide the homepage nivoslider content off the stage, and then try to slide it back, the slideshow will appear collapsed until it is time for the slideshow to rotate to the next image (OR if i just resize my browser window). I've tried .hide, as well as .fadeOut and both are giving me issues getting that nivoslider to appear again without the wait.

You can see a sample page of the code up at www.defyordie.com. The nivoslider is on an 8 second delay so the way to test it is- go to the page, click on 'projects' in the top nav, wait 8 seconds, and then click on the logo to go back home.

Let me know if theres a better way to slide content in/out than what i'm attempting or if you can help with the current implementation.
Thanks!
darnen101 is online now   Reply With Quote
Old 10-26-2012, 02:02 AM   PM User | #2
darnen101
New Coder

 
Join Date: Mar 2008
Posts: 71
Thanks: 14
Thanked 1 Time in 1 Post
darnen101 is an unknown quantity at this point
I may have fixed it by adding the line
Code:
$("body").resize();
Should that do the trick?
darnen101 is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:46 AM.


Advertisement
Log in to turn off these ads.