Code to hide and show a div tag using javascript onmouseover and onfocus

Monday, January 18, 2010

<html>
<head>
<script language="JavaScript">
function showhide(id, visibility) {
document.getElementById(id).style.display = visibility;
}
</script>
</head>
<body>
<a href='#' onMouseOver="showhide('divContent', 'inline');" onMouseOut="showhide('divContent','none');" onfocus="showhide('divContent','inline')"; onBlur="showhide('divContent','none')";>This program shows and hides a div using javascript.</a>
<div id="divContent">This program shows and hides a div using javascript.</div>
</body>
</html>
<a href="http://www.codecollege.NET">www.codecollege.NET</a>

What are the secure communication technologies available in Asp.NET?


1. SSL / TLS
2. IPSec
3. RPC Encryption


www.codecollege.NET

What is Multi-Targetting in .net?


Using it you can use Visual Studio 2008 to create projects that target .NET Framework version 2.0, 3.0, or 3.5.


www.codecollege.NET

How can i persist my session state when my page hit an error?


By calling Server.ClearError();


www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books