954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Menu list in MouseOver

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

vimalv
Newbie Poster
10 posts since May 2007
Reputation Points: 10
Solved Threads: 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.

jamello
Posting Whiz in Training
219 posts since Oct 2006
Reputation Points: 215
Solved Threads: 6
 
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.

arjunsasidharan
Practically a Posting Shark
826 posts since Aug 2006
Reputation Points: 347
Solved Threads: 13
 

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

vimalv
Newbie Poster
10 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You