Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 02-11-2010, 11:39 AM External Link List
Junior Talker

Posts: 2
Name: Robyn
Trades: 0
Hello. This is my first post here, and I hope someone will be able to help me.

I'm working on a website for a client.
They have a list of links on the side of their website and they want to be able to update one page (or external file) and all the links on all the pages are therefore updated - without having to edit each and every page.

I know there is a way to do this with PHP, but that is not what I need.

HTML, JAVA and CSS only.


If anyone knows a solution, it would be much appreciated.
komadorikai is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-11-2010, 11:50 AM Re: External Link List
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
HTML, JAVA and CSS only.
In that case. There isn't one.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-11-2010, 12:33 PM Re: External Link List
Junior Talker

Posts: 2
Name: Robyn
Trades: 0
Ok, thanks.

Any idea if there is a solution with ASP?
komadorikai is offline
Reply With Quote
View Public Profile
 
Old 02-11-2010, 12:42 PM Re: External Link List
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.candsdesign.co.uk/article.../asp-includes/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-15-2010, 09:57 AM Re: External Link List
Skilled Talker

Posts: 90
Location: Iowa
Trades: 0
If I understand you right, what you can do is load the code for the page, remove the content that would be different on each page and save it as a template leaving everything that would be the same.
__________________

Please login or register to view this content. Registration is FREE
Christian Hosting and Design

Please login or register to view this content. Registration is FREE
mcorton is offline
Reply With Quote
View Public Profile Visit mcorton's homepage!
 
Old 02-15-2010, 03:28 PM Re: External Link List
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
That just about sums it up, yes.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-15-2010, 03:48 PM Re: External Link List
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
if your doing java, You could possibly put the links in a .js file on the server and have all pages load that .js file.

Ie:
<script src="links.js">

Then in scripts.js

You could have.

//JSdoc.

document.write('<a href="http://google.com">Google</a><br>');
document.write('<a href="http://google.com">Google</a><br>');
document.write('<a href="http://google.com">Google</a><br>');
document.write('<a href="http://google.com">Google</a><br>');
document.write('<a href="http://google.com">Google</a><br>');
document.write('<a href="http://google.com">Google</a><br>');
document.write('<a href="http://google.com">Google</a><br>');
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 02-16-2010, 07:20 AM Re: External Link List
Experienced Talker

Posts: 39
Trades: 0
I use Smarty PHP, so it's easy to pull in a particular tpl onto a number of pages, allowing for quick global changes. However, if you use Dreamweaver, you can create templates for HTML that allow similar global changes.

So, for all pages that need that information, create the template with your left column as uneditable and all other sections as editable.

Change content on all pages to your heart's content in all the editable sections. When you need to update the links, you go back to the (single) template and update the links.

But you must apply the changes to all your HTML pages using that template and re-upload them to your site before they are updated.

Is that what you were looking for? I think this is what mcorton was referring to.
__________________
The truth is more important than the facts. Frank Lloyd Wright
__________________________________________________ _________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
byte4byte is offline
Reply With Quote
View Public Profile
 
Old 02-16-2010, 07:55 AM Re: External Link List
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by lynxus View Post
if your doing java, You could possibly put the links in a .js file on the server and have all pages load that .js file.

Ie:
<script src="links.js">

Then in scripts.js

You could have.
....
Yep you could do that

HOWEVER bear in mind that your navigation would be invisible to user agents and devices that were javascript disabled. Search engines being the on of the non-js UAs
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-16-2010, 08:30 AM Re: External Link List
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Quote:
Originally Posted by chrishirst View Post
Yep you could do that

HOWEVER bear in mind that your navigation would be invisible to user agents and devices that were javascript disabled. Search engines being the on of the non-js UAs

Fair point.

Probably not worth doing then.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Reply     « Reply to External Link List
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.05131 seconds with 12 queries