RSS Forums RSS
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1546 | Replies: 3
Reply
Join Date: Mar 2007
Posts: 2
Reputation: dananos is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dananos dananos is offline Offline
Newbie Poster

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

  #1  
Mar 19th, 2007
Originally Posted by WolfPack View Post
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 5:29 pm. Reason: URL snipped
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: NY
Posts: 195
Reputation: Dukane is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 15
Dukane's Avatar
Dukane Dukane is offline Offline
Junior Poster

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

  #2  
Mar 20th, 2007
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.
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 147
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 16
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  
Join Date: Jan 2007
Posts: 2,604
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 119
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

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

  #4  
Mar 20th, 2007
Put it in a frame or iframe.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:17 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC