PDA

View Full Version : [CLOSED] Toolbar as a navigation menu



blueworld
Jan 16, 2013, 9:47 AM
Hello,

I am using a toolbar in my ext.net pages as my main navigation menu.
The click handler of each button navigates the user



document.location.href = ......


What I am missing in that solution are things like pressing ctrl in order to open the page in a new tab.

Is there any way to treat these buttons as hyperlinks, or is there a better way to implement a navigation menu?

Daniil
Jan 16, 2013, 10:38 AM
Hi @blueworld,

You should use window.open().

Also it is worth to read this post.
http://stackoverflow.com/a/8944735/1758525