This html codeblock and iframe combination adds a google search box which can search the whole web or limit the results to just Javea Computer Club.


<form method="get" action="" target="google_window">
<div style="border:none;padding:2px;width:190px;">
<table border="0" cellpadding="0">
<input type="text"   name="q" size="25"
 maxlength="255" value="" />
<input type="submit" value="Google Search" />
<tr><td align="left" style="font-size:75%">
<input type="checkbox"  name="sitesearch" value="" unchecked /> 
Search Only JCC site
Javea Computer Club


As you cannot display html code directly you need to reference the codeblock with an iframe:

[[iframe frameborder="0" scrolling="no" width="200px" height="125px"]]

To add the search box to the side bar, only the iframe is added to the nav:side page. If you add the codeblock and iframe to the nav:side page it doesn't find the codeblock - this is a problem with the google code (for reasons which are not clear) rather than codeblocks and iframes generally which do work in the sidebar.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License