Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML5 History API Implementation
    text
    copied!<p>This might sound like a duplicate, but I have searched through the forum questions and I haven't found what I was looking for. </p> <p>So, I have been reading for a while now, and I still cannot decide what to do about the next situation. I'm building a one page website ( not my first ) which requires a smooth User Interface, so I have decide to load pages with AJAX for a better and more friendly navigation.</p> <p>I have been using : <a href="http://codecanyon.net/item/smartajax-smart-powerful-and-easy-to-setup-ajax/406189" rel="nofollow">SmartAjax</a> ; for a while and it was good enough for me. It works nicely and I had no problems with it, but with it had problems handling a lot of JavaScript as callback. Also there was a lot of work to do when implementing it through the whole website.</p> <p>And because now HTML5 is more stable than it was one year ago, and most of it's features are working in most of the browsers ( but some still require a polyfill ), I decided to start using HTML5 History API. A lot of websites use it and it's very easy to do so, but there some aspects I don't understand about it.</p> <p>Therefore here's what I would like to know about it :</p> <ul> <li>is it supported by all browsers by now, and most important, will touch devices and mobiles support it ?</li> <li>is there a special library or a framework for it ?</li> <li>is it safe to use for small websites ( a maximum of 6 pages ) but with a lot of JavaScript ?</li> <li>does it behave when using it in combination with jQuery Plugins ?</li> <li>what about hashbang and hashes ? aren't they the same as using History API ? and what are the differences ?</li> </ul> <p>I would appreciate all the help and info I get about the points stated above.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload