Results 1 to 2 of 2

Thread: Animation with JQuery Treeview script

  1. #1
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animation with JQuery Treeview script

    1) Script Title: jQuery treeView menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/treeview/

    3) Describe problem:

    I've got the menu working well for the most part, but no matter what I do I can't get the animation to work! My site (this is all development, so excuse the ugliness of the site) is http://www.moswell.people.haverford....splay_test.php. As far as I can tell I've got all the files I need, but the script description doesn't provide a lot of details. Any advice would be greatly appreciated.

    Code:
    	<script type="text/javascript">
    	$(document).ready(function(){
    		
    	// first example
    	$("#sidemenu").treeview({
    		animated: "slow",
    		collapsed: true,
    		unique: true,
    		persist: "location"
    	});
    	});
    	</script>
    Last edited by Snookerman; 05-12-2009 at 10:16 PM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    - See, this always happens. I post the question and then keep playing around with the problem myself and end up finding the answer. I messed up because I didn't notice there was already a document.ready.function() called for the same script above. Once I added the animation bits to that script it worked just fine.

Bookmarks

Posting Permissions

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