Switch style class in hyperlink

View: New views
1 Messages — Rating Filter:   Alert me  

Switch style class in hyperlink

by patudzu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I just want to switch my link's class according to a Id request from URL.

<a href="/sitecartao/?menuid=65" class="cartao">cartão</a>


I'm using Netbeans.

Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1252; pt_PT (nb)

What is the best method to achieve this?

I've tryed to drag a hyperlink but Netbeans creates too much code and I cant give the class attribute to the "<a" tag.

Thanks for any help.

http://www.FranciscoCampos.com