DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008

    Web HTML for Links That Change Alot

    Hi guys,
    I am currently setting up an Intranet at the place I work. I know HTML pretty well, but I can't find a solution to this problem. We have tons of files on the server. On a couple of pages on the Intranet their are links that people can click on which will download those files or open the folder. The problem is, the links change almost weekly. What I want to do is put a static link on the actual page that will link to another page where the link changes. This is hard to explain, but basically, I want to have one page with all the links that can be updated.
    For example:
    I have page: "worddocs.htm" and "exceldocs.htm"
    On those pages I have links to: file:\\\\\Server\file.doc, etc.
    What I want to do is:

    <a href="REFRENCE PAGE.htm">Click Me to download WORDDOC</a>
    on worddocs.htm

    and on REFERENCE PAGE.htm,
    I want something that can see that the user is trying to find WORDDOC and redirect them there.

    Not sure if you'll understand, but it's worth a shot.
    The main point of this is that I want to put in all the links now, and have ONE page that I have to continually update instead of 100.

  2. #2
    Join Date
    Jan 2005
    So just create a downloads page, name it whatever you want, and put all the download links on it

  3. #3
    Join Date
    Feb 2008

    What I Did

    Thanks for the reply. I wound up having one page, with anchors at each link, then on the pages I wanted to display the file, I put an iframe with a src of: ref.htm#anchor and then it showed the page starting at that line. Works fine for what I wanted, but thanks anyway.

Similar Threads

  1. Replies: 0
    Last Post: 01-27-2006, 05:04 PM
  2. Create unique name html from web form
    By blah_59 in forum Web
    Replies: 0
    Last Post: 01-05-2006, 11:57 AM
  3. Give tips to build up a web.
    By Toms ng in forum Web
    Replies: 2
    Last Post: 06-12-2003, 03:58 AM
  4. yag's status report - Feb 7, 2002
    By Yair Alan Griver [MS] in forum .NET
    Replies: 4
    Last Post: 02-11-2002, 09:35 AM
  5. Replies: 0
    Last Post: 04-19-2001, 07:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center