I run TW as a .hta (i.e. IE7 mode). IMHO the best way to run TW in a 
Windows environment.

However, I occasionally a window popping up with the URL "javascript:;".

It has to do with the href attribute of tiddly buttons (`function 
createTiddlyButton()`):

btn.setAttribute("href","javascript:;");

It seems that when the onclick action (often overridden by plugins) does 
not return `false` the browser defaults to opening the link.

I've experimented with `javascript:void()` (no help) but `#` helps. The `#` 
option works the best because it stops a new window but it does jump to the 
top of the page which is not ideal.

By far the best option however is simply commenting out the line which sets 
the href attribute.

Does TW really need to set the href attribute? It works fine as far as I 
can see without the href attribute.



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51c4ef40-ebf4-4faa-8eee-606d24c599bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to