Advanced Search

Results 1 to 4 of 4

Thread: Iframe custom scrollbar left to right

  1. #1
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Iframe custom scrollbar left to right

    I was hoping someone could help me with a script. I have build a concept template and I wanna make use of iframes that only scroll from left to right (because I don't want to make long iframe pages, but wide ones)

    I want a custom scrollbar with two buttons one left and one right plus a sliding bar.

    I would like to use my own graphics instead of a default scroller that is provided by a browser.

    Many thanks in advance for any help you can provide

    ps I have found a script for this but it scrolls up and down by using the code:
    <a href="#" onMouseover="scrollspeed=-2" onMouseout="scrollspeed=0"><img src="http://www.identityfashiononline.com/templates/cs1/icon.jpg" width="20" height="20" /></a> | <a href="#" onMouseover="scrollspeed=2" onMouseout="scrollspeed=0">Down</a>

    I tried to do a few things myself but I did not have the desired result.

  2. #2
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone able to help?
    Last edited by avelayna; 12-23-2009 at 08:21 PM.

  3. #3
    Join Date
    Aug 2009
    Posts
    11
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by avelayna View Post
    I want a custom scrollbar with two buttons one left and one right plus a sliding bar.

    I would like to use my own graphics instead of a default scroller that is provided by a browser.
    Ok, well for the scroll bar issue all that i know is that the changing of the scrollbar has to do with CSS, and can't be made to add a picture of any sorts. And if you do manage to manipulate it using CSS, it would only be viewable in internet explorer.

    and is the content in the iframe higher than the desired size for the iframe?

    also that line of code seems useless due to the fact that it's using anchor tags that you most likely dont have set up.
    Last edited by Chrismr3000; 12-25-2009 at 09:47 AM. Reason: typos

  4. #4
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your help. No the iframe is not higher than the table it is embedded in,it is slightly smaller. If I cannot use that scrollbar that is ok, if I can use just two arrow buttons that scroll that iframe from left to right, that is good too.

    I hope that can be done, it can for up and down so I hope for left and right too,

    Kind regards

    The code I put is just a small piece of it,that I found here: http://www.dynamicdrive.com/dynamici...amescroll.htm#

    I have the whole code applied to another page and that worked. I just meant it as a small example of what I wish to achieve,only instead of up and down now left and right, maybe that is just a slightly other script like maybe something like "onMouseover="scroll.left"=-2" I have tried a few things that way but it did not work.

    Many thanks for any help

    If it is going to work, one makes me a very happy girl!
    Last edited by avelayna; 12-25-2009 at 11:23 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •