Importing DHTML code into FrontPg '98 - Why isn't this code working?
Hey there espcalta!
Try this:
<head>
<style type="text/css">
A { text-decoration:none } A:hover { color:blue }
</style>
</head>
If you didn't notice, i removed the comments tags.
Good luck,
Eitan
----------
http://www.4FreeStuff.net - Your #1 source for Free Stuff on the net...
4FreeStuff.net - Absolutely the Best!
A list of the Best Affiliate programs focusing on:
Pay per-lead Programs
Anonymous posted this at 03:59 — 20th August 1999.
They have: 5,633 posts
Joined: Jan 1970
This effect will only work in Internet Explorer
----------
[email protected]
vegas.com.au/~jasper
espcalta posted this at 04:04 — 20th August 1999.
They have: 3 posts
Joined: Jul 1999
Hi Eitan & others-
Thanks for the suggestion however removing the comment tags was unsuccessful. I'm still at a loss. For some reason it's not understanding the command for the color. I've tried using the hexdecimal form, the word for the color, even rgb(0,0,0)-because throughout FrontPg it pops the rgb description in for color. I'm also aware this only works on IE 4.0 and up. The issue is the script partially works but I want to get all of it to work.
Any suggestions! Thanks!
----------
kc
espcalta posted this at 17:37 — 20th August 1999.
They have: 3 posts
Joined: Jul 1999
Hi! I've been working with the following DHTML script:
<head>
<style type="text/css">
<!--A { text-decoration:none } A:hover { color:blue }--></style>
</head>
This script works perfectly in Notepad but it only works half of the way in Front Page. This script takes away the underline on the link and it SHOULD change the link color when the mouse passes over it. My issue is the color isn't changing. Does anyone have any suggestions on what could be wrong?
Help!!
Thanks!
----------
kc
John Pollock posted this at 20:37 — 23rd August 1999.
He has: 628 posts
Joined: Mar 1999
I can't say for sure, but many WYSIWYG editors have a tendency to make a mess out of code you try to add yourself. Saving in a plain text editor might help, or you might see if FP has a shortcut to do those on its own so it has to create the code correctly.
----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.