set type-in focus to search box

28 views
Skip to first unread message

le...@linkline.com

unread,
Feb 4, 2008, 12:16:49 AM2/4/08
to TiddlyWiki
Is there a way to get the type-in focus to the search box as soon as I
open a TW? I almost always open a TW in order to search for something
in it.

Thanks,

Lee

Eric Shulman

unread,
Feb 4, 2008, 12:56:15 AM2/4/08
to TiddlyWiki
> Is there a way to get the type-in focus to the search box as soon as I
> open a TW? I almost always open a TW in order to search for something
> in it.

Install this plugin:
http://www.TiddlyTools.com/#InlineJavascriptPlugin

Then, edit [[SideBarOptions]], and change:
<<search>>
to
<<search>><script>place.lastChild.focus()</script>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

le...@linkline.com

unread,
Feb 4, 2008, 10:47:59 AM2/4/08
to TiddlyWiki
Awesome! Works perfectly - thanks!

Lee

Stepan Mayik

unread,
Jan 14, 2014, 11:32:34 AM1/14/14
to tiddl...@googlegroups.com, TiddlyWiki
Hello Eric,

I am interested in the topic. My questions is if the same approach can be applied to TW5 if yes how the [[SideBarOption]] can be customized in TW5 ...

Sorry for the silly question I am quite new to TW.

Thanks in advance for your help.

Best regards,
Stepan.
Reply all
Reply to author
Forward
0 new messages