Open a Modal by using AJAX

Hellou...i'm new to the control.modal thing...and there is something i can't get to run...

i'd like to use modals to display a new incoming message...a ajax script is called every 30 secs to check if the user has new messages...if so, i have to call a function as result of the ajax answer...for example "newPM()"

what (if possible) has to be inside my newPM() function to make it show a Modal?

Posted May 21st, 2007 at 4:25am by KilianSSL

got it...sorry

Control.Modal.open('');

Posted May 21st, 2007 at 4:33am by KilianSSL

Hi, i tryed the example:


AJAX Modal      Link HREF: http://livepipe.net/projects/control_modal/modal_ajax Parameters: none

but i get no result. no action. it is like nothing going to happening. How i can call a php file with a responce? Please help, thank you

best regards Ludwig

Posted June 21st, 2007 at 9:05am by lmair

Hi, i tryed the example:


AJAX Modal      Link HREF: http://livepipe.net/projects/control_modal/modal_ajax Parameters: none

but i get no result. no action. it is like nothing going to happening. How i can call a php file with a responce? Please help, thank you

best regards Ludwig

Posted June 21st, 2007 at 9:06am by lmair

Hi, i tryed the example:


AJAX Modal      Link HREF: http://livepipe.net/projects/control_modal/modal_ajax Parameters: none

but i get no result. no action. it is like nothing going to happening. How i can call a php file with a responce? Please help, thank you

best regards Ludwig

Posted June 21st, 2007 at 9:06am by lmair

Hi, i tryed the example:


AJAX Modal      Link HREF: http://livepipe.net/projects/control_modal/modal_ajax Parameters: none

but i get no result. no action. it is like nothing going to happening. How i can call a php file with a responce? Please help, thank you

best regards Ludwig

Posted June 21st, 2007 at 9:09am by lmair

Hi, i tryed the example:

AJAX Modal

        new Control.Modal('modal_link_three');

but i get no result. no action. it is like nothing going to happening. How i can call a php file with a responce? Please help, thank you

best regards Ludwig

Posted June 21st, 2007 at 9:11am by lmair

Hi, i tryed the example for ajax and called:

http://localhost/work/metapublicNeu/adm/moduls/mod_user/test.php 

        new Control.Modal('modal_link_three');

but i get no result. no action. it is like nothing going to happening. How i can call a php file with a responce? Please help, thank you

best regards Ludwig

Posted June 21st, 2007 at 9:12am by lmair

Login or Register to Post