Welcome to WebmasterWorld Guest from 54.167.155.147

Forum Moderators: open

Message Too Old, No Replies

Script for <iframe>

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

5+ Year Member



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.

-Scott

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

10+ Year Member



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

5+ Year Member



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)

5+ Year Member



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;

Body
{
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.

cheers!
-chris

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

10+ Year Member


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