自分のサイト用に作成したディープリンクを設定しました。これは、進むボタンと戻るボタンを除いて機能します。また、行ったことを更新する方法が少しわかりません。URLは変更されますが、更新を押さない限りコンテンツは変更されません。
これが機能する例です:http ://www.klossal.com/index2.html#color_dance
そしてここにコードがあります:
// taked anchor from browser i.e '#bow' , '#bow-003'
var id = window.location.hash;
// check is it valid anchor
if (id.match("#") != null | id.match("#undefined") != null) {
$(id).ready(function () {
$(id).trigger("click");
});
}
$(".iso").click(function () {
window.location.hash = $(this).attr("id");
});