homepage Welcome to WebmasterWorld Guest from 107.20.25.215
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Script for <iframe>
xposure




msg:1479586
 5:24 pm on Aug 22, 2005 (gmt 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.

-Scott

 

ControlZ




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

Use a Flash swf where you would normally put the iframe.

harita




msg:1479588
 7:28 am on Aug 28, 2005 (gmt 0)

try using CSS for the iframe tag. something similar to what u use to change the color of the main scroll bar.

skizm




msg:1479589
 11:17 am on Aug 28, 2005 (gmt 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;

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

Aitch




msg:1479590
 7:02 am on Aug 30, 2005 (gmt 0)
Try this: http://www.dynamicdrive.com/dynamicindex17/iframescroll.htm
Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved