Reputation: 137
I am using a map on my website. When you click a link on the map it opens a new window. The rest of the site uses colorbox to open new links so in a desire to keep it close to that in appearance, I would like the new window that opens to be more like a popup not like a new tab. Currently I just have this:
url_new_tab: 'yes',
Any help would be appreciated.
Upvotes: 1
Views: 777
Reputation: 137
I figured it out for anyone having the same issue:
url: "javascript:'onclick'=window.open('url_here', '_blank','width=800, height=500');",
Upvotes: 0
Reputation: 226
colorbox is good idea.
otherwise you may use
window.open('your_url', '_blank', 'width=600, height=300');
Upvotes: 1