Hyperlink Question

  • alamode
  • Professor
  • Professor
  • User avatar
  • Posts: 927
  • Loc: Pakistan

Post 3+ Months Ago

Yeah its me again, Another question :lol:

Just wanted to know that how do i create a Hyperlink to a heading on the same page? Like my page is getting a bit long so i want to have a menu on top of the page for each heading so that they can click on the heading and then it will automatically scroll down to the heading.. (Just like in wikipedia)..

How do i do this?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • natas
  • PHP Ninja
  • Proficient
  • natas
  • Posts: 308
  • Loc: AFK

Post 3+ Months Ago

You can do this with anchor tags. <a>

for the article that you want to link to, wrap it in an anchor tag and give it a name

Code: [ Select ]
<a name="example">Example Header</a>


Then to link to it from the top menu, simply use a link..

Code: [ Select ]
<a href="#example">Click here to see the example</a>
  • alamode
  • Professor
  • Professor
  • User avatar
  • Posts: 927
  • Loc: Pakistan

Post 3+ Months Ago

Thanks a ton :)
  • rickysmartin
  • Born
  • Born
  • rickysmartin
  • Posts: 2
  • Loc: delhi

Post 3+ Months Ago

<a href="http://yourdomain.com">your heading</a>


u have no need to write it on notepad ...just use the html editor dreamweaver.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

rickysmartin wrote:
<a href="http://yourdomain.com">your heading</a>


u have no need to write it on notepad ...just use the html editor dreamweaver.


I don't see any mention of notepad, WYSIWYG's, or any other type editor?
  • batmanm
  • Born
  • Born
  • batmanm
  • Posts: 1

Post 3+ Months Ago

Hi

Have anyone used web easy before to do scrips?

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 44 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.