LOAD THE LINKED DOCUMENT ON ITS OWN FOR MOUSE OVER IN ASP

 PROGRAM:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!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>
<script>
    function move() {
    window.open("a.html","","width=500,height=500,menubar=no");
}
</script>
<p>WHEN THE USER MOVES THE MOUSE OVER THE LINK THE DOCUMENT IS OPENED  IN A NEW WINDOW </p>
<p>WITHOUT CLICKING THE LINK</p>
<a href="default.aspx" onmouseover="move()" onclick="return false" target="_blank">MOUSE OVER</a>
    <form id="form1" runat="server">
    <div>
   
    </div>
    </form>
</body>
</html>

No comments:

Post a Comment