Hi there,
I've been given a bit of javascript code to add to my Pagelines Framework (v 2.0.0.) WP v 3.3.1 website which I thought would go in the Headerscripts Code area...
Query(document).ready(function() {
var elm = jQuery('#'+document.location.hash.replace('#',''));
if (elm.attr('href')) {
elm.addClass('highlighted');
}
});
I don't know javascript - do I have to put something round the code to add it or save it as a file somewhere else then call it from the Headerscripts code area with something like the following?...
Many thanks in advance! ![]()











