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 » dreamweaver.training - Anchors
dreamweaver.training - Anchors
Resolved · Low Priority · Version Standard
Simon has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course
Anchors
how do they work
RE: anchors
Hi Simon,
The term 'anchor' originally meant anything that the user can click on. That's why the <A> tag is that, it's short for anchor.
However, the term 'anchor' now usually refers to a 'bookmark' or place on the page that can be jumped to. You may be familiar with this if you've ever clicked on a link, and are taken to another part of the page. Or clicked on a 'back to top' link and be taken to the top of the page.
The way these are set up, are 'anchors' can be placed anywhere in the code. In Dreamweaver design view, they are shown as little yellow shields with an anchor in the middle. The code for an anchor looks like this:
<A NAME="products"></A> where 'products' can be substituted for a name or number more relevant to your page.
You would then have the ability to link to this anchor, also using the A tag like this:
<A HREF="#products">Click here to jump to products</A>
Note the use of the hash (#) which indicates to the browser that this is not a different web page, but an anchor on the current page.
You can have as many anchors as you like. Another tip is that if you link to simply a hash (#) like this:
<A HREF="#">Back to top</A>
the link will jump the visitor to the top of the page.
If you use the properties panel on Dreamweaver, you can simply type a hash and then the name of the anchor to link to an anchor. You can also use the target dragger, to click, drag onto an anchor (yellow shield) and let go.
I hope this helps you, Simon. And I hope you enjoy your Dreamweaver training with us today.
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 |