Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Script for <iframe>

5:24 pm on Aug 22, 2005 (gmt 0)

New User

10+ Year Member

joined:Aug 22, 2005
votes: 0

Hello all.

I have an <iframe> in my document and don't want to use the traditional scroll bar (really messes up the design look). How can I go about putting an image in the document to hover over in order to scroll vertically? From my research up till now it appears that I must use a javascript.

Any help or suggestions would be appreciated.

<edit> Also, I tried to use search but it does not appear to be working ... so if there is a thread already, I am sorry. If you could point me to it that would be great.


5:47 am on Aug 26, 2005 (gmt 0)

Junior Member from US 

10+ Year Member

joined:Jan 27, 2003
votes: 0

Use a Flash swf where you would normally put the iframe.
7:28 am on Aug 28, 2005 (gmt 0)

New User

10+ Year Member

joined:Aug 27, 2005
votes: 0

try using CSS for the iframe tag. something similar to what u use to change the color of the main scroll bar.
11:17 am on Aug 28, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 14, 2005
votes: 0

Howdy Scott,

Ideally ya dont want to use iframes man. They just suck in general for a lot of reasons. I don't know of any ways javascript wise to accomplish the image hovering scheme you're wanting besides the suggestion of using flash controlz made.

Otherwise a quick work around that can help is using css to set the scrollbar attributes like;

scrollbar-face-color: #5A5A5A; scrollbar-shadow-color: #4F78D4;
scrollbar-highlight-color: #141E35; scrollbar-3dlight-color: #ffffff;
scrollbar-darkshadow-color: #414141; scrollbar-track-color: #3C5BA1;
scrollbar-arrow-color: #ffffff;

just alter the color values to suit your purpose and this will work atleast work in IE.



7:02 am on Aug 30, 2005 (gmt 0)

Inactive Member
Account Expired


Try this: http://www.dynamicdrive.com/dynamicindex17/iframescroll.htm