Great news! Please raise a ticket with this fix and we'll get into the code base :)
GB Sent from my iPad On 29/06/2011, at 12:08 AM, Matthew Williams <[email protected]> wrote: > Right, so.. this is cheap, but it works. The downside? If you have a LOT of > events, it creates a LOT of toolTip jQuery objects in the code. In this > case, it's not going to matter that much for me. Can it be done better? > Yep. Does it just work for now? Yep ;). The randID is to account for > events that span multiple days. Since the toolTip skin wants to assign to an > ID, that'd not work unless each had a unique ID. What I've done is replace: > > <cfloop query="qDayEvents"> > <cfset eventDisplayed = 1> > <skin:view objectid="#qDayEvents.objectid#" typename="dmEvent" > webskin="displayToolTip" r_html="eventTeaserHTML" /> > <extjs:toolTip toolTip="#eventTeaserHTML#"><em><span > class="title"><skin:buildLink > objectid="#qDayEvents.objectid#">#qDayEvents.title#</skin:buildLink></span></em></extjs:toolTip> > </cfloop> > > With: > > <cfloop query="qDayEvents"> > <cfset eventDisplayed = 1> > <cfset randID=randrange(11111,99999)> > <skin:view objectid="#qDayEvents.objectid#" typename="dmEvent" > webskin="displayToolTip" r_html="eventTeaserHTML" /> > <skin:tooltip message="#eventTeaserHTML#" selector="###randID#" /> > <div class="title"><skin:buildLink objectid="#qDayEvents.objectid#" > id="#randID#">#qDayEvents.title#</skin:buildLink></div> > </cfloop> > > > Matthew Williams > Geodesic GraFX > www.geodesicgrafx.com/blog > > -- > You received this message cos you are subscribed to "farcry-dev" Google group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
