-1

Possible Duplicate:
Modify the URL without reloading the page

I just came across this site, http://www.so-design.co.uk/#/brand/1 , if you use the slider it changes the image just like any normal image slider but it also changes the url to /brand/1, /brand/2 ect which i suppose means that all the slides and their content are crawled by search engines as individual pages

any ideas how they are doing this ? cheers

Community
  • 1
  • 1
sam
  • 9,486
  • 36
  • 109
  • 160
  • possible dublicate http://stackoverflow.com/questions/824349/modify-the-url-without-reloading-the-page and less complicated: `window.location.hash` – noob May 01 '12 at 09:33
  • its Flash, right-click it to see that – musefan May 01 '12 at 09:38
  • @micha: In regards to the question. the OP seems to be under the impression this is a javascript control. However, it is clear that Adobe Flash has been used. Plus, your possible duplicate shout does not seem correct to me – musefan May 01 '12 at 09:50
  • @musefan ohh I see you're right but as you can see in this file: http://www.so-design.co.uk/js/swfaddress.js JavaScript `window.location.hash` has been used for changing url. Because I don't except that you read all that I give you the hint that the var `_t` is `window` and `_l` is `window.location`. – noob May 01 '12 at 14:13

2 Answers2

1

You might want to take a look at manipulating the browser's history as well as the history property. Also, reading the hash usingwindow.location.hash

Joseph
  • 117,725
  • 30
  • 181
  • 234
0

First thing to do when you want to try and work out how a website has been developed is to view the source code.

The quickest way to do this is to right-click the page and look for "View page source" or something similar (depending on your browser)

Of course, in this instance, when you right-click it should become obvious that the website uses Adobe Flash. Therefore, this is not a typical JavaScript slider as you first seemed to assume.

musefan
  • 47,875
  • 21
  • 135
  • 185