Notices
Non Scooby Related Anything Non-Scooby related

Javascript expert

Thread Tools
 
Search this Thread
 
Old Dec 13, 2000 | 12:16 AM
  #1  
RichB's Avatar
RichB
Thread Starter
Scooby Regular
 
Joined: Apr 1999
Posts: 3,666
Likes: 0
From: Bore Knee Muff
Thumbs up

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).]
Old Dec 13, 2000 | 12:17 AM
  #2  
Fosters's Avatar
Fosters
Scooby Regular
 
Joined: Jul 2000
Posts: 2,145
Likes: 0
From: Islington
Post

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.

Old Dec 13, 2000 | 10:51 AM
  #3  
Wurzel's Avatar
Wurzel
Scooby Senior
iTrader: (1)
 
Joined: Nov 2000
Posts: 9,708
Likes: 73
From: Wildberg, Germany/Reading, UK
Question

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
Old Dec 13, 2000 | 03:36 PM
  #4  
Wurzel's Avatar
Wurzel
Scooby Senior
iTrader: (1)
 
Joined: Nov 2000
Posts: 9,708
Likes: 73
From: Wildberg, Germany/Reading, UK
Post

Thanx for the replies but alas our American friends have decided to completely change our websites, this topic can be either locked or deleted now.

Steve
Old Dec 13, 2000 | 11:11 PM
  #5  
Dream Weaver's Avatar
Dream Weaver
Scooby Regular
25 Year Member
Liked
 
Joined: Feb 2000
Posts: 9,846
Likes: 4
From: Lancashire
Post

RichB

So I am, but its sorted now

Simon
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
roysc
ScoobyNet General
2
Sep 16, 2015 09:10 AM
The Joshua Tree
Computer & Technology Related
18
Sep 11, 2015 09:24 PM
Jer
Non Scooby Related
3
Sep 20, 2001 08:20 PM
Paul.G
Non Scooby Related
7
Aug 27, 2001 01:58 PM
PeterJ
ScoobyNet General
1
Jul 24, 2001 05:26 PM




All times are GMT +1. The time now is 01:50 PM.