I can't seems to open/run my jquery file for 3 days now and keeps me wondering what sort of my problem is. Just last week i can hover, slidetoggle, and other effects with the page i created. I presumed i'm correct with the code that i had:
<script type="text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript" src="jquery/menu.js"></script>
and my code for the menu.js....
- $(document).ready(function()
- {
- $('.menu').hover(function()
- {
- $('.submenu').slideToggle();
- });
- });
Are there any problems with this?