<a href="XYZ"></a> append script help
Hi,
I have a script that is designed to append all the links on a page with the exstension '&layout=jp ' for the href.
onload = function () { for (var i = 0; i < document.links.length; i++) document.links[i].href = document.links[i].href + '&layout=jp'}
I would like to be able exclude certain links from this happening too, ideally through their css class/id ... but I am not sure where to start?
Any help would be much appreciated.
Best,
P
|