Javascript expert
#1
Scooby Regular
Thread Starter
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes
on
0 Posts
Steve,
It does make sense, there will probably be a onMouseOut command in the <a href=........> tag, along with the OnMouseOver() function.
There would be a name of a function which does the swapping of the image.
You could remove the bit that says onMouseOut....' upto the next semi colon. that but it may cause other problems.....
I don't mind taking a look if you want....there are plenty of HTML tools around that will help, DreamWeaver is good for this sort of stuff.
[This message has been edited by RichB (edited 13 December 2000).]
It does make sense, there will probably be a onMouseOut command in the <a href=........> tag, along with the OnMouseOver() function.
There would be a name of a function which does the swapping of the image.
You could remove the bit that says onMouseOut....' upto the next semi colon. that but it may cause other problems.....
I don't mind taking a look if you want....there are plenty of HTML tools around that will help, DreamWeaver is good for this sort of stuff.
[This message has been edited by RichB (edited 13 December 2000).]
#2
Scooby Regular
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes
on
0 Posts
For each of the states, mouseover, mousedown, mouseout call a function instead.
on the mousedown you can set the image and a flag and on the mouseout you can interrogate the flag to see if a mousedown was performed.
on the mousedown you can set the image and a flag and on the mouseout you can interrogate the flag to see if a mousedown was performed.
#3
Scooby Senior
iTrader: (1)
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes
on
54 Posts
On our intranet we have a menu made out of gif images and when you mouseover it they inverse by loading a second image over the top and when you mouseoff it reverts back to the original, does anyboby know how I can modify this so that if you click on sed item it stays in the inverse state until you click on something else reason for this is so you can tell at a glance which menu item you are in, does this make sense?
cheers
Steve
cheers
Steve
Thread
Thread Starter
Forum
Replies
Last Post
The Joshua Tree
Computer & Technology Related
18
11 September 2015 09:24 PM