open a fixed size popup window

Hey, 

I'd like to know if there is a way to open a popup from a link in the navigation menu. I explain:

I have a shoutcast radio that I would like to open in a new window. I made a page named "radio.php" where my player is embedded. I would like to have this page to open in a fixed size popup window from a link in the navigation menu. Is that possible?? 

For what I see, Navigation menu builder only offers me to open a link in a new window but not i a fixed size popup.

Thanks

Mike

 

 

 

 

 

 

 

 

 

 

 

Quote · 18 Feb 2013

Hello Mike

You cannot do it via Navigation Menu Builder in admin panel because it doesn't allow to add/edit JavaScript code in onclick field. However you may do it directly via Dolphin's database -> sys_menu_top table.

So, you may create an Item using menu builder. Then you need to find the newly created item in sys_menu_top table and enter your JS code in 'Onclick' field. That's all.

P.S. Don't forget to clear cache before testing.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 18 Feb 2013

Hey Anton,

Thank you very much...

Can you show me an example of the code I should put on the OnClick field please. I'm trying to open a window that should have a height of 350 by a width of 550, not resizable without status and toolbar.

I tried with window.open javascript code but as I'm not an expert, it doesn't work.

thank you very much...

Mike

Quote · 18 Feb 2013

Nevermind.... Now it works... thanks.. I putted commas in the field as I shouldn't..

thank you.

Mike

Quote · 18 Feb 2013

Hello Mike 

Nevermind.... Now it works... thanks.. I putted commas in the field as I shouldn't..

thank you.

Mike

You are welcome. :) It's great that the solution was found. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 19 Feb 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.