Hai all, i want to create an page with menu items ...on Mouseover it ll appear and mouseout it ll disappear...pls help me to do this....
Thanks...

Recommended Answers

All 3 Replies

Hai all, i want to create an page with menu items ...on Mouseover it ll appear and mouseout it ll disappear...pls help me to do this....
Thanks...

Can we see what you have attempted so far and we can take it from there.

Can we see what you have attempted so far and we can take it from there.

Are you using VS 2005? if you are then you can use javascript if your using Ajax enabled website to do that.

Well i used it. My purpose was to drop down t list when i keep the mouse on the menuitem. Just like Daniweb's Menu items

Here's the javascript which i used

In the Source view you have to added it under the Content Place holder

<script type="text/javascript">
function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible"
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden"
}
</script>

and under the script manager
i included a table
and the following code

<td onmouseover="showmenu('Daily')" onmouseout="hidemenu('Daily')" style="width: 80px; height: 1px">

Well try this at your own risk.. This is very simple as it gets.

Thanks jamello and Sasidharan.... Sasidharan u r coding is exactly matched with my requirements thanks a lott....

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.