views:

206

answers:

1

The following javascript opens a pop-up in Firefox, Safari, IE, and Google Chrome:

window.open("http://google.com", "foo", "toolbar=yes,location=yes,menubar=yes")

However, in Google Chrome the toolbar (with the usual forward and back buttons, etc.) does not appear on the popped-up window. (Tested on both Windows and Mac.)

How can I fix this? I would like the user to be able to navigate forward and back using the tools with which they are most familiar.

Thanks!

A: 

Unfortunately Chrome only supports a small set of window features when using window.open. If you believe that this is a bug or an issue you can file it at http://crbug.com.

If you just use window.open(url) then it will open a new tab in the same window with the buttons you desire.

Kinlan
Thanks! Is there a preferred way to open a pop-up in Chrome that would permit a toolbar?
brahn