Minisearch code
I think I’ve finally sorted out the code that’s been giving me (and Hornswoggler) a few issues in rolling out. So here’s the details;
Now, when anyone makes a post to ”’gromblog”’, they can surround words or phrases with triple single quotes and the minisearch code will render it as bold, clickable text which, when clicked, will pop-up a search box pre-populated with the word/phrase. The default search is for wikipedia but you can change it to google, youtube or imdb (any other suggestions?).
Please, please, test it and send me any feedback. Here are some things to test it on; ”’grom”’, ”’Batman Begins”’, ”’Gogol Bordello”’, ”’pirate”’. Once I know it’s working for everyone then I’ll make it permanent and stick an explanation in the side bar. Also if you’d like the code then please let me know & I’ll ask the awesome Cybercon III (aka Rich) who wrote this for work but was kind enough to let me use it.
*Edit*If the words aren’t showing up as bold text then please try to change the size of your font (right hand bar – A- & A+ buttons) to a larger font. If it still doesn’t show up then let me know – there’s an issue with Arial font less than 10pt not showing bold but all other fonts and sizes seem fine.
Oh and since he’s complained – thanks also to Solomon for his help in breaking fixing it.
Neat idea. Your text is clickable and the search box pops up but the words are not showing as bold
dan,
Mail will be on it’s way to you shortly.
t3m3r1ty,
I’ll speak to you offline and try to work out why – seems fine from multiple machines/browsers for me.
The bold issue is just to do with the font type and size, it appears that the default font’s size bold variant is no different from the non-bold one, hence the upping of font size fixing the bold issue.
To fix this i would recommend adding the italic font-style directive to the link css, by replacing this line:
div.text span.innerLink { color: #000000; font-weight: bold; cursor: pointer; cursor: hand; }
with this one:
div.text span.innerLink { color: #000000; font-weight: bold; font-style: italic; cursor: pointer; cursor: hand; }
This will make the link font go italic as well as bold which should work with virtually all fonts at most sizes.
If you need any help ask me tomorrow
I’ve made that change now cybercon so links should now be in bold and italics for those who have the font size set small and couldn’t see the bold
Great it looks much better

My gusset would be interested in the code. Thanks.