HighDots Forums  

Customising layer scroll bars

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Customising layer scroll bars in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
KJo webforumsuser@macromedia.com
 
Posts: n/a

Default Customising layer scroll bars - 11-18-2003 , 10:44 AM






Hi

I am adding a vertical overflow scroll bar to a layer. I wonder if it is possible to customise the appearance of a scroll bar? If so, how might I go about it? I also seem to get a disabled horizontal scroll bar, is there anyway to get rid of this?

Many thanks.



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Customising layer scroll bars - 11-18-2003 , 10:18 PM






KJo:

Layers don't take kindly to scroll bars, and using them will cause you to
give up a large chunk of browser support.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"KJo" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi

I am adding a vertical overflow scroll bar to a layer. I wonder if it is
possible to customise the appearance of a scroll bar? If so, how might I go
about it? I also seem to get a disabled horizontal scroll bar, is there
anyway to get rid of this?
Quote:
Many thanks.





Reply With Quote
  #3  
Old   
Marja Ribbers
 
Posts: n/a

Default Re: Customising layer scroll bars - 11-19-2003 , 03:23 AM



Adding scrollbars to layers is not supported by many browsers. Using a DHTML scroller is a better idea for things like this.

Check out Scroller Genie (a commercial DHTML scroller) at http://www.dmxzone.com/showDetail.asp?NewsId=4952
Among other things, it allows you to choose from 14 predefined scroller designs, but you can easily use your own custom scroll control graphics as well.

--
Marja Ribbers-de Vroed

Company website:
www.flevooware.nl
Dreamweaver extensions:
www.flevooware.nl/dreamweaver/

Reply With Quote
  #4  
Old   
KJo webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Customising layer scroll bars - 11-19-2003 , 06:33 AM



Murray: Which browsers do/don't support layer scroll bars? Is there a better way of having a large volume of text contained in a small area controlled by scroll bars? I prefer not to use frames.

Marja: I'm new to dreamweaver and dhtml. Why would a commercial dhtml scroller be more likely to be supported by browsers?

Thanks to you both for your help so far.




Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Customising layer scroll bars - 11-19-2003 , 07:56 AM



KJo:

Netscape4x will not put scrollbars in layers, and the Mac seems reluctant to
do it properly, as I recall. Anyhow, scrolling content is usually overused
anyhow since it prints poorly and is often a chest-thump rather than a
really useful page element (in my opinion).

A dHTML scroller will work because it depends only on javascripting to move
layers, i.e., there is no 'scrolling' at all. What is happening is that a
layer under another layer is being moved below the upper layer's clip
region. Content in the layer below that falls outside of the clip area is
hidden as a result, and the appearance is as if the content was 'scrolling'.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"KJo" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray: Which browsers do/don't support layer scroll bars? Is there a
better way of having a large volume of text contained in a small area
controlled by scroll bars? I prefer not to use frames.
Quote:
Marja: I'm new to dreamweaver and dhtml. Why would a commercial dhtml
scroller be more likely to be supported by browsers?

Thanks to you both for your help so far.





Reply With Quote
  #6  
Old   
Al Sparber- PVII
 
Posts: n/a

Default Re: Customising layer scroll bars - 11-19-2003 , 01:15 PM




"KJo" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray: Which browsers do/don't support layer scroll bars? Is there a
better way of having a large volume of text contained in a small area
controlled by scroll bars? I prefer not to use frames.
Quote:
Marja: I'm new to dreamweaver and dhtml. Why would a commercial dhtml
scroller be more likely to be supported by browsers?

Thanks to you both for your help so far.
While only version 5 and higher browsers support scrollbars in "Layers", you
can still create them. What will happen is that browsers that support the
technique will display scollbars, browsers that don't will display the
entire content without scrollbars. The only browser of any measurable
distribution that would not display the scrollbars would be Netscape 4...
but all the content will be displayed.

To try it, you can set up a DIV. The DIV can be anywhere on your page...
even inside a table cell. Here is an example in a table cell

<td <div id="scrolldiv1">
All content in this area will scroll if it needs to. Add more content here
to test it.
</div></td>

Then this style governs it:

#scrolldiv1 {
padding: 12px;
height: 250px;
overflow: auto;
}


--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Extensions - DesignPacks - Tutorials - Books
---------------------------------------------------------------------
The PVII Newsgroup | news://forums.projectseven.com/pviiwebdev
The CSS Newsgroup | news://forums.projectseven.com/css
---------------------------------------------------------------------






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.