Scriptaculous question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Scriptaculous question

Sophie424
Trying to understand some of the magic of scriptaculous ... when I look at
the generated HTML source of one of the tests e.g. in place editor, I just
see:

<p id="id15" title="Click to edit">Click...</p>

Where is the link between this element and the in-place editor javascript
code established?

Thanks - Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Scriptaculous question

Lukas Renggli
> Trying to understand some of the magic of scriptaculous ... when I look at
> the generated HTML source of one of the tests e.g. in place editor, I just
> see:
>
> <p id="id15" title="Click to edit">Click...</p>
>
> Where is the link between this element and the in-place editor javascript
> code established?

In the JavaScript code at the bottom of the page that is execute after
the whole page has been loaded.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Scriptaculous question

Sophie424
The bottom was the one place I had not looked :-(

Many thanks, Lukas!

--- Sophie

"Lukas Renggli" <[hidden email]> wrote in message
news:[hidden email]...

>> Trying to understand some of the magic of scriptaculous ... when I look
>> at
>> the generated HTML source of one of the tests e.g. in place editor, I
>> just
>> see:
>>
>> <p id="id15" title="Click to edit">Click...</p>
>>
>> Where is the link between this element and the in-place editor javascript
>> code established?
>
> In the JavaScript code at the bottom of the page that is execute after
> the whole page has been loaded.
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch 



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside