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.

nb: margin-left with negative value to pull the search box to the left inside the sidebar, and on the nav:side page the iframe width has been increased to 190px. Rob.


<form method="get" action="" target="google_window">
<div style="border:none;padding:2px;width:180px;margin-left:-10px">
<table border="1" 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 JCC site only 


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

[[iframe frameborder="1" 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.

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