homepage Welcome to WebmasterWorld Guest from 54.234.2.88
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Drop Down Menu onMouse over of a table cell
domoftheuk




msg:1483243
 4:08 pm on Oct 20, 2004 (gmt 0)

Hello WebmasterWorld.com Friends,

I would like to have a script that creates a drop down menu from a table cell on mouse over can it be built upon this script below:

<style text="text/css">
.menu { border-top: 1px solid #404040;
border-left: 1px solid #404040;
color: #404040; font: bold 12px "Arail"; }
</style>

<table border="0" cellpadding="4" cellspacing="0" style="cursor:pointer;cursor:hand">
<tr><td class="menu" bgcolor="#c0c0c0" onclick="JavaScript:window.location.assign('http://www.example.com/');" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#c0c0c0'"><center>My Weblog</center></td>
<td class="menu" bgcolor="#c0c0c0" onclick="JavaScript:window.location.assign('http://www.example.com/');" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#c0c0c0'"><center>About Me</center></td>
<td class="menu" bgcolor="#c0c0c0" onclick="JavaScript:window.location.assign('http://www.example.com/');" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#c0c0c0'"><center>Curriculum Vitea</center></td>
<td class="menu" bgcolor="#c0c0c0" onclick="JavaScript:window.location.assign('http://www.example.com/');" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#c0c0c0'"><center>Contact Me</center></td>

<td class="menu" bgcolor="#c0c0c0" onclick="JavaScript:window.location.assign('http://www.example.com/');" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#c0c0c0'"><center>Guest Book</center></td>

</tr>
</table>

I have tried searching Google but cant find any help there.

Please Help!

[edited by: tedster at 8:02 pm (utc) on Oct. 20, 2004]
[edit reason] use example.com [/edit]

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved