Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-06-17 10:21:09

ronaktal
New member
Registered: 2010-06-15
Posts: 3

open new window simple example

Hi~ this might be fairly simple but I am trying to open a new window in Xinha like:

window.open('www.google.com',"hadialog","toolbar=no,menubar=no,personalbar=no,width=10,height=10,"+"scrollbars=no,resizable=yes,modal=yes,dependable=yes");

however whenever I do this it keeps reloading the original editor and not opening (or at least I can't see the opened window)

I've tried _popupDialog but I don't need the callback and also it just reloads the original location.

?could this be an iframe issue.

Thanks!

Offline

#2 2010-06-17 19:54:22

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: open new window simple example

I don't understand what you are trying to do.  Where are you triggering window.open from?  A button in the toolbar, a link in the edited content itself?  Is your popup simply being blocked by your browser or addons?

Also. 

www.google.com

is not a URL, a valid url has a scheme, http:// in this case.


James Sleeman

Offline

Board footer

Powered by FluxBB