- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Hiding Divs Delay
Hi everyone,
I’m very new to the world of javascript and am hoping for some advice for a site I’m working on. I’m using hiding divs based on Jquery UI and am hoping for some advice on two things.
One- I’m noticing a delay in the hiding when I first load the page. It takes a second for divs to hide. My first guess as so why it’s doing that is because I have a ton of stuff going on. Perhaps hiding divs isn’t the best choice??? The tutorial I followed is located at http://net.tutsplus.com/javascript-ajax/create-a-tabbed-interface-using-jquery/. I’d like my content to animate in and out but don’t really care how I do it. I was using AJAX at first but couldn’t get the lightbox to display properly. Thoughts?
Two- is there any way to get this code to active on mouse rollover?
$(function() {
$(‘#tabvanilla > ul’).tabs({ fx: { height: ‘toggle’, opacity: ‘toggle’ } });
Feel free to take a look at everything. Any advice is great: http://www.ashleyhathaway.com/simplify
Hi Rob
Thanks for the quick response.Good call setting everything to hidden in the HTML. It will hopefully be enough.
Thanks!
Ashley
Awesome. Totally worked. Easy peasy.