Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A modified search box for SmugMug.
<form action="/search/" method="get" class="sm-search-form" style="text-align:left">
<div>
<input type="hidden" name="c" value="everything" />
<input type="hidden" name="n" value="corinos" />
<input type="hidden" name="scope" value="node" />
<input type="hidden" name="scopeValue" value="0" />
<input type="text" name="q" class="sm-form-field sm-form-field-text-input" placeholder="Search..." />
<button style="width:100%; margin:0;" class="sm-button sm-button-size-small sm-button-skin-accent">
<span class="sm-button-label">Search</span>
</button>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.