Jump to content

Jvascript Menu, code needed from three website


member

Recommended Posts

Hi,

I need the code for the navigation on the three website: http://www.three.co.uk/index.omp
It is on the left of the site. I tried to view the source, and copied some of the code with the target image files, but it's not working.

If anyone knows how to do this, or get that fade away of the menu, or the same code (that works)
it would be much appreciated.

Thank You very much.
well that's quite simple. Try swaping images while the cursor is over them or just change the color of the bgcolor.

[code]
<sc ript langu age="javascript">
function overColor(a)
{
a.bgColor="yellow";
}
function outColor(a)
{
a.bgColor="white";
}
</script>
<table>
<tr onmouseover="overColor(this)" onblur="outColor(this)"><td>Link1</td></tr>
<tr onmouseover="overColor(this)" onblur="outColor(this)"><td>Link2</td></tr>
<tr onmouseover="overColor(this)" onblur="outColor(this)"><td>Link3</td></tr>
</table>
[/code]
thanks for the code, but the colour remains on it when u put ur mouse on it then off.

I mainly wanted that "fade effect" as on the three website: http://www.three.co.uk/index.omp on the navigation.

if anyone else knows it would be much appreciated f u wold let me know.

Thank You
  • 4 weeks later...
You say you're looking for the code, yet you have to code at hand.  I'm sure that if you don't try, you can't... but it's just a JS fade, tied to a single image.  Find the image, find the associated JS functions, and take a look.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.