You need to sign in to do that
Don't have an account?
naveen 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>
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>
Hi Naveen,
Please see this article.
https://developer.salesforce.com/forums/?id=906F000000098etIAA
Thanks,
Gaurav