Hi,
in Javascript I use this very simple function to open a page in a popup window:
function popup(folder)
{
cuteLittleWindow = window.open(“../” + folder + “/contact.htm”, “littleWindow”, location=no,width=400,height=372″);
}
I call this function from two different pages in HTML:
[U]this one works fine:
<p><a href=”javascript:popup(‘francais’)”>Laissez votre message sur notre site</a> ou contactez nous sur <a href=”mailto:xxx”>xxx</a> </p>
[U]whereas this one does not:
<p><a href=”javascript:popup(‘anglais’)”>Leave your message on our site</a> or contact us on <a href=”mailto:xxx”>xxx</a> </p>
I really don’t see what causes the difference – javascript is running in a script file in a folder calles “js” – on the same level as that js-folder is a folder names “anglais” and another named “francais”, in both these two folders is a file named “contact.htm”. Spelling of folders and files has been checked and double checked.
Anyone an idea?