0

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...

3
Contributors
3
Replies
6
Views
10 Years
Discussion Span
Last Post by vimalv
0

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.

0

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.

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.