There are several plugins for this behavior: http://www.freewebs.com/flesler/jQuery.LocalScroll/
http://www.freewebs.com/flesler/jQuery.ScrollTo/ -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maccer Sent: Monday, December 03, 2007 8:30 AM To: jquery-en@googlegroups.com Subject: [jQuery] Smoothly scroll to the anchor given in the URL Hi! I have a page with a imagemap with link areas. The hrefs look like this: href="<?php echo $_SERVER['PHP_SELF'] ?>?city=NameOfCity#memberlist" When one of those links are clicked, I would like the page to smoothly scroll down to the anchor #memberlist. However, the page is reloaded and processed by PHP when a link is clicked, so it seems that it is not possible to use, say, a jquery plugin that scrolls to anchors on the same page - at least not without modifications. I think that one solution would be to read the anchor name from the page URL and then somehow smoothly scroll down to that anchor. But I can't get it to work. Can anyone suggest how I can accomplish this? -- View this message in context: http://www.nabble.com/Smoothly-scroll-to-the-anchor-given-in-the-URL-tf49368 99s27240.html#a14131044 Sent from the jQuery General Discussion mailing list archive at Nabble.com.