•
•
•
•
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 402,372 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,059 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
Views: 1436 | Replies: 3
![]() |
| |
•
•
Join Date: Mar 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Feared as much.Guess the only option is to copy it to notepad and view it there. :cheesy:
Thanks Dani. :thumbs up:
Hey, anybody know any javascript for scrolling a page up to the top?, I know I could use <a href=#> links - but I guess theres a neater way??
PM ME!
Last edited by happygeek : Mar 19th, 2007 at 4:29 pm. Reason: URL snipped
What is the problem? And PMing doesn't support the idea of community-based support.
Anyway, there is a way to put scroll-bars around a grouping of text. Look up a CSS reference on this. It can be done with CSS. I can't recall how to do it off the top of my head.
Anyway, there is a way to put scroll-bars around a grouping of text. Look up a CSS reference on this. It can be done with CSS. I can't recall how to do it off the top of my head.
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
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
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
Http//www.Katarey.com
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
access activation ajax api asp blogger blogging blogs code combo dani daniweb data debugging developer development dreamweaver dropdownlist firefox gdata google gpl home html innovation internet javascript key linux microsoft module msdn net news office openbsd product programming reuse rss serial site software source sql tags vista web wysiwyg xml
- Java Text Editor (Scroll Bars) (Java)
- Listboxes and scroll bars (Visual Basic 4 / 5 / 6)
- Bottom of Firefox/IE (HTML and CSS)
- Scroll Bars for the [Code][/Code] Tagged Portion (DaniWeb Community Feedback)
- pseudo code to code difficulties (C++)
- Please anyone help tweak my code The code tags are around it now (Java)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Image Rollover code
- Next Thread: Javascript functions problem

Guess the only option is to copy it to notepad and view it there. :cheesy: 

Hybrid Mode