JomSocial won its third CMSexpo Award. Enjoy 20% Discount Sitewide until 24th May! Learn More
Home Support Documentation JomSocial Popup Window

Recommend Print

JomSocial Popup Window

Categories Development Favourites Add to favourites (2 users)

Any profile application can open and use JomSocial popup window. There is 3 simple JavaScript function that you can use.

function cWindowShow(windowCall, winTitle, winWidth, winHeight);
function cWindowActions(action);
function cWindowHide();

cWindowShow does not know how to fill up the window. It is your responsibility to pass a function, (windowCall) which cWindow will simply execute. In most cases, windowCall would simply be a ajax call, which in turn will try to fill assign 'cWindowContent' id with html data.

Opening a popup window

Example

var ajaxCall = 'jax.call("community", "plugins,walls,ajaxSaveWall")';
cWindowShow(ajaxCall, 'Compose', 450, 300);
  • Created
    Friday, 21 August 2009
  • Last modified
    Friday, 19 November 2010
  • Voting
    (16 votes)
  • Revised by
    ajmal