|
if (location.href.indexOf('index.html')>0) link = location.href.replace(location.hash, '').replace('index.html', url)
|
|
if (location.href.indexOf('index.html')>0) link = location.href.replace(location.hash, '').replace('index.html', url)
|
|
else link = location.href.replace(location.hash, '') + url
|
|
else link = location.href.replace(location.hash, '') + url
|