Jump to content

Archived

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

member

Jvascript Menu, code needed from three website

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.

Share this post


Link to post
Share on other sites
"It's not working" is very vague -- if you're going to copy someone else's code and make it your own (which is a questionable practice to begin with), you'll have to narrow down the problem to a line or two.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
anyone else know. I am still looking for the code. I just mainly want tha fade effect using javascript.

Share this post


Link to post
Share on other sites
I'm sure you can examine their code and piece it apart... I don't have the time to do so.

Share this post


Link to post
Share on other sites
i'm sure i can't.
i'm no good with javascript and tried to do it but i can't make it work.

What was the pint in that post?

anyways thanks for ur funny help.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

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.