Take the 2-minute tour ×  Is is possible to both define an
anchor to scroll to a URL and set a variable in the frament? I
tried with code the below, but this does not work in Chrome. Can
I make it work using another delimiter than the ampersand?
<!doctype html>     <title>Scroll to anchor test</title>
<p><a href="#bottom">Scroll to bottom</a> (works)</p>     <p><a
href="#bottom&test=testing">Scroll to bottom and include
variable in the frament</a> (doesn't work)</p>     <p
style="margin-top: 2000px">Bottom of page</p>     <p><a
name="bottom">#bottom</a></p>  JSFiddle with the code above:
http://jsfiddle.net/janaagaard/FHdQr/  share|improve this
question how about handling the fragment by JS ? –  Raptor Jun
24 '13 at 7:44 Hello John, this does not really scrolls down..
it just teleports to there. I have some javascript if you would
like? it's some smooth scroller :) –  Ryan de Vries Jun 24 '13
at 7:44 No, that's not possible. #bottom&test=testing would
refer to an element with that exact id. GET par