I made a custom admin bar menu
I want it to link to javascript:act.go_random();
I tried :
‘href’ => ‘<script type=”text/javascript”> act.go_random();</script>’
‘href’ => ‘javascript:act.go_random(); ‘
but both didnt work .
I think this is easy , but I am still a beginner.
Please help me do this.
Thanks you alot.
also, another question .
How can I rearrange the existing admin bar menus and the custim admin bar menus I added ?
I mean the order of the menus, and how to make a menu at a specific distance from the right or left of the page .
Thanks you alot