Use of link, alink, and vlink - need "good" example for my APEX app

Hi anyone,
I have a report with values in the "Last Name" column that links to another page (page 4) that opens when any last name in the said column is clicked on. However, before the last name link is clicked on its color is blue; but I want the link color to change to green after it is clicked on and the linked page opens; and I want the link to change to purple after the linked page is closed (visited link). Can someone provide a simple step by step example of how I can implement this in my app.
I tried looking at some posts that are similar but I am somewhat confused.
Thanks in anticipation for any assistance.
Ric

Hi Ric,
This can be done by using CSS styles. There are several ways of accomplishing this.
If you want ALL links on your page to use the same colors put something like this in the HTML header of your page:
<style>
a:link    { color:blue; }
a:visited { color:purple;}
a:active  { color:blue;}
a:hover   { color:blue; }
</style>This allows you to define the colors for the four different states of a link.
If you want specific links to use this coloring and not affect other links on your pages, you'll have to add a class to the styles (you can choose your own classname of course):
<style>
.custom_link a:link    { color:blue; }
.custom_link a:visited { color:purple;}
.custom_link a:active  { color:blue;}
.custom_link a:hover   { color:blue; }
</style>Next, add the classname to the link attributes in your report.
class="custom_link"Hope this helps...
Rob

Similar Messages

Maybe you are looking for

  • Can't modify line item text in financial document

    Dear all, In some cases I'm not able to modify line item text field in financial documents, and I don't know why. I've checked customizing and BSEG-SGTXT appears as modificable field in any case. As far as i know text field is not a relevant field, s

  • Which Mac should i get?

    I have just started to get into iSO App development. I mostly create websites so I'm thinking about taken that knowledge over to iSO. Basically I would be making simple light weight apps, no games or anything like that. So my question is which would

  • Printing  3 at a time in PL 36

    Hi Experts, We are facing the issue regarding printing which is not printing 5 at a time. Print Settup had assigned in: PLD-> Document Properties-> Number of copies 5. In  PL26 only its not printing .. Can any one give  the solution regarding this is

  • Program that can preview ai files in windows?

    Anyone know of how i can preview ai, psd and indd files in windows? (NOT BRIDGE) I'm slowly losing my mind sorting out files!

  • How do I get what does the function does.

    Hello. I want to get what the function actually does like in javascript: object.onmouseout what has hot a result of this: function anonymus() { what ever the function does but in flash I tried to use this: object.onEnterFrame but I get this [type Fun