Difference between revisions of "Template:Find a region"

From NSWiki
Jump to: navigation, search
Line 1: Line 1:
<shtml version="2" keyname="jenlom" hash="840e1d81ec18e99e502035f2803a70af1312464d8b9f16541a9439fa7d2d9765"><script>
+
<shtml version="2" keyname="jenlom" hash="c28fa5005756be70cc70588bc3d602e168192b5c3f1d328efca84b05ef17f464"><script>
 
function showDivregion() {
 
function showDivregion() {
 
     if ($('#region:hidden').length > 0) {
 
     if ($('#region:hidden').length > 0) {
Line 16: Line 16:
 
}
 
}
 
function searchregion() {
 
function searchregion() {
     window.location.href = "http://nswiki.org/index.php?search=" + $("#regioninput").val();
+
     window.location.href = "http://nswiki.org/index.php?search=Region/" + $("#regioninput").val();
 
}
 
}
 
</script>
 
</script>
 
<div style="border-width: 0px; border-style: solid; border-radius: 3px; background-color:#white; box-shadow: 0px 4px 10px #999999; align:center; width:80%; text-align: center; padding: 3ex 3ex; margin-top: 1em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em;"><div id="welcomeDiv"  style="display:none;" class="answer_list" > WELCOME</div>
 
<div style="border-width: 0px; border-style: solid; border-radius: 3px; background-color:#white; box-shadow: 0px 4px 10px #999999; align:center; width:80%; text-align: center; padding: 3ex 3ex; margin-top: 1em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em;"><div id="welcomeDiv"  style="display:none;" class="answer_list" > WELCOME</div>
<input type="button" name="region" value="Find a region" onclick="showDivregion()" /><div id="region" style="display: none;"><input type="text" id= "regioninput" placeholder="region" style="border:0px solid; box-shadow: 0px 2px 10px #999999; margin-top: 10px; text-align: center; padding: 5px 5px;" onkeydown="return pressregion( event );"></input></div></div></shtml>
+
<input type="button" name="region" value="Find a region" onclick="showDivregion()" /><div id="region" style="display: none;"><input type="text" id= "regioninput" placeholder="region" style="border:0px solid; box-shadow: 0px 2px 10px #999999; margin-top: 10px; text-align: center; padding: 5px 5px;" onkeydown="return pressregion( event );"></input></div></div>
 +
</shtml>

Revision as of 18:40, 22 January 2014