Hover problem

+1 Trix Foxs · October 4, 2015
Hi 

i created a hover.js containing this code:

$('#menu_video').hover(function() {
    $('#menu_feeback').html('menu video');
});

$('#menu_code').hover(function() {
    $('#menu_feeback').html('menu code');
});

$('#menu_forum').hover(function () {
    $('#menu_feeback').html("menu forum");
});


in my c# inline code, i have this code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UsingHover.aspx.cs" Inherits="InvSys.UsingHover" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <a href="#" id="menu_video">Video</a>
            <a href="#" id="menu_code">Code</a>
            <a href="#" id="menu_forum">Forum</a>
        </div>

        <div id ="menu_feedback"> </div>
    
        <script type="text/javascript" src="Scripts/jquery-1.4.1.js" ></script>
        <script type="text/javascript" src="Scripts/Hover.js"></script>
    </form>
</body>
</html>


PROBLEM is it's not hovering..  i followed this tutorial. Please assist. thank you.




Post a Reply

Replies

Oldest  Newest  Rating
+1 wernich wilsenach · October 6, 2015
spelling mistake. :)

your javascript is selecting "feeback" instead of "feedback". 
  • 1

Javascript

107,196 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators