logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > Javascript and JS frameworks
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-30-2010, 01:44 AM   #1
jdaly13
 
Join Date: Apr 2009
Location: Maine
Posts: 3
Default jQuery and IE

I have a mouseover effect that is working with every other browser except IE for some reason.
here is the site
http://onepotcooking.com/jamesdaly/P...s/see_buy.html

I was hoping someone with experience in jQuery and IE tell me why the code would not be working in IE but every other major browser

here is the jQuery code

any help is appreciated

Code:
<script src="Scripts/jquery-1.3.2.min.js"</script>

<script type="text/javascript">

$(document).ready(function() {

             $("#secondmaincontent > div").mouseenter(function(event) { 

                          $("#leftside").css("color", "#a98b65" );

                          $("#leftside").css("background-color", "#2e1605" );

                          $("#leftside").css("border-color", "#a98b65" );

                          });

             $("#secondmaincontent > div").mouseenter(function(event) { 

                          $("#rightside").css("color", "#2e1605" );

                          $("#rightside").css("background-color", "#a98b65" );

                          $("#rightside").css("border-color", "#2e1605" );

             });

             

             $("#secondmaincontent > div").mouseleave(function(event) { 

                          $("#leftside").css("color", "#2e1605" );

                          $("#leftside").css("background-color", "#a98b65" );

                          $("#leftside").css("border-color", "#2e1605" );

                          });

             $("#secondmaincontent > div").mouseleave(function(event) { 

                          $("#rightside").css("color", "#a98b65" );

                          $("#rightside").css("background-color", "#2e1605" );

                          $("#rightside").css("border-color", "#a98b65" );

             });

                          

             

});

</script>

Last edited by Corrosive; 03-30-2010 at 11:30 AM..
jdaly13 is offline   Reply With Quote
Old 03-30-2010, 03:20 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

replace 'mouseenter' with 'hover'
domedia is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com