Results 1 to 5 of 5
Related
-
how to stop javascript via another javascript Forum: Javascript Forum
Replies: 0 -
Is it possible to stop a javascript function w/ other javascript code? Forum: Javascript Forum
Replies: 5 -
Help targetting inline frame from a DHTML menu Forum: Website Scripts Forum
Replies: 1 -
Other scripts Dhtml / java script Forum: Javascript Forum
Replies: 13
-
05-03-2003, 09:00 AM #1
Need help with JavaScript(or issit DHTML?)
Hie there people...i'm a newbie at web designing..
What i need to find out is:
How do i make a line-through a text link when it has already been visited? I tried the below script but it did not work..instead,everything became line-through,no matter what state it is in..
<style type="text/css">
a:link{
font-family:verdana;
font-size:11px;
color:black;
text-decoration:none}
a:active{
font-family:verdana;
font-size:11px;
color:black;
text-decoration:none}
a:visited{
font-family:verdana;
font-size:11px;
color:black;
text-decoration:line-through}
a:hover{
font-family:verdana;
font-size:11px;
color:#479DD9;
text-decoration:line-through}
.innertable {
border: 1px solid #000000;
background-color: #E1E1E1;
}
</style>
I was wondering if any other scripts could do this properly..JavaScript or DHTML maybe?Would appreciate if anyone can help me on this...Thanks in advance,people..
-
05-03-2003, 12:08 PM #2
your code above works fine, just tried it.
Do you have a link to the rest of the page? Maybe there is other stuff over-riding the values above.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
05-04-2003, 10:41 AM #3
Is the page online or local? I had a similar problem way back when. Turned out that it was because the page was still local rather than posted, so of course every link showed up as being visited. Big DUH to me. Had to clear out my cache, history, .temp files, etc. to simulate visiting the site for the first time. Or just trust that it will work.
Could your problem be similar?
-
05-06-2003, 02:43 AM #4
Rrrright....i think both of you are correct....i tested it while the site on my local pc, and not online..a big duhh to myself then
Anyways, thanks for both your help...much appreciated..
Note to self: Inspect the problem from the most basic level
-
05-06-2003, 07:47 AM #5
I think Sherlock Holmes said it best:
In solving a problem of this sort, the grand thing is to be able to reason backwards. That is a very useful accomplishment, and a very easy one, but people do not practise it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically. Improbable as it is, all other explanations are more improbable still.
http://www.calibercomics.com/SHERLOCK/sherlock_holmes_quote_detection.htm .
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum