Can the Scrollto plugin search within a separate div?

$(". Link"). Click(function() { // grab the href from the link, it should correspond with the ID of the element you want to scroll to var id = $(this).

Attr("href"); // tell your container to start scrolling to the element $("#yourDraggableContainer"). ScrollTo($(id), 800); // prevent default behaviour of links return false; }); jsFiddle: jsfiddle.net/Kat8t/10.

Ah, I wish I knew how to use jsfiddle... anyway this is the plugin.hitconsultants. Com/dragscroll_scrollsync/scrollpane. Html I want to be able to scroll to the light blue elements on a big background – chris Jun 23 at 20:32 ...also, imagine some blue elements are off-screen, and by clicking a link outside the box it would scroll to a new lightblue element INSIDE the box – chris Jun 23 at 20:34 Okay, this seems to be working: jsfiddle.Net/Kat8t/26 Basically it's the same as I did in my answer, telling the container (#viewport in the example) to scroll to a specific element (#inner) – Björn Jun 23 at 20:47 hmm..the thing worked the first time, with smooth scrolling from the scrollto.

Now though the jsfiddle is telling me to download the files to my own host.. and the effects are gone. Its just a hard anchor link. I added your new code to the javascript on my file- its a hard anchor link then scrollto affects the entire page.

– chris Jun 23 at 21:24.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions