98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Dreamweaver Training and help » web design training - How do you do it so that each link that you have made - automait
web design training - How do you do it so that each link that you have made - automait
Resolved · Low Priority · Version Standard
How do you do it so that each link that you have made - automait
Hi there,
Great idea for assisting previous students.
O.k so how do you do it so that each link that you have made - automatically updates when working on a another new page.
For example you create one page of links - later you use the same page to add differnts elements and this becoems page two - you then go back to page one and decide to make active a word that was not previously linked. You want the new link to also show up on page two at the same place without having to manually do this again on page two.
Is that possible?
Hope to hear from you soon
RE: how do you do it so that each link that you have made - auto
Here are two methods for achieving this, depending on your web site setup.
Templates
You could put all the links on one page and save the page as a template. You can then create pages from the template. All links will then automatically in place. This method is only useful if you want to change or ensure that the links appear on ALL pages.
Library items
If you want to create a group of links and then have those links appearing on multiple pages throughout your site, you could create a library item containing those links. Include the library item on all appropriate pages.
Library items can be found on the Dreamweaver assets panel.
Include files
Hi Jaytees,
If you are using PHP, ASP or nearly any other server side scripting technologies, another way of doing this is having an 'include' file.
So you might store all your links as HTML in my_links.htm
Then for .SHTML files, you have a line of code like this
<!--#include virtual="my_links.htm" -->
which will virtually import my_links.htm at the time users look at your web page.
For .PHP files, it would be similar to this
<?php include ("my_links.htm"); ?>
And from then on, you only ever have to update my_links.htm
Regards, Rich
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Dreamweaver tip:JumpMenu in new windowWhen inserting a jumpmenu to a page, the only option available for 'open in' is usually 'main window'. There would be other options available if the page was a frameset.
source: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16166& ;sliceId=1 |