This is a migrated thread and some comments may be shown as answers.

Scrolling and Zooming

1 Answer 49 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 20 Jul 2009, 11:54 AM
Hello,

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.

Cheers

Chris

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 22 Jul 2009, 08:24 AM
Hello Christian,
Please refer to our Custom Scrollbar online demo - http://demos.telerik.com/aspnet-ajax/slider/examples/customscrollbar/defaultcs.aspx. 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,
Tsvetie
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.
Tags
Slider
Asked by
Christian
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or