Jump to content


Photo

Jvascript Menu, code needed from three website


  • Please log in to reply
7 replies to this topic

#1 member

member
  • Members
  • PipPipPip
  • Advanced Member
  • 58 posts

Posted 21 September 2006 - 07:55 PM

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.

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 22 September 2006 - 10:22 AM

"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.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 radalin

radalin
  • Members
  • PipPipPip
  • Advanced Member
  • 179 posts

Posted 22 September 2006 - 11:25 AM

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

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

Roy Simkes
Yet Another Parkyeri Developer

#4 member

member
  • Members
  • PipPipPip
  • Advanced Member
  • 58 posts

Posted 24 September 2006 - 06:36 PM

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

#5 member

member
  • Members
  • PipPipPip
  • Advanced Member
  • 58 posts

Posted 18 October 2006 - 12:42 PM

anyone else know. I am still looking for the code. I just mainly want tha fade effect using javascript.

#6 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 19 October 2006 - 04:50 PM

I'm sure you can examine their code and piece it apart... I don't have the time to do so.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#7 member

member
  • Members
  • PipPipPip
  • Advanced Member
  • 58 posts

Posted 21 October 2006 - 06:53 PM

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.

#8 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 22 October 2006 - 09:17 PM

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.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users