HTML5-History-API icon indicating copy to clipboard operation
HTML5-History-API copied to clipboard

Different way of setting the configuration options

Open stefangabos opened this issue 8 years ago • 3 comments

Is there a different way for setting the configuration options? I use the library concatenated and minified together with other scripts so there's no way I can set those options in the <script> tag... Thanks!

stefangabos avatar Jun 18 '16 21:06 stefangabos

Hi! You can use window.history.redirect(...) or window.history.setup(...)

devote avatar Jun 18 '16 22:06 devote

Thanks!

I also have a completely different question, I hope you don't mind: how should I go about mixing how your library works on < IE10 (with hashes) and actually having # sections on the page (so that browser scrolls to them)

stefangabos avatar Jun 18 '16 22:06 stefangabos

You can use on your web site that you're talking about, the library should handle it.

devote avatar Jun 18 '16 22:06 devote