By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,247 Members | 871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,247 IT Pros & Developers. It's quick & easy.

How to hide broken links?

P: n/a
Hi
I have an html file which links to word docs amongst other things; but
these files and their location may change periodically.
How can I adapt my html so that if the files do not exist, the links
are hidden i.e. how do I hide broken links?
Chris
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Chris Hemingway wrote:
Hi
I have an html file which links to word docs amongst other things; but
these files and their location may change periodically.
How can I adapt my html so that if the files do not exist, the links
are hidden i.e. how do I hide broken links?
Chris


This is not really a job for client-side technology. Much better to use a
server-side technology to retrieve a list of available files and generate
the required links.

You might be able to use the applet at <url:
http://www.galasoft-lb.ch/myjava/Web...Demo/Demo.html /> but it
requires that the files are served from the same domain as the page
loading the applet.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.