function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
naveen reddy 68naveen reddy 68 

Question on hyperlinks

In my visual force page i have two links .
1) when click on the link it color should be changed.when i click on the other link it should be same color.
here is my code
<apex:page >
<apex:form >

<apex:outputLink value="https://c.ap7.visual.force.com/apex/samepage" target="theIframe" styleClass="MyLinks">Click me!</apex:outputLink><br>
<apex:outputLink value="https://ap7.salesforce.com/06628000008FTBh">Visualforce!</apex:outputLink></br>

</apex:form>
</apex:page>
GauravGargGauravGarg

Hi Naveen,

Please see this article. 

https://developer.salesforce.com/forums/?id=906F000000098etIAA

Thanks,

Gaurav