HighDots Forums  

How to create hyperlink that appears only if the target file is present?

alt.discuss.html alt.discuss.html


Discuss How to create hyperlink that appears only if the target file is present? in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The Dana's
 
Posts: n/a

Default How to create hyperlink that appears only if the target file is present? - 02-02-2005 , 07:10 PM






I need to create a static HTML file that runs only on the local client PC.

On the page (say PageA.htm), I would like for a hypelink to another page
(Page B) to appear ONLY if the target file the hyperlink references is
present (PageB.htm).

So If I'm viewing page A, and Page B is present, then I want a hyperlink to
show up on Page A to navigate to Page B.

If Page B is not present, then no hypelink would appear for Page B.

Can someone post some code that does this?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.