User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 423,550 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,911 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Re: Scroll Bars for the [Code][/Code] Tagged Portion

Join Date: Jul 2005
Location: india
Posts: 146
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 15
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Help Re: Scroll Bars for the [Code][/Code] Tagged Portion

  #3  
Mar 20th, 2007
Hi there,

Well, i am view the anchor is the best way to go on the top or any specific location on page, that is the neat way

The Anchor object represents an HTML hyperlink.

or each instance of an <a> tag in an HTML document, an Anchor object is created.

An anchor can be used to create a link to another document (with the href attribute) or to create a bookmark inside a document (with the name attribute).

Here is the example code, to see the use of Anchor
[HTML]
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" height="500" valign="top"><a name="top"> Top </a></td>
<td width="150" valign="bottom"><br />
<a href="#Top">Go To Top</a><br />
<a href="#Anchor1">Go To Anchor 1</a><br />
<a href="#Anchor2">Go To Anchor 2</a><br />
<a href="#Anchor3">Go To Anchor 3</a><br />
<br />
</td>
</tr>
<tr>
<td width="200" height="500" valign="top"><a name="Anchor1">Anchor 1</a></td>
<td width="150" valign="bottom"><br />
<a href="#Top">Go To Top</a><br />
<a href="#Anchor1">Go To Anchor 1</a><br />
<a href="#Anchor2">Go To Anchor 2</a><br />
<a href="#Anchor3">Go To Anchor 3</a><br />
<br />
</td>
</tr>
<tr>
<td width="200" height="500" valign="top"><a name="Anchor2">Anchor 2</a></td>
<td width="150" valign="bottom"><br />
<a href="#Top">Go To Top</a><br />
<a href="#Anchor1">Go To Anchor 1</a><br />
<a href="#Anchor2">Go To Anchor 2</a><br />
<a href="#Anchor3">Go To Anchor 3</a><br />
<br />
</td>
</tr>
<tr>
<td width="200" height="500" valign="top"><a name="Anchor3">Anchor 3</a></td>
<td width="150" valign="bottom"><br />
<a href="#Top">Go To Top</a><br />
<a href="#Anchor1">Go To Anchor 1</a><br />
<a href="#Anchor2">Go To Anchor 2</a><br />
<a href="#Anchor3">Go To Anchor 3</a><br /></td>
</tr>
</table>
[/HTML]

you can find more from here
http://www.w3schools.com/tags/tag_a.asp


Regards,
Rahul Dev
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
All times are GMT -4. The time now is 6:05 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC