Feared as much. :sad: 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!

Recommended Answers

All 3 Replies

Member Avatar for Dukane

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.

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

<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>

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


Regards,
Rahul Dev

Put it in a frame or iframe.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.