Announcement

Collapse
No announcement yet.

Link Color

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Link Color

    Hi Guys,

    I have a question concerning the color of the links.

    I have set my link color (in styles) to be black, but my table header is also black and when a thread is more than 1 page, i cannot see the other page numbers.

    see here : http://www.pdafrance.com/pdaforum/sh...?threadid=3912

    You cannot read
    Sujet Page(s) (2): [ 1 2 > ]

    Do you know how to set the color of that particular link to be different from the global variable?

    Thanx!

  • #2
    use some css
    - James
    http://forums.smaaash.com

    Comment


    • #3
      Hi James,

      Thanks for the reply.
      How?

      Comment


      • #4
        You can do the following:

        In showthread, replace this original markup:
        Code:
        <tr>
        	<td bgcolor="#8080A6" width="175" nowrap><smallfont color="#EEEEFF" class="thtcolor"><b>Author</b></smallfont></td>
        	<td bgcolor="#8080A6" width="100%">
        	<!-- Thread nav and post images -->
        	<table width="100%" border="0" cellpadding="0" cellspacing="0">
        	<tr>
        		<td width="100%"><smallfont color="#EEEEFF" class="thtcolor"><b>Thread</b></smallfont></td>
        		<td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="images/newthread.gif" border="0" alt="Post New Thread"></a></td>
        		<td><normalfont>&nbsp;&nbsp;</normalfont></td>
        		<td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
        	</tr>
        	</table>
        	<!-- /Thread nav and post images -->
        	</td>
        </tr>
        with:
        Code:
        <tr id="cat">
        	<td bgcolor="#8080A6" width="175" nowrap><smallfont color="#EEEEFF"><b>Author</b></smallfont></td>
        	<td bgcolor="#8080A6" width="100%">
        	<!-- Thread nav and post images -->
        	<table width="100%" border="0" cellpadding="0" cellspacing="0">
        	<tr>
        		<td width="100%"><smallfont color="#EEEEFF"><b>Thread</b></smallfont>&nbsp;&nbsp;$pagenav</td>
        		<td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="images/newthread.gif" border="0" alt="Post New Thread"></a></td>
        		<td><normalfont>&nbsp;&nbsp;</normalfont></td>
        		<td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
        	</tr>
        	</table>
        	<!-- /Thread nav and post images -->
        	</td>
        </tr>
        That will work for version 5 and 6 browsers, but not Netscape 4. If you care about Netscape 4, you need a bit more complicated solution.

        Comment


        • #5
          Super, Thanx a lot!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X