Question

I have a picture that is larger than the viewable area... and I need to add a scrollbar to the picture so that I can load the picture as per the scrollbar. I need to show the picture in a visual web part.

I cannot load the whole picture at once .. but load it in part with scrollbar as the control!!

I believe I need to use Ajax to load the picture and add scrollbar for it. I need to use visual web part and building a web part.

Was it helpful?

Solution

Why don't you use jquery:

Scroll to detect the page scrolling:

http://api.jquery.com/scroll/

Offset to determine page position:

http://api.jquery.com/offset/

Ajax Get to load the picture:

api.jquery.com/jQuery.ajax/

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top