Ha ha. One step ahead of you. For once!! I saw John's post and had a play with it. Works well except for one thing...
In my set up I have icons that show the state of an input field (a green tick if data was valid, a red 'x' if there is an error). If you click on an icon then the associated message pops up in a tip for an error icon. If you have multiple errors then you can click on the icons to see the relevant error. That was where I left you. But the spec for the project actually requires John's idea also. i.e.when tabbing through the form it pops up any errors. The problem with John's code (no offence John if you're listening) is that when you set the field to activation: 'focus' it breaks the code if the user decides to click on the icon (which intuitively most will do) - the tip does not pop up - instead the href behaves as a proper link and loads the content (external HTML in this case) in the browser. I did start to have a play to fix this but I have been distracted with validation issues for the last day. When I get back to it I will let you know. If anyone beats me to the punch please let me know. Cheers PJ On Nov 26, 8:40 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi PJ, > > Glad you're happy with the fix. :-) > > Someone else (John Shapiro?) just requested adding "focus" as an > available value for the "activation" option and provided a patch. So, > I dropped it in. It seems like a reasonable thing to want to have. You > can grab it from the same SVN link until I get around to packaging > everything into a new release. > > http://jqueryjs.googlecode.com/svn/trunk/plugins/cluetip/ > > Cheers, > > --Karl > _________________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Nov 26, 2007, at 4:05 AM, PJ wrote: > > > > > > > Nothing better than starting Monday morning with the solution to an > > issue!! Many, many thanks Karl. > > > Works perfectly with IE6 and FF1.5. I shall do some testing later with > > other browsers. > > > The changes really make the interface much more intuative. I just need > > to add some bespoke onfocus functions for when users tab through form > > fields and I'll be there. > > > Thanks again. > > > PJ > > > On Nov 23, 6:30 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > >> On Nov 23, 2007, at 4:43 AM, PJ wrote: > > >>> Phew. I thought it was just me being stupid!! > > >> Nope. that was me being stupid. ;-) > > >>> It is a great script and delivers 90% of what we are looking for - > >>> but > >>> when I sent it off for testing the main feedback was that users want > >>> to click on all the icons they can see - not open, then click the > >>> closebutton so that they can open another tip. > > >> makes sense to me. > > >>> You have "thought out loud" exactly what we need. If you think it > >>> might be doable in the short term please let me know. I will try to > >>> make it work at my end and report back - but we are running close to > >>> the deadline and I may need to change things round to appease the > >>> powers that be. > > >> glad we're on the same page. definitely doable. In fact, I've just > >> uploaded a new version to svn with the changes: > > >>http://jqueryjs.googlecode.com/svn/trunk/plugins/cluetip/ > >> jquery.cluet... > > >>> Great work by the way and thanks for the quick response. > > >> no problem. There is nothing that motivates me more than compliments, > >> and yours were no exception. (In other words, flattery will get you > >> everywhere with me.) :-) > > >> Let me know if you run into any problems with the new version. I > >> haven't had a chance to test the latest changes in IE, but I don't > >> foresee any issues. > > >> Cheers, > > >> Karl- Hide quoted text - > > - Show quoted text -