Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- syntax


wilderness - 4:51 pm on Mar 14, 2012 (gmt 0)


Could somebody tell me if this CSS, Java or whatever?

$(document).ready(function(){
$(window.location.hash).append('<a name="' + window.location.hash.replace('#','')+ '"></a>');
window.location.href=window.location.href;
});

This is to allow page anchors to function within Firefox, in which it functions as intended.

My curiosity is precautionary as I'm also interested in knowing if the lines present a vulnerability for hijacking links?

TIA


Thread source:: http://www.webmasterworld.com/css/4429105.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com