Widget:CJP4: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
// mw.loader.load('mediaWiki.user'); | // mw.loader.load('mediaWiki.user'); | ||
$('#search').click(runQuery); | $('#search').click(runQuery); | ||
$('#query-container'). | $('#query-container').change(updateDisplay); | ||
$('#update').click(updateDisplay); | $('#update').click(updateDisplay); | ||
Line 81: | Line 81: | ||
"http://static.wikidoc.org/3/36/Pill_Size_10_mm.png", | "http://static.wikidoc.org/3/36/Pill_Size_10_mm.png", | ||
"http://static.wikidoc.org/2/2e/Pill_Size_11_mm.png", | "http://static.wikidoc.org/2/2e/Pill_Size_11_mm.png", | ||
"http://static.wikidoc.org/c/c5/Pill_Size_12_mm.png", | |||
"http://static.wikidoc.org/0/0d/Pill_Size_13_mm.png", | "http://static.wikidoc.org/0/0d/Pill_Size_13_mm.png", | ||
"http://static.wikidoc.org/1/16/Pill_Size_14_mm.png", | "http://static.wikidoc.org/1/16/Pill_Size_14_mm.png", | ||
Line 418: | Line 419: | ||
height:auto !important; | height:auto !important; | ||
} | } | ||
#queryDisplayContent img{ | |||
height: | height:44px !important; | ||
float:right !important; | |||
} | } | ||
/*Results***************************************************** | /*Results***************************************************** | ||
Line 608: | Line 604: | ||
</div> | </div> | ||
<div class="queryDisplayContent"> | <div class="queryDisplayContent"> | ||
<img id="queryDisplaySmallSize" style="height:44px !important" src="http://static.wikidoc.org/f/f2/Pill_Size_5_mm.png" /> | |||
<img id="queryDisplayDime" style="height:44px !important" src="http://static.wikidoc.org/c/c4/Pill_Size_Dime.png" /> | |||
<img id="queryDisplayLargeSize" style="height:44px !important" src="http://static.wikidoc.org/e/e6/Pill_Size_20_mm.png" /> | |||
</div> | </div> | ||
</div> | </div> |