Scrolling and Zooming

2 posts, 0 answers
  1. Christian
    Christian avatar
    3 posts
    Member since:
    Jun 2009

    Posted 20 Jul 2009 Link to this post


    I would like to control with a slider a kind of chain. I would like to place a number of div-elements from left to right. Each div contain a picuture and a link and text. With the slider I want to be able to slide the different divs along the chain. Lets assumme the chain will contain 6 divs then i want to be able to see 3 of them on one time. I want to see div1, div2, div3. If i slide to the right i would like to see div2, div3, div4 and so one. Deepending on the zoom level I also want to be able to see more or less then 3 div-elements. 
    I need a div-element because i want to change the background color of the different div-element according to events.

    Does anyone have an idea how I can develop such a control?

    I appreciate every help.


  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 22 Jul 2009 Link to this post

    Hello Christian,
    Please refer to our Custom Scrollbar online demo - It demonstrates how you can use the RadSlider control in order to slide a DIV element.

    I am not sure how you intend to change the zoom level. However, basically, when you change the zoo
    m level, you should simply change the size of the viewport element - the "boxes_wrapper" element in the Custom Scrollbar demo.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top