First of all, don't confuse with this onClick stuff, it has nothing to do with <script>.

I want to know how to use javascript in this way:
javascript:alert(blah)
that works in this:
[img]javascript:alert(gg)[/img]

so i don`t wanna use <script> stuff, i need to know how to move someone's location using the above method, i`d guess it'd be somethign like:
javascript:document.window=www.blah.com
but it isn't.

if you know what i`m talking about (javascript being executed within a link (and not onClick)) then please tell me how.