Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Jun 27th, 2017, 05:32am


Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Google
Dynamic Drive

The Staff
Roger
Dave
GIzzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Name and Website Highlights for Members List  (Read 2394 times)
Roger
Conforums Administrator


member is offline

Avatar

"Pure intentions, its about the journey, not particularly the end result."


Homepage PM

Gender: Male
Posts: 12606
xx Name and Website Highlights for Members List
« Thread started on: Dec 8th, 2003, 10:25pm »

Code submitted by Invaderjello.

Here is the Website Highlight
Code:
<script>

// Website in Members List Cell Highlight by Jello
var TD=document.getElementsByTagName("TD")

// Change Cellcolor to the color you want
var Cellcolor = '00ff00'
var URL = "";
for(t=0;t<TD.length;t++)
if(location.href.indexOf('?action=ml')!=-1) {
if(TD[t].innerHTML.match(/action=viewprofile/i) && TD[t].className=="windowbg" && TD[t+5].innerHTML.match("boardimages/bar.gif")){
TD[t+2].onmouseover=function(){this.style.backgroundColor=Cellcolor; this.style.cursor='hand'};
TD[t+2].onmouseout=function(){this.style.backgroundColor=this.bgColor};
if(TD[t+2].innerHTML.match(/http:\/\//i)){TD[t+2].onclick=function(){location = this.getElementsByTagName("A")[0].href}}
}
}
</script> 
 


And the Name Highlight
Code:
<script>

// Name in Members List Cell Highlight by Jello
var TD=document.getElementsByTagName("TD")

// Change Cellcolor to the color you want
var Cellcolor = '00ff00'

for(t=0;t<TD.length;t++)
if(location.href.indexOf('?action=ml')!=-1) {
if(TD[t].innerHTML.match(/action=viewprofile/i) && TD[t].className=="windowbg" && TD[t+5].innerHTML.match("boardimages/bar.gif")){
TD[t].onmouseover=function(){this.style.backgroundColor=Cellcolor; this.style.cursor='hand'};
TD[t].onmouseout=function(){this.style.backgroundColor=this.bgColor};
TD[t].onclick=function(){location = this.innerHTML.split("\"")[1]}
}}
</script> 
 


Both go in your main footers... just change the Colors for both to match
« Last Edit: Dec 9th, 2003, 3:15pm by Dave » User IP Logged

Roger Sutton
User Image
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls