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 the problems with this?
Eggstraordinary
12
Newbie Poster
Recommended Answers
Jump to PostYour probably overwriting the code with something else, so go over it again.
Jump to PostDude, i love you! You're right, i had overwrite a code. Thank you so much.
All 5 Replies
<M/>
170
Why so serious?
Featured Poster
Sam367
0
Light Poster
<M/>
170
Why so serious?
Featured Poster
Sam367
0
Light Poster
<M/>
170
Why so serious?
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.