Question : Can I define a document root in html for all the anchors on a page?

My company sends business e-mail alerts that are specific to a company that subscribes to our services. For example, an executive might want an e-mail once per day listing all the checks that were written over $5,000.00. When we construct the e-mail, each check number is a hyperlink so that when clicked, he/she can view the check (after authenticating of course).

As it stands now, each anchor/href has to have the full and absolute path to the document which makes the e-mail quite voluminous. I want to be able to define the document root once, and then have the check numbers be relative to the defined root.

I would be open to a simple, SMALL bit of javascript code if it cut downs on the a href tags. But then again, some mail agents might not like seeing the javascript in the html mail. So perhaps there is another way?

Thanks!

Answer : Can I define a document root in html for all the anchors on a page?

Question PAQ'd, 500 points not refunded, and stored in the solution database.
Random Solutions  
 
programming4us programming4us