Re: import in backstage
It hasn't worked for me for ages. When I select a locally, i
automatically adds the file i am importing into. when this doesn't
happen the import often freezes. I cut and paste stuff in and have
done for ages.
Re selecting lists
jQuery selectors [1] is a good place to start. I think that the jQuery
documentation will be easy to follow and that writing tiddlywiki
documentation before the full jQueryification might be a waste of
time. jQuery is a lot easier to learn than TW.
<<tiddler nameOfTiddlerWithjQuery>>
Morris said: Assuming I know nothing about jQuery (which is nearly true;-) how
would one go about to implementing what you put here?
The discovery came from when I went down to the Osmoplex, I saw Simon
McMannus using jQuery in Firebug. I didn't understand what he was
doing at the time but found out that you can type jQuery into the
firebug console to test it out. The breakthough came from jQuery help
that FND put me onto [2] where the recommendation is to try the code
in Firebug.
First i tried stuff like
jQuery("#mainMenu").hide();
jQuery("#mainMenu").show();
I wanted to get certain menus to show and others to hide after a
particular tiddler had been read. I also experimented with
jQuery(".tiddler").fadeIn(slow);
I then put them into tiddlers between script tags -- something you can
do when you have inlinescriptplugin
<script>
code here
</script>
Then once this works, and i want to use it again, I cut and paste it
into a new tiddler. Then each time i want to use it i can use tiddler
transclusion;
<<tiddler nameOfTiddlerWithjQuery>>
Its a bit like a macro I guess, but you have to have the prefix tiddler.
[1]
http://docs.jquery.com/Selectors
[2]
http://docs.jquery.com/Types
ALex
>> Probably one fix would be to wrap the targeted list in a class
>> {{myclass{...list}}} and then specify that list in the jQuery selector
>> (e.g. jQuery("myclass ul").dragsort() ;) ...
Or use another jQuery selector to pick up the tiddler by id.
--
http://www.multiurl.com/g/64