Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Default color for "External Links" in posts
Topic Started: Jul 11 2008, 05:06 PM (517 Views)
Tyneryyk
Member
 *  
I need a method to change the default color of any external links in posts to something like BLUE, to make them stand out from regular post text...Is that possible?

I apologize if this should have been posted in the graphics and skins forum ,but, it's kind of a fine line between a regular support issue and just wanting skins type graphics, in my view...

I appreciate any assistance you are able to provide...

Ty
Offline Profile Quote Post Goto Top
 
jkybett
Member
 *   *  
I think this will probably work:
Go to board wrappers and go to the Header & Body. find the <body> tag and type this between the < and the > (include the speechmarks)
Quote:
 
link="#??????" vlink="#??????"

Now simply replace the red with a hexidecimal color. link is the link color and vlink is the visited link color.
Edited by jkybett, Jul 11 2008, 06:15 PM.
Offline Profile Quote Post Goto Top
 
Tyneryyk
Member
 *  
Thanks, I will try that, appreciate the feedback...
Offline Profile Quote Post Goto Top
 
jkybett
Member
 *   *  
No problem. Next time you get a problem like this though I would recommend searching google for HTML help pages. If it's a problem about the HTML rather than the code scripts you can usually find it fairly quickly without having to post and hope for a reply.
Offline Profile Quote Post Goto Top
 
Tyneryyk
Member
 *  
New at this but I will remember that, thanks...

BTW, I tried that (Even looked up the hexidecimal Color scales so as NOT to turn around and ask that next, lol)

Here's a copy of my Header & Body...It's not working in my test post however --->>>

<body text="#fff" link="#3232CC" vlink="#DD7500" alink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="800" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#000" height="377" bordercolor="#000" bordercolordark="#000" bordercolorlight="#000">
<tr>
<td width="100%" height="100%" bgcolor="#363535" bordercolor="#000000" bordercolorlight="#000" bordercolordark="#000">
<% BOARD HEADER %>
<% NAVIGATION %>
<% BOARD %>
<script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://www.radiox.commx.info/radnv.gif" border="0" alt="" width="20" height="10" /> <a href="http://z4.invisionfree.com/Kingdom_Hearts_Guild/index.php?act=SR&f=35">MC Music V2</a>'

var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell.align=="right" && uCell.innerHTML.match("act=calendar") && uCell.innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+" "
}

uCell.innerHTML=addLink+uCell.innerHTML
}}
</script>
<% STATS %>


Not sure if I missed something...
Offline Profile Quote Post Goto Top
 
jkybett
Member
 *   *  
Ah-hah! Just looked in my forum's CSS does and found this:
Quote:
 
BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; margin:0px 10px 0px 10px;background-color:#FFF }

If I'm not mistaken putting vlink and link codes here should do the trick for you.
Offline Profile Quote Post Goto Top
 
Tony
Member Avatar
If found, please report missing.

In your CSS add .postcolor a { color: #3232CC; } to change the posted links only.
Online Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply