Google Sites now provides a HTML Box so you can add more complicated HTML, CSS and JavaScript, e.g. forms, background images and some onMouseOver events, in the HTML Box. This will allow a lot more functionality but does not allow all possible JavaScript as Google sanitises the code entered and the code only works within the HTML Box and does not work with your site content outside of the HTML Box.
Instructions
NotesThe HTML Box will not allow all code, e.g. you cannot make calls to external JavaScript files, but you can use JavaScript embedded on the page. ExamplesSite Search Box anywhere on the pageInstructions
You will see a search box that looks just like the site search box, a working example follows (remember this is not a gadget and is on the page). Working Site Search BoxPlease enter a search term Not everything is possible but it brings a whole new world of possibilities. AvailabilityYou can get this feature now on stand-alone/consumer/personal Google Sites and Google Apps domains with the Rapid Release track enabled. |






