I’ve found the way to get slide toggle working, yeah! But now I need to know how to apply both link and slide on same click of mouse, i.e. when viewer clicks on About Us in nav bar, they are taken to About Us page and the hidden div slides in. Right now you have to click once to get to page and then click again to load hidden div. I’ve updated the files on the testing site referenced above. Hoping someone can help!
O.k. so if I keep going, I’ll have this situated. Once I do I can post how everything works JIC someone else can use this info. I’ve now got the effect and action all on one click but now I have a white flash between pages, any suggestions?
Update…flash has mysteriously disappeared, maybe just needed to give the laptop a break!
Thought I’d post how I managed to get things working for others who might be looking….
Applying effect and action on same click in a
, used < "ul", this>, in selector of jquery script. Here’s the script:
My limited knowledge of jquery tells me that applying the slide toggle immediately after the page load will load the hidden div with whatever action is coded. Additionally, CSS for hidden div is display:none.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".