Importing DHTML code into FrontPg '98 - Why isn't this code working?

They have: 117 posts

Joined: Jul 1999

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

They have: 5,633 posts

Joined: Jan 1970

This effect will only work in Internet Explorer

----------
[email protected]
vegas.com.au/~jasper

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

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's picture

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. Smiling

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

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.