I just did it.. it works as advertised! a single click bind and then
referencing $(event.target) instead of $(this)

Great idea Juha & Diego!

I also tried to hover over the links, that didn't work very well! (I now
know why)

On 4/24/07, Diego A. <[EMAIL PROTECTED]> wrote:


I think this is possible (never done it myself).
1. Bind a single click event to the entire document.
2. use event.target (sourceElement) to access the element that
triggered the event.
3. Check if its one of your # links
4. do your magic.

On Apr 24, 10:47 am, Alessandro Portale <[EMAIL PROTECTED]>
wrote:
> I thought about splitting it on the server side at some point, later.
> A pure Ajax splitting sound like a good idea, I will think about that,
> thanks for the suggestion.
>
> But a page likehttp://doc.trolltech.com/4.3-snapshot/qwidget.htmlis
> hard to split and killing a few browsers with its 1100 internal of
> 1300 links if they are precessed via JQuery. That is a page I need an
> on-the-fly link handling for.
>
> On 24 Apr., 04:10, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
>
> > Have you thought of starting with a blank page and filling it with
ajax,
> > then only showing the items based on the #name??? then you would only
have
> > to bind 1/26 of them at a time.
>
> Alessandro




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to