chenhuanle / html5rocks

Automatically exported from code.google.com/p/html5rocks
0 stars 0 forks source link

SlideShow Internet Explorer improvement #646

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please describe the issue:

When you go to the next slide; you change the windows.location.hash. Internet 
explorer does something different than other browsers with the hash, it FOCUS 
the first div with the id equals to the hash. This leave the current slide 
focused wrongly.

I did a something hacky to fix it... Instead of using a hash equals to the div 
ID I changed to use #slide-{divid}. This way it works fine  for IE9 (besides 
CSS3 transitions).

I started an opensource project with use the same code from html5rocks and is 
heavily inspired in s9, you can create your own html5rocks slideshow using 
markdown from the browser. There is a running instance here:

http://slido.herokuapp.com/

Original issue reported on code.google.com by jfromani...@gmail.com on 11 Oct 2011 at 7:46