Difference between revisions of "Template:Find a nation"
From NSWiki
Line 1: | Line 1: | ||
− | <shtml version="2" keyname="jenlom" hash=" | + | <shtml version="2" keyname="jenlom" hash="84e052cd97fd601de2cbfccd1bfdb244ea99e91dd5134a7c09408b8968c2b8b3"><script> |
function showDivnation() { | function showDivnation() { | ||
if ($('#nation:hidden').length > 0) { | if ($('#nation:hidden').length > 0) { | ||
Line 16: | Line 16: | ||
} | } | ||
function searchnation() { | function searchnation() { | ||
− | window.location.href = "http://nswiki.org/index.php?search=" + $("#nationinput").val(); | + | window.location.href = "http://nswiki.org/index.php?search=Nation/" + $("#nationinput").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="nation" value="Find a nation" onclick="showDivnation()" /><div id="nation" style="display: none;"><input type="text" id= "nationinput" placeholder="nation" style="border:0px solid; box-shadow: 0px 2px 10px #999999; margin-top: 10px; text-align: center; padding: 5px 5px;" onkeydown="return pressnation( event );"></input></div></div></shtml> | <input type="button" name="nation" value="Find a nation" onclick="showDivnation()" /><div id="nation" style="display: none;"><input type="text" id= "nationinput" placeholder="nation" style="border:0px solid; box-shadow: 0px 2px 10px #999999; margin-top: 10px; text-align: center; padding: 5px 5px;" onkeydown="return pressnation( event );"></input></div></div></shtml> |
Revision as of 18:39, 22 January 2014