Results 1 to 4 of 4

Thread: DOM errors in Responsive Side Toggle Menu?

  1. #1
    Join Date
    Aug 2006
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DOM errors in Responsive Side Toggle Menu?

    1) Script Title: Responsive Side Toggle Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...togglemenu.htm

    3) Describe problem: the script is working but the page throws up a pop error message, with a bunch of jiberrish about 404

    login: justme
    pass: dynamic

    the page that calls the JS is

    http://coloroflaw.byethost9.com/forum/usercp.php


    error fetching content
    Last edited by chas; 02-04-2015 at 12:59 AM.

  2. #2
    Join Date
    Aug 2006
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    jQuery(function(){ // on DOM load
    if i remove that then no error but it wont work.....how can i suppress the error message if not the bug?

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You should remove the code in red below, as you're not actually displaying two side bar menus as far as I can tell, just one:

    Code:
    <script type="text/javascript">
    jQuery(function(){ // on DOM load
    	menu1 = new sidetogglemenu({  // initialize first menu example
    		id: 'togglemenu1',
    		marginoffset: 10
    	})
    
    	menu2 = new sidetogglemenu({  // initialize second menu example
    		id: 'togglemenu2',
    		position: 'right',
    		source: 'togglemenu.txt',
    		revealamt: -5
    	})
    })
    // js content
    </script>
    Last edited by ddadmin; 02-04-2015 at 04:14 AM.
    DD Admin

  4. #4
    Join Date
    Aug 2006
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks very much, lesson learned

Similar Threads

  1. Responsive Mouseover Tabs Menu
    By chechu in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 02-04-2015, 12:59 PM
  2. Custom image for 'Toggle Menu' event in Side Push Menu
    By Neil1 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 05-28-2014, 04:08 PM
  3. Resolved Responsive Side Toggle Menu Reversed
    By adaml_ipa in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 03-25-2014, 07:53 PM
  4. Smooth Navigational Menu (v1.5) want to display as dropline side by side
    By jqdesigner in forum Dynamic Drive scripts help
    Replies: 19
    Last Post: 01-30-2013, 03:35 PM
  5. Replies: 2
    Last Post: 09-17-2011, 10:15 PM

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
  •