Hmmm weird...

Fix for now is:


function datePicker(x) {
params = "toolbar=no, location=no, directories=no, status=no, menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=203, height=145";
page = "index.cfm?cmd=diary&xs=diaryPlugincalendar&rtnto=" + x;
targtName= "choose_date";
if (x == 'fDate'){
page = page + "&sDate=" + document.getElementById("sDate").value;
}
window.open(page,new String(targtName),params);
}



Ricardo Russon wrote:


hi guys,
this works in FireFox, but not ie, anyone know what i have done worng.

function datePicker(x) {
   params = "toolbar=no, location=no, directories=no, status=no, menubar=no,
scrollbars=no, resizable=no, copyhistory=no, width=203, height=145";
   page = "index.cfm?cmd=diary&xs=diaryPlugincalendar&rtnto=" + x;
   name = "choose_date";
   if (x == 'fDate'){
    page = page + "&sDate=" + document.getElementById("sDate").value;
   }
   window.open(page,name,params);
  }


in ie it opens it in the same window.


TIA
Ricardo.





--


Regards,
Scott Barnes
-
http://www.mossyblog.com
http://www.bestrates.com.au

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to