The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Slidering

View previous topic View next topic Go down

Slidering

Post by Yakko! on December 6th 2010, 4:26 pm


Yakko!
Forumember

Male Posts : 661
Reputation : -5
Language : Italian, english, Français

Back to top Go down

Re: Slidering

Post by Yakko! on December 7th 2010, 5:26 pm

up

Yakko!
Forumember

Male Posts : 661
Reputation : -5
Language : Italian, english, Français

Back to top Go down

Re: Slidering

Post by Black_Water on December 8th 2010, 1:47 pm

The jquery code won't work if you put it "direcly" with oder code on your html page. To make it work you must save it on your computer and then upload it to an host site like http://yourjavascript.com. I have already upload it, just follow the guide:
1)Instead of the jquery code
Code:
$(document).ready(function(){

   //Hide (Collapse) the toggle containers on load
   $(".toggle_container").hide();

   //Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
   $("h2.trigger").click(function(){
      $(this).toggleClass("active").next().slideToggle("slow");
      return false; //Prevent the browser jump to the link anchor
   });

});

2) Replace with this :
Code:
<script type="text/javascript" src="http://yourjavascript.com/3001318244/haha.js.txt.js"></script>
-> This is the same jquery code, but is linked. Hello

Black_Water
New Member

Posts : 11
Reputation : 10
Language : bulgarian

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum