1) Erics inlineScripts does work!

2)

PSD gave this tip for getting JQuery into Tiddlers. However there has
been a heavy discourse arround jQuery use on twDev.

Put

(function($) {

in front of the jQuery.
and

})(jQuery);

afterwards

Here is one example from the book.

<script show>
(function($) {
$(document).ready(function( ) {
        $('table.twtable tr:even').addClass('even');
        $('table.twtable tbody tr').mouseover(function(){
                $(this).addClass('highlight')
        });
                $('table.twtable tbody tr').mouseout(function(){
                $(this).removeClass('highlight');
        })
});
})(jQuery);
</script>




2009/5/12 Mike <[email protected]>
>
> Hi,
>
> I have been reading about jQuery, DOM, and all of the goodness that is
> JavaScript.
>
> Questions:
> 1) Will the jQuery syntax be the same inside TW?
> i.e. can I build the examples from Javascript the missing manual in a
> TW document?
>
> 2) Will ELS's InlineJavaScript also use jQuery?
>
> I appreciate how helpful & understanding this group is to NooBs like
> myself,
>
> Thx,
>
> Mike
> >



--
t: 0161 442 2202
m: 0781 372 50 17
skype: alexhough
delicious: alexhough

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to