Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: coords cross-browser problem
09-13-2008, 08:13 PM #1
- Join Date
- Sep 2008
- Thanked 0 Times in 0 Posts
coords cross-browser problem
I have been searching all over the net to try to find a solution to this problem but I am still stuck with it.
I have this two lines of code:
document.getElementById("pict_sel").coords = xmlDoc.getElementsByTagName("pict_sel_coords").childNodes.nodeValue;
document.getElementById("pict_sel").onclick = new Function("SelectPict('gal','pict_id','lang');");
All works fine under IE and Firefox but the first line (the setting of the coords) fails on Safari and Google Chrome.
Any ideas as to what I am doing wrong?
Your help will be greatly appreciated.