javascript question

E

elgato

Does anyone know where I could find a JavaScript code that will allow me to
create and use my own scroll bars and arrows (just gifs anyway).
I am using an IFRAME with scrollable text and would like to replace the
default ones with some I want to create. I have seen it many times but
haven't been able to figure out how to do it.

Thanks in advance
 
T

Thomas A. Rowe

You can create custom scrollbars when working with layers, not when using the IFrame.

Example:
http://www.webreference.com/dhtml/column23/NSscrGifs.html
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
E

Emmy

Sorry, instead of Reply group I clicked on Reply personally
Here is my post again
--------------------------------------
Try placing this code between the <head> and </head> tags of the html page
that shows inside the Iframe

<STYLE TYPE="text/css"><!--
BODY {
scrollbar-arrow-color:#000000;
scrollbar-track-color:#FFFFFF;
scrollbar-shadow-color:#000000;
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-3dlight-color:#000000; }
//-->
</STYLE>

You can change the colors as you wish
This is CSS and not javascript, but it works fine, if I understand what you
were asking for.
Let me know if it helps you
Emmy
 
T

Thomas A. Rowe

Body content is being loaded into an IFrame, however the IFrame scrollbars are turned off, as well
as the frame border. The pages that are being loaded into each IFrame has the scrollbars enabled via
CSS / Layers on the individual pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
E

elgato

Great! Thanks for the info.


Thomas A. Rowe said:
Body content is being loaded into an IFrame, however the IFrame scrollbars are turned off, as well
as the frame border. The pages that are being loaded into each IFrame has the scrollbars enabled via
CSS / Layers on the individual pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Top