Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
Branwen
Joined: Eons Ago
# Posts:
|
Posted: 04/03/2001 07:51 am
I'm trying to redesign my website and wanted to put category links with the contents seen with mouseover. Before I go further, the test page is at http://www.magickware.com/index2test.html. The buttons aren't linked yet, but you can see the general structure.I like the way it looks and works, but it adds a ton of code to the head section. There must be a simpler way to get a similar effect! I have to confess that I have to use others' scripts - my code writing is limited to a little basic html. Does someone know of a script that can do this? The contents lists could be in the same place, in a container, but otherwise, I'd like to keep the page looking about like this. Of course, I'm also open to other suggestions as well. Thanks.
|
 |
xelA
Joined: Nov 24, 1999
# Posts: 1857
|
Posted: 04/03/2001 10:40 pm
http://www.magickware.com/index2test.html
|
 |
handyandy
Joined: Mar 29, 2001
# Posts: 52
|
Posted: 04/19/2001 06:25 am
This depends on whether you are catering for all Javascript browsers or just the latest ones.A technique I use only puts Javascript into the A HREF tag, no header code at all. It seems to work fine in Explorer 4+ PC/Mac and Netscape 4+. To do this you just need to name each IMG tag uniquely, then reference that in the HREF tag as: a href="(filename)" onMouseOver="document.(image name).src='rollover-image.gif'" onMouseOut="document.(image name).src='normal-image.gif'" (This isn't perfectly formed as I can't post HTML here - don't use any brackets around the name) So, onMouseOver loads the rollover image, and onMouseOut resets it. Using loads of code in the HEAD section achieves the same results (it also allows for preloading but you could still do this anyway) - it may also be more robust in slightly older browsers.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|