Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [gotze] Minitemplates

Quote Reply
Re: [gotze] Minitemplates In reply to
In case anyone wonders what the heck this is all about, check out GotzeTagged (was GotzeLinked). I am here using Ivan's "suggest" idea and my extensions (used in the three buttons above the search bar).

I needed an easy way to swap between the three suggest types I offer. I ended up using stuff like:

<input type="text" id="<%if Suggest%><%Suggest%><%endif%>search" name="query" onkeypress="liveSearchStart()" size="45" />
<div id="LS<%if Suggest%><%Suggest%><%endif%>Result" style="display: none;">
<div id="LS<%if Suggest%><%Suggest%><%endif%>Shadow"></div></div>
in my templates, and call URLs like http://.../page.cgi?d=1&Suggest=livecategory.

I realise my example here might be cryptic, but it does exactly what I want it to do in my specific context Crazy -- but the principle seems to be applicable in many other contexts.

Thanks again Adrian.

Subject Author Views Date
Thread Minitemplates gotze 1632 Jan 12, 2005, 5:30 PM
Thread Re: [gotze] Minitemplates
brewt 1588 Jan 21, 2005, 11:28 AM
Thread Re: [brewt] Minitemplates
gotze 1563 Jan 21, 2005, 12:01 PM
Post Re: [gotze] Minitemplates
gotze 1560 Jan 21, 2005, 3:42 PM