View Full Version : Scrollable Iframe - from left to right?
10-14-2004, 09:19 PM
I found this script on DD and i was very glad i did.
However, I'd like to use it, but instead of scrolling up/down I
would like it to scroll left/right. I tried to change some lines in
but nothing special happened.
Now, if anyone want to help me I'd be very happy.
10-18-2004, 08:56 PM
I'll take a look at possibily creating a 2nd version of this script that scrolls from left to right. Nothing definitive yet, however.
10-18-2004, 11:44 PM
I'd love this script as well!
10-19-2004, 04:04 AM
Ok, I've been thinking about such a script, and practically, it might not be a very useful script. The content will need to be horizontal, meaning you'll need to set up rather messy table cells to each contain a piece of content that will be shown. Without these table cells, the text would just run the entire length of the hidden horizontal scrolling area- not pretty. Now, if the goal is to use a left right scrolling iframe just to display images, then no table cells are necessary, as each image creates its own height.
@ddadmin: what about the left-right script? i'm looking for such a script. are there any news? thanks for response...
If you are looking for something that looks like this scroller at the bottom:
You may use the following code:
<div style="width:640px; height:160px; overflow:auto;" align=left>
content goes here, but as ddadmin said, it should be restricted in height
If you look for something like this code of scrolling left/right:
http://www.globalvillage.ae/main.php (overview/general information to see scrollable content)
Then I will give you the code, but it's customized now, so I will have to strip down few things.
no i'm looking for something more complicated. the scrollable content should scroll only when you put your mouse on an left/right button.
where do I have to change this code?
Find the line which says "window.scrollBy(0,speed)", and replace it with "window.scrollBy(speed,0)". It's in the code...
07-19-2010, 11:45 AM
Its not working in Google Chrome.
Can some one help?
Thanks and regards,
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.