Brian Sowter
asked on
Cany find the bug in my Slimmenu / JQuery code
I am modifying my site to change the Spry menu bar because it does not work with tablets touch screens.
i have made a test page using SlimMenu which I downloaded from http://adnantopal.github.io/slimmenu/
It looks as though the JQuery is not working. In the instructions at the link above it mentions :
"Add jquery.slimmenu.js after jQuery plugin and before closing body tag." I dont know what a jQuery plugin is. Maybe this is the problem. There is also an error message displayed:
$('#navigation').slimmenu( { resizeWidth: '800', collapserTitle: 'Main Menu', animSpeed: 'medium', easingEffect: null, indentChildren: false, childrenIndenter: ' ' })
Help will be much appreciated.
You can view the page at: www.sowter.co.uk/ix4.php
ix4.php
i have made a test page using SlimMenu which I downloaded from http://adnantopal.github.io/slimmenu/
It looks as though the JQuery is not working. In the instructions at the link above it mentions :
"Add jquery.slimmenu.js after jQuery plugin and before closing body tag." I dont know what a jQuery plugin is. Maybe this is the problem. There is also an error message displayed:
$('#navigation').slimmenu(
Help will be much appreciated.
You can view the page at: www.sowter.co.uk/ix4.php
ix4.php
ASKER
Hi Dui
I downloaded jquery.js and put it in a folder called slimmenu. I also put in a two script lines;
<script src="slimmenu/jquery.js">< /script>
<script src="slimmenu/jquery.slimm enu.js"></ script>
I still get the problem that the menu is in uncolapsed form though the links do work. I also get an error message at the very bottom of the page
$('#navigation').slimmenu( { resizeWidth: '800', collapserTitle: 'Main Menu', animSpeed: 'medium', easingEffect: null, indentChildren: false, childrenIndenter: ' ' });
I must be close but I stil cant find the problem. The link to the offending page is www.sowter.co.uk/ix4.php
Please help!
I downloaded jquery.js and put it in a folder called slimmenu. I also put in a two script lines;
<script src="slimmenu/jquery.js"><
<script src="slimmenu/jquery.slimm
I still get the problem that the menu is in uncolapsed form though the links do work. I also get an error message at the very bottom of the page
$('#navigation').slimmenu(
I must be close but I stil cant find the problem. The link to the offending page is www.sowter.co.uk/ix4.php
Please help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am a 75 year old guy and I would never have fixed this problem without this help. It is really encouraging for me.
Thanks again
Thanks again
You're welcome :). And actually you (and one of my 70-year-old colleagues) are encouraging me in continuous learning.
Best regards,
Duy.
Best regards,
Duy.
Or you can directly link to jQuery library using Google CDN: https://developers.google.com/speed/libraries/.