I can't get the jQuery contains to take the variable. it works with
text  - contains('About') - but not when i attempt to find the title
of the open tiddler

Works
======
$("#mainMenu .tiddlyLinkExisting:contains('About')").css("color",
"red");

Not Works
=======

<script>
(function($){
here=story.findContainingTiddler(place);
var title=here.getAttribute("tiddler");
var tiddler=store.getTiddler(title);
        var menuItem = 'tiddler';
        $("#mainMenu .tiddlyLinkExisting:contains(menuItem)").css("color",
"red");

})(jQuery);
</script>

I think i am missing something very elementary here.

thanks for any help

Alex

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki?hl=en.

Reply via email to