Notices
Non Scooby Related Anything Non-Scooby related

Javascript expert

Thread Tools
 
Search this Thread
 
Old 13 December 2000, 12:16 AM
  #1  
RichB
Scooby Regular
Thread Starter
 
RichB's Avatar
 
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes on 0 Posts
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).]
RichB is offline  
Old 13 December 2000, 12:17 AM
  #2  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
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.

Fosters is offline  
Old 13 December 2000, 10:51 AM
  #3  
Wurzel
Scooby Senior
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
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
Wurzel is offline  
Old 13 December 2000, 03:36 PM
  #4  
Wurzel
Scooby Senior
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
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
Wurzel is offline  
Old 13 December 2000, 11:11 PM
  #5  
Dream Weaver
Scooby Regular
 
Dream Weaver's Avatar
 
Join Date: Feb 2000
Location: Lancashire
Posts: 9,844
Received 0 Likes on 0 Posts
Post

RichB

So I am, but its sorted now

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



Quick Reply: Javascript expert



All times are GMT +1. The time now is 02:46 AM.