View Full Version : DOM errors in Responsive Side Toggle Menu?

02-04-2015, 12:53 AM
1) Script Title: Responsive Side Toggle Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/sidetogglemenu.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


error fetching content

02-04-2015, 01:10 AM
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?

02-04-2015, 03:48 AM
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:

<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

02-04-2015, 04:08 AM
thanks very much, lesson learned :(