Remove stylesheet To remove a stylesheet simply give it an id <link href=”cssFolder/sheet2.css” rel=”stylesheet” type=”text/css” id=”sheet2″> And insert the following script just before </body> tag Add stylesheet To Add a stylesheet insert the following script just before </body> tag Although i have used document ready in the snippets above i have used …
Read moreOften you want to hide or show an image or one or more tags on your page and using this reusable script you can do just that.No code to edit and it also changes (Toggles) the button value. You just have to insert 4 variables whenever you want to call the script <input type="button" onclick="toggleItem(’1′,this.id,’3′,’4′);" …
Read more4 images picked at random each one unique from the other and all from the same folder. Every image can appear in any one of the boxes but there never be two of the same images showing at the same time. I really enjoyed making this as all the ones I’d of seen before used …
Read moreI made this to help me writing out my meta tags as it used to annoy me when I’d been writing away only to have a load of text trimmed off at the end. So with this you just set your character length and off you go every time you stop typing (onkeyup) it checks …
Read more