i m using prettyphoto media wordpress plugin(version 3.1.4).
its working fine for me but my problem is that when i click on any image and it opened in lightbox then there is some additional tag in url like:#prettyPhoto[landscaping]/0/ thats why the url looks like:www.myssite.com/#prettyPhoto[landscaping]/0/
.
how can we remove this extra tag. here is the code in my jquery.prettyPhoto.js file:
function setHashtag(){
if(typeof theRel == 'undefined') return; // theRel is set on normal calls, it's impossible to deeplink using the API
location.hash = theRel + '/'+rel_index+'/';
};
function clearHashtag(){
if ( location.href.indexOf('#prettyPhoto') !== -1 ) location.hash = "prettyPhoto";
}