SEARCH:
Previous: hLinkPageRow Next: hLinkPopup

hLinkFromStub

string CSS_Class
string Caption
string Extra


This routine is useful when you need to make a lot of links that will be very similar. First you assign a default or 'stub' hyperlink by using vgaSet to assign a value to 'hLinkStub'.

When hLinkFromStub is called, it adds the value of 'hLinkStub' to the href for the link it returns.

The first parameter is an Optional CSS Class. The value of the "href" is made by combining the Global Variable 'hLinkStub' to the value passed in.

This routine strips a leading '&' or '?' from the HREF passed in, and then prepends an appropriate '&' or '?'.

Previous: hLinkPageRow Next: hLinkPopup