Ajax is very useful for when you want todo something without refreshing the page plus it’s the way things are done now. For my Banner Bar program i allow the user to upload images or insert links to images which while this is good i think at the moment it looks confusing and the page …
Read moreRemove 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 more