javascript question

  • Thread starter Thread starter elgato
  • Start date Start date
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
 
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.
==============================================
 
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
 
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.
==============================================
 
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.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top