Web Design Forum  
 
Go Back   Web Design Forum > Web Software > Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-05-2005, 12:01 PM   #1 (permalink)
New Member
 
Join Date: Aug 2005
Location: Area 51
Posts: 7
Question iframe customisation

Hey

Is there a way to customise the look of scroll bars and arrows when using inline frames? Needs to be compatible with the top browsers.

Thanks in advance
CH1LL1 is offline   Reply With Quote
Old 08-05-2005, 12:39 PM   #2 (permalink)
Diamond Member
 
StephanieCordray's Avatar
 
Join Date: Dec 2004
Location: Nashville TN
Posts: 1,017
Send a message via ICQ to StephanieCordray Send a message via MSN to StephanieCordray
Default

I've never done it before but i would think it would be as simple as changing the look of the browser window's scrollbar considering that an iframe is basically a page within a page.
StephanieCordray is offline   Reply With Quote
Old 08-05-2005, 03:24 PM   #3 (permalink)
New Member
 
Join Date: Aug 2005
Location: Area 51
Posts: 7
Default

ah, can anyone tell me how to do this please?
CH1LL1 is offline   Reply With Quote
Old 08-05-2005, 04:46 PM   #4 (permalink)
Diamond Member
 
StephanieCordray's Avatar
 
Join Date: Dec 2004
Location: Nashville TN
Posts: 1,017
Send a message via ICQ to StephanieCordray Send a message via MSN to StephanieCordray
Default

<style
type="text/css"> body { scrollbar-arrow-color: ffffff; scrollbar-base-color:ffffff;
scrollbar-dark-shadow-color: ffffff; scrollbar-track-color: ffffff; scrollbar-face-color:
ffffff; scrollbar-shadow-color: ffffff; scrollbar-highlight-color: ffffff; scrollbar-3d-light-color:
ffffff; } </style>

change the colors to suit your site and there you have it.
StephanieCordray is offline   Reply With Quote
Old 08-05-2005, 08:22 PM   #5 (permalink)
New Member
 
Join Date: Aug 2005
Location: Area 51
Posts: 7
Default

thanks, but can you make it so the bar dissapears, so you just have an arrow at the top and bottom? Or does this involve different coding? Two nice graphical arrows would be sweet.

CH1LL1 is offline   Reply With Quote
Old 08-05-2005, 10:35 PM   #6 (permalink)
Diamond Member
 
StephanieCordray's Avatar
 
Join Date: Dec 2004
Location: Nashville TN
Posts: 1,017
Send a message via ICQ to StephanieCordray Send a message via MSN to StephanieCordray
Default

do a web search for scrollbar scripts, I'm sure you'll find something, :-)
StephanieCordray is offline   Reply With Quote
Old 08-07-2005, 05:22 AM   #7 (permalink)
Silver Member
 
Chroder's Avatar
 
Join Date: Aug 2004
Location: Toronto, Ontario
Posts: 194
Send a message via MSN to Chroder
Default

scrollbar CSS only works in IE AFAIK (unless other browsers have started to support this ludicrous non-standard, but Mozilla doesn't).

What you want to use is Javascript. Check out the scrollers section on DynamicDrive. They have a few examples.
__________________
Chroder.com - My Blog
Chroder is offline   Reply With Quote
Old 08-08-2005, 12:23 PM   #8 (permalink)
New Member
 
Join Date: Aug 2005
Location: Area 51
Posts: 7
Default

Thanks, plenty of tasty Java on that site. I think that's the way to go.
CH1LL1 is offline   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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:52 PM.


Computer Forum - Internet Business - Webpage Design

 
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.