Menu | sensor | Mouse Many netizens ask: "Mouse move Up will brighten menu is how to make?" In fact, this is the use of two pictures alternately display the effect, the specific use of JavaScript scripting language implementation. Because it's a little more complicated, it needs to be explained carefully.
You want to make this effect, first of all to make the same size, different effects of the two pictures (first make a good one, then copy another one, and then make other effects, so you can ensure that the picture is fully consistent).
Then add the following JavaScript code to the <script language= "JavaScript" >
Author:alone ^_^;
date:08.26.98
Hide from Non-javascript Compatible browser
J=document.images;
You can only change a statement like "Http://www.webjx.com/htmldata/images/2.gif" to your picture name and pathname, and no other changes. Then put the following code between <body></body>:
<table border= "0" width= "100%" cellspacing= "0" cellpadding= "0" >
<tr>
<TD width= "100%" bgcolor= "#000000" ><p align= "center" ><a href= ". /frontpage.htm "></a></td>"
</tr>
<tr>
<TD width= "100%" bgcolor= "#000000" ><p align= "center" ><a href= ". /photoshop.htm "></a></td>"
</tr>
<tr>
<TD width= "100%" bgcolor= "#000000" ><p align= "center" ><a href= ". /javas.htm "></a></td>"
</tr>
<tr>
<TD width= "100%" bgcolor= "#000000" ><p align= "center" ><a href= ". /cgi.htm "></a></td>"
</tr>
<tr>
<TD width= "100%" bgcolor= "#000000" ><p align= "center" ><a href= ". /homepage.htm "></a></td>"
</tr>
</table>
Will resemble <a href= ". Change the/frontpage.htm> statement to the file name you want to link to; "Http://www.webjx.com/htmldata/images/6.gif", like the IMG src=, is changed to your picture name and pathname; similar to width= " 130 "height=" 25 "to your picture's width and height."
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.