PDA

View Full Version : Fragment Link to be Popup


rjcuser
05-Jan-2006, 12:00 PM
Is it possible to make the 'link' within Fragment details a popup with title, sizing, close window etc, as per extended information in a product item?

NormanRouxel
05-Jan-2006, 12:34 PM
Yes. Use an URL like this

javascript:ShowPopUp('http://news.bbc.co.uk',500,500)

Make sure you capitalise the ShowPopUp exactly as above and put the popup page name in single quotes.

rjcuser
05-Jan-2006, 12:41 PM
Brilliant, thaks very much.

rjcuser
05-Jan-2006, 12:53 PM
Sorry, one more, is there any way to add a title and 'close window' function? or even use the extended information tab within fragments?

NormanRouxel
05-Jan-2006, 02:08 PM
Look in actiniccore.js (or actinicextras.js - I can't remember which), duplicate the ShowPopUp routine, give it a new name, edit the features list in the window.open statement to use the features you want. Call that routine instead.