Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 6, 2013 17:06:24 GMT -8
Looking for a replacement for my V4.5 Code that allows me to change the color of links when posted on the board.
Thanks Chrissy
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jan 6, 2013 18:01:34 GMT -8
Could you possibly link to the code so we can see exactly what it does, please? Thanks.
|
|
Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 7, 2013 16:40:34 GMT -8
I do not know where the code is here or if I got it here, but it simply changes the standard color from black to a color of your choice when you post a link in your post.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 7, 2013 16:47:06 GMT -8
Hello Christine...
If you have a copy of that code, then copy / paste it here so Stinky666 can take a look at it.
|
|
Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 7, 2013 17:44:36 GMT -8
Sure Ron. I just hope it is okay because I do not remember if I got it here or at one of the other Proboards Codes Sites.
<script type="text/javascript"> <!--
// Color of the links var linkColor = "Gold";
function doPostLinkColor(){ var iCell = document.getElementsByTagName("td"); for(c = 0; c < iCell.length; c ++){ if(iCell.item(c).colSpan == "3" && iCell.item(c).firstChild && iCell.item(c).firstChild.nodeName.match(/^hr$/i)){ var pLinks = iCell.item(c).getElementsByTagName("a"); for(a = 0; a < pLinks.length; a ++){ pLinks.item(a).style.color = linkColor; } } } }
if(location.href.match(/action=display/i)){ doPostLinkColor(); }
//--> </script>
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 7, 2013 17:49:17 GMT -8
Hello again Christine...
Never seen that code before and I don't see a thing wrong in posting it here.
|
|
Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 7, 2013 17:50:27 GMT -8
It is an old Code Ron thanks.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 7, 2013 17:52:04 GMT -8
|
|
Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 7, 2013 17:55:28 GMT -8
|
|
Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 12, 2013 11:53:43 GMT -8
bump
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 12, 2013 21:32:53 GMT -8
<style>.post .message a[rel="nofollow"] {color:gold}</style>
|
|
blueshead
Full Member
More hot peppers please!
Posts: 928
inherit
185994
0
Jun 17, 2018 15:20:52 GMT -8
blueshead
More hot peppers please!
928
November 2012
mrblueshead
|
Post by blueshead on Jan 13, 2013 2:03:33 GMT -8
<style>.post .message a[rel="nofollow"] {color:gold}</style> Where would we place this?
|
|
Former Member
inherit
guest@proboards.com
185676
0
Nov 24, 2024 8:04:33 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 13, 2013 5:45:10 GMT -8
Thank you Eton but what line would this go on?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 13, 2013 20:40:04 GMT -8
Sorry for the confusion, I posted that as a header/footer code since the question was being asked in the Headers & Footers board which means it would go in your V5 global header, oppa v4 style!
|
|
blueshead
Full Member
More hot peppers please!
Posts: 928
inherit
185994
0
Jun 17, 2018 15:20:52 GMT -8
blueshead
More hot peppers please!
928
November 2012
mrblueshead
|
Post by blueshead on Jan 13, 2013 20:50:50 GMT -8
It works.. Except in the shoutbox.. But I think a mod said something about the shoutbox not being set up yet for colored links..
|
|