Go Back   Hardware Forums > Software Support Forums > Web Development

Reply
 
LinkBack Thread Tools
Old 30-06-2008, 07:48 PM   #1 (permalink) Top
Geek
 
m60dude5's Avatar
 
Join Date: Apr 2008
Posts: 92
Times Helpful: 4
My Mood: Pumped
Status: Offline

My Computer

Default 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:
Code:
<html>
<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.
Thanks

__________________
  Reply With Quote
Whats this? Ultra Flat Keyboard
Ultra Flat Keyboard
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
Dell £18.98 Free £18.98 In Stock Rated: 0 out of 5 - Number of votes: 0
Misco.co.uk £7.95 £2.34 £10.29 In Stock Rated: 4 out of 5 - Number of votes: 1351
IT247.com £12.69 Free £12.69 In Stock Rated: 4 out of 5 - Number of votes: 38
Old 30-06-2008, 08:25 PM   #2 (permalink) Top
Geek
 
m60dude5's Avatar
 
Join Date: Apr 2008
Posts: 92
Times Helpful: 4
My Mood: Pumped
Status: Offline

My Computer

Alright, I've been trying some stuff out, and this is what I did. I'm not sure if it's the best option or not, but let me know.
I made one page called reference.htm and made anchors like this:

Code:
<a name="#link1"><table....></a>
Then on the main page, where I want the download link, I put:
Code:
<iframe src="reference.htm#link1"></iframe>
I put all the downloads on there, but the page only shows that anchor as it should. It works, but let me know if there is a better way.
__________________
  Reply With Quote
Old 30-06-2008, 10:05 PM   #3 (permalink) Top
Administrator
 
Sniper's Avatar
 
Join Date: Oct 2001
Age: 24 Male
Posts: 4,382
Times Helpful: 114
My Mood: Meh
Status: Offline

My Computer

If you'r going to manage 1000s of links, it would be best to use a link indexing script from Hot Scripts :: The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can HTML do this? zeus Web Development 3 26-02-2007 10:45 PM
i need alot of help wcc17 Video Cards, Displays and TV Tuners 2 29-01-2007 01:02 AM
yall i need alot of help erythnul General Hardware 4 21-03-2005 08:17 AM
Bad html Sniper HWF Info & Issues 3 25-10-2001 09:36 PM


All times are GMT +1. The time now is 04:52 PM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved