Problems with active/visited link colors |
Problems with active/visited link colors |
49jet |
Apr 16 2009, 11:21 PM
Post
#1
|
Group: Members Posts: 1 Joined: 16-April 09 Member No.: 8,354 |
Help, I'm having problems controlling the colors of my active and visited links. I've used the normal code:
<body link="blue" alink="blue" vlink="violet"> it works on the normal hyperlinks but it has no effect when I am opening a new window with the following: <a onclick="window.open('../../case1chart2.gif','linkname','height=250, width=410,scrollbars=no')" href="java script:void(0)"><u>enquiries</u></a> The links are black no matter what I try to do. Here is the offending page: (there are others with the same problem) http://www.customercsi.com/case1.html Thanks, David |
geoffmerritt |
Apr 16 2009, 11:46 PM
Post
#2
|
Member Group: Members Posts: 66 Joined: 23-December 08 From: Adelaide Member No.: 7,394 |
Using CSS will solve the problem, you will need to use;
<style type="text/css"> a:link {text-decoration: none} a:visited {text-decoration: none} a:active {text-decoration: none} a:hover {text-decoration: underline; color: red;} </style> Here is a link with further help. http://www.echoecho.com/csslinks.htm This post has been edited by geoffmerritt: Apr 16 2009, 11:47 PM |
Darin McGrew |
Apr 17 2009, 12:54 AM
Post
#3
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Put a real URL in the href attribute, like this:
CODE <a onclick="window.open('../../case1chart2.gif','linkname','height=250, width=410,scrollbars=no'); return false" href="../../case1chart2.gif"> |
pandy |
Apr 17 2009, 07:13 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,732 Joined: 9-August 06 Member No.: 6 |
<body link="blue" alink="blue" vlink="violet"> it works on the normal hyperlinks but it has no effect when I am opening a new window with the following: <a onclick="window.open('../../case1chart2.gif','linkname','height=250, width=410,scrollbars=no')" href="java script:void(0)"><u>enquiries</u></a> So how don you put links in a GIF? The pup-ups I tried at your page contain just an image, as in your example above. And they have no links. |
Lo-Fi Version | Time is now: 26th April 2024 - 07:51 PM |