This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

links in the same page

 
sushant prabhu
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody

How do i provide links to a section of a page from the same page.
say from the top of page a link to the bottom of the page.
How do i identify that particular bottom section of the page.
and use it as a link above in the same page.
suppose i have provided links to a separate page. how do i force that particular page on a different browser window.
and how do i control the size of that particular new window .
 
prabhatis
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First start with the spot you want people to be transported to. Pick a word and wrap it in the <A> tags.
<A>Add</A> the URL and you're done!

--------------------------------------------------------------------------------
Next give that spot a NAME.
<A NAME="upabit">Add</A> the URL and you're done!
What you have done is marked that spot. Now it can be referenced.

--------------------------------------------------------------------------------
Now start building the link.
Click <A>here</A> to be magically transported...

--------------------------------------------------------------------------------
Add the document to be referenced...
Click <A HREF="lesson04.html">here</A> to be magically transported...

--------------------------------------------------------------------------------
And lastly, add the anchor NAME like so...
Click <A HREF="lesson04.html#upabit">here</A> to be magically transported...
And that's all there is to it! Not exactly brain surgery is it??
 
maha anna
Ranch Hand
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sushant,
A related discussion is at :
http://www.javaranch.com/ubb/Forum7/HTML/001318.html
regds
maha anna
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic