csim
09-30-2007, 02:09 PM
1) Script Title:
HTML Window Widget
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem:
First, i'm using a window widget (type : ajax, external file) in a page , the title is correct : "Envoyer à un(e) ami(e)" becomes Envoyer à une amie (Send a friend in French)
Then, a new page send an email and calls the first page with parameters.
The first page, reading the parameters, load another window widget (type : ajax, external file) and then the title is not correct : "Envoyer à un(e) ami(e)" becomes Envoyer à un(e) amie.
I have checked the headers from the external files :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I don't know now where to look at. Have you an idea ?
(Sorry for my bad english)
Code of the first call :
<a href="#" onClick="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'envoi_ami/envoi_ami.php?url_encours=http%3A%2F%2Flocalhost%essai&titre_encours=Accueil&root_url=http%3A%2F%2Flocalhost%2Fessai', 'Envoyer à un(e) ami(e)', 'width=450px,height=300px,left=800px,top=200px,resize=0,scrolling=0,toolbar=0');return false;"><img src="http://localhost/essai/images/www/ico_mail.gif" alt="Envoyer à un(e) ami(e)" border=0 /></a>
Code of the second call :
function openmypage(url_apres){
ajaxconf=dhtmlwindow.open("ajaxbconf", "ajax", url_apres, "Envoyer à un(e) ami(e)", "width=450px,height=300px,left=800px,top=200px,resize=0,scrolling=0,toolbar=0");
} in a javascript file
<script type="text/javascript">openmypage('envoi_ami/apres_envoi.php');</script> in the page
HTML Window Widget
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem:
First, i'm using a window widget (type : ajax, external file) in a page , the title is correct : "Envoyer à un(e) ami(e)" becomes Envoyer à une amie (Send a friend in French)
Then, a new page send an email and calls the first page with parameters.
The first page, reading the parameters, load another window widget (type : ajax, external file) and then the title is not correct : "Envoyer à un(e) ami(e)" becomes Envoyer à un(e) amie.
I have checked the headers from the external files :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I don't know now where to look at. Have you an idea ?
(Sorry for my bad english)
Code of the first call :
<a href="#" onClick="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'envoi_ami/envoi_ami.php?url_encours=http%3A%2F%2Flocalhost%essai&titre_encours=Accueil&root_url=http%3A%2F%2Flocalhost%2Fessai', 'Envoyer à un(e) ami(e)', 'width=450px,height=300px,left=800px,top=200px,resize=0,scrolling=0,toolbar=0');return false;"><img src="http://localhost/essai/images/www/ico_mail.gif" alt="Envoyer à un(e) ami(e)" border=0 /></a>
Code of the second call :
function openmypage(url_apres){
ajaxconf=dhtmlwindow.open("ajaxbconf", "ajax", url_apres, "Envoyer à un(e) ami(e)", "width=450px,height=300px,left=800px,top=200px,resize=0,scrolling=0,toolbar=0");
} in a javascript file
<script type="text/javascript">openmypage('envoi_ami/apres_envoi.php');</script> in the page