•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 403,584 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,147 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Put it in you footer at Admin CP->Board Wrappers, and underline will disappear for username links.
This code only makes sense when you have underline enabled for links in your CSS.
This code only makes sense when you have underline enabled for links in your CSS.
<script type='text/javascript' language='JavaScript'> <!-- var n, l; for (n = 0; n < document.links.length; n++){ l = document.links[n]; if (l.href.indexOf("showuser=") != -1){ l.style.textDecoration = 'none'; } }; // --> </script>
Comments (Newest First)
peter_budo | Code tags enforcer | Jun 5th, 2005
•
•
•
•
Don't see any point to do something like this with javascript, if you can simple do it in CSS
"text-decoration none".
"text-decoration none".
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)