360haven works best with JavaScript enabled
Nice jquery slide script
Results 1 to 1 of 1
  1. #1
    Mocha is offline
    Join Date : Dec 2010
    Location : Southampton Pennslyvania
    Posts : 85

    Nice jquery slide script

    Before you use this script, you should definantly create a css menu first. After done you can add this to your html header:

    <script type="text/javascript">
    		$('.menu > li:first').addClass('activeMenuLink');
    	$('.menu > li').click(function(){
    		if (!$(this).hasClass('activeMenuLink')) {    
    		$('.menu > li').removeClass('activeMenuLink');
    		$('.content div').slideUp('1500');
    		$('.content div:eq(' + $('.menu > li').index(this) + ')').slideDown('1500');
    What the script does is basically when a Menu item is clicked the div will slide to the next div. Instead of you having to link the pages and users having to navigate to different pages.

  2. The Following User Says Thank You to Mocha For This Useful Post:



Similar Threads

  1. [YouTube] BSR SUPER SLIDE - The Royal Flush in 4K
    By Original Boss in forum Youtube Famous
    Replies: 0
    Last Post: 07-06-2015, 04:02 AM
  2. [JQUERY] | Intro & Installation
    By Mocha in forum Tutorials and Resources
    Replies: 2
    Last Post: 08-27-2014, 12:55 AM
  3. [YouTube] Cliff Slip and Slide! 50 Feet! In 4K!
    By THUMBS in forum Youtube Famous
    Replies: 0
    Last Post: 06-19-2014, 11:06 PM
  4. watch this car slide off the road
    By THUMBS in forum Youtube Famous
    Replies: 3
    Last Post: 03-02-2014, 04:44 PM
  5. Panda cubs having the slide of their lives
    By xBASSxMONSTAx in forum Youtube Famous
    Replies: 4
    Last Post: 07-06-2012, 04:55 AM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.