prettyphoto의 버전 3.1.4를 사용합니다. (http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/). URL에서 "#prettyphoto [iframe]/number /"을 삭제하고 싶습니다. 나는 딥 링크를 설정했습니다 : 거짓이지만 이것은 도움이되지 않습니다. 나는 그것이이 기능들로부터 문제가 될 수도 있다는 것을 이해했다 :Jquery PrettyPhoto URL에서 #prettyphoto를 제거
function getHashtag(){url=location.href;hashtag=(url.indexOf('#prettyPhoto')!==-1)?decodeURI(url.substring(url.indexOf('#prettyPhoto')+1,url.length)):false;return hashtag;};
function setHashtag(){if(typeof theRel=='undefined')return;location.hash=theRel+'/'+rel_index+'/';};
function clearHashtag(){if(location.href.indexOf('#prettyPhoto')!==-1)location.hash="prettyPhoto";}
어떤 생각?
누군가주세요. – Pascut
+1. #prettyphoto를 URL에 추가하는 것은 #prettyAnnoying입니다! –