query string using javascript.
I have just implemented query strings using javascript for my web page Pretend Paper
So you can make a link which will change the configuration of the dynamic page around.
This is an example of the link: http://www.pretendpaper.com/?r=5&a=3. It opens up the review with id 5 in a background tab, and the article with id 3 in the foreground.
It is really important to be able to get a url which will map to what is being shown on screen. This way people can post links, and bookmark pages they are in. Unfortunately with javascript one 'page' can be showing 600ish different things.
I still need to make it possible to open up news, and events via the url. As well as show people a url for the page they have opened up.
So you can make a link which will change the configuration of the dynamic page around.
This is an example of the link: http://www.pretendpaper.com/?r=5&a=3. It opens up the review with id 5 in a background tab, and the article with id 3 in the foreground.
It is really important to be able to get a url which will map to what is being shown on screen. This way people can post links, and bookmark pages they are in. Unfortunately with javascript one 'page' can be showing 600ish different things.
I still need to make it possible to open up news, and events via the url. As well as show people a url for the page they have opened up.
Comments