Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / February 2007



Tip: Looking for answers? Try searching our database.

making a scroll bar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
isaac2004 - 28 Feb 2007 05:02 GMT
hi am making a webpage for a client that has a lot of text on thier
site, i have a photoshop template that i created and i want the text
to fit in a small part of  template, can anybody point me in the
direction of a quick scroll bar that doesnt have any bells and
whisltes, thanks for the help
Randy Webb - 28 Feb 2007 05:30 GMT
isaac2004 said the following on 2/28/2007 12:02 AM:
> hi am making a webpage for a client that has a lot of text on thier
> site, i have a photoshop template that i created and i want the text
> to fit in a small part of  template, can anybody point me in the
> direction of a quick scroll bar that doesnt have any bells and
> whisltes, thanks for the help

Maybe you have heard of this new phenomenon in the world of web design
called CSS? overflow: scroll

comp.infosystems.www.authoring.stylesheets

<div style="overflow:scroll;width:200px;height:200px">
Some very long content here that you would need enough
to cause more than 200 pixels square to be required to
display it. After doing that, save your file and view
it in a browser. The results might surprise you. You might
also want to be honest enough with your clients to tell
them that they need a new web author as the one they
currently have is incapable of the job.
</div>

Signature

Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

isaac2004 - 28 Feb 2007 06:38 GMT
wow i am a newb, thanks though
Richard Maher - 28 Feb 2007 09:58 GMT
Hi Randy,

> Maybe you have heard of this new phenomenon in the world of web design
> called CSS? overflow: scroll

Do you have a web reference somewher that has the latest tag-options with a
description of each? I am a newbie too and have been looking up the list on
the w3schools website and couldn't see anything about "overflow" options. My
sarcasm meter says you were inferring that this was not a new option so a
pointer to the latest and greatest docs would be much appreciated.

But while I'm here; how do you get rid of the bottom scroll bar?

Regards Richard Maher

PS. Also, an an exception thrown by a Java applet method be caught by a
Javascript try/catch?

> isaac2004 said the following on 2/28/2007 12:02 AM:
> > hi am making a webpage for a client that has a lot of text on thier
[quoted text clipped - 17 lines]
> currently have is incapable of the job.
> </div>
ASM - 28 Feb 2007 10:36 GMT
Richard Maher a écrit :
> Hi Randy,
>
[quoted text clipped - 3 lines]
> Do you have a web reference somewher that has the latest tag-options with a
> description of each?

Not the last but most used (CSS2) (1998) :
In french :
http://www.yoyodesign.org/doc/w3c/css2/indexlist.html
In English :
http://www.w3.org/TR/1998/REC-CSS2-19980512/indexlist.html
To put in favorites (and in a button in favorites bar)

Signature

Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date

Dag Sunde - 28 Feb 2007 10:45 GMT
> Hi Randy,
>
[quoted text clipped - 7 lines]
> this was not a new option so a pointer to the latest and greatest
> docs would be much appreciated.

You have to look better, then:
http://www.w3schools.com/css/css_positioning.asp

> But while I'm here; how do you get rid of the bottom scroll bar?

The scrollbars behaves differently in different browsers (unfortunately)

> PS. Also, an an exception thrown by a Java applet method be caught by
> a Javascript try/catch?

Not directly, no.

Catch the exception in java, and return the condition to your JS
in a controlled way.

Signature

Dag.

Randy Webb - 28 Feb 2007 14:31 GMT
Richard Maher said the following on 2/28/2007 6:00 AM:
> Hi Randy,
>
[quoted text clipped - 3 lines]
> Do you have a web reference somewher that has the latest tag-options with a
> description of each?

<URL: http://www.w3.org/Style/CSS/> although it is what I would call a
good reference for a beginner.

> I am a newbie too and have been looking up the list on
> the w3schools website and couldn't see anything about
> "overflow" options.

I have never been a fan of the w3schools site either. I have taken the
JS test there several times to see if it has changed in quality and it
hasn't. It typically has between 4 and 8 incorrect answers out of 20
questions. So I am not sure if w3schools has a decent CSS side or not.
You could try asking in news:comp.infosystems.www.authoring.stylesheets
about a tutorial or reference page.

> My sarcasm meter says you were inferring that this was not
> a new option so a pointer to the latest and greatest docs
> would be much appreciated.

Yes, it was extreme sarcasm. overflow: setting has been around for a
very long time. The sarcasm got injected by having a client and being
unable to come up with something as simple as a scrollbar.

> But while I'm here; how do you get rid of the bottom scroll bar?

As has already been pointed out in another reply, it depends on the
browser and how it decides to handle scrollbars.

> Regards Richard Maher
>
> PS. Also, an an exception thrown by a Java applet method be caught by a
> Javascript try/catch?

No, JS can only catch JS errors.

Signature

Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.