registerguard / bulldog

The official 2013 registerguard.com theme.
http://registerguard.com
1 stars 1 forks source link

Finder #160

Open mhulse opened 10 years ago

mhulse commented 10 years ago

Change class/id naming from underscores to dashes.

<form id="finder" method="get" action="http://projects.registerguard.com/pages/search/">

    <div id="finder_opts">
        <input type="radio" id="finder_opt-1" name="options" checked="checked" value="http://projects.registerguard.com/pages/search/"> <label for="finder_opt-1">Google Custom Search</label> 
        <input type="radio" id="finder_opt-2" name="options" value="http://projects.registerguard.com/pages/search/archive/"> <label for="finder_opt-2">Google News Archive Search <i>&ndash; Back to <b>1867</b></i></label> 
        <input type="radio" id="finder_opt-3" name="options" value="http://pqasb.pqarchiver.com/registerguard/results.html"> <label for="finder_opt-3">Proquest Newspaper Archives <i>&ndash; Back to <b>2001</b></i></label> 
        <input type="radio" id="finder_opt-4" name="options" value="http://bizfinder.registerguard.com/search.pg"> <label for="finder_opt-4">BizFinder Local</label> 
    </div>

    <div>
        <label for="finder_keywords">Keywords:</label> <input type="search" id="finder_keywords" name="q" title="Search..." placeholder="Search..." results="5" autosave="finder"><input id="finder_submit" type="submit" value="Search"> <a href="http://projects.registerguard.com/pages/search/help/">Search help</a>
    </div>

</form>

Example: finder-keywords.

mhulse commented 10 years ago

But wait, isn't finder_ meant to be a namespace-y thing, and all strings after should be separated by a dash? I'll have to look at my code to see if there's other code using all dashes.