I'm using the following function to generate a pop up box:
var win=null;
function popUp(page, name, w, h, scrollb) {
var winL = (screen.width-w)/2;
var winT = (screen.height-h)/3.5;
var settings = 'height='+h+',';
settings += 'width='+w+',';
settings += 'top='+winT+',';
settings += 'left='+winL+',';
settings += 'resizable=no';
settings += 'scrollbars='+scrollb+',';
settings += 'toolbar=no';
settings += 'menubar=no';
window.open(page, name, settings);
}
I use the following link to open:
<a href="#" onclick="popUp('initiate.php', 'Initiate Case', '600',
'600', 'no')"><img src="images/initiateCase.png" alt="Initiate Case" /
></a>
The popup works, however, I can't get ANY AJAX to work on the pop up.
I'm successfully loading several Spry Assets, I can't figure out why I
can' get any of the AJAX to work.
I'm using an Updater to display a dynamically generated number from a
PHP page. When I pull the php page up, it is working properly....but
no update.
Could it be because of the way I'm opening the page?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---