Skype - Debt Consolidation - Debt Consolidation - Wordpress Themes - Internet advertising

PDA

View Full Version : My code works on FF and Safari but not on IE


Marty_
Aug 30th 2008, 1:57 am
I have this following line or lines, this is just a sample of one of them ( a single line ) of code that works fine on Firefox and Safari but it refuses to work on IE and shows error on the page, is it because its all on one line, is there a different way to write it ? dots x's and oo's etc...

list[7] = "<embed src='http://audio-adverts.com/aav/foxthursday.mp3' type='audio/mpeg' autostart='true' height='0' width='0'><script src='http://www.audio-adverts.com/shortcut.js' type='text/javascript'></script><script type='text/javascript'>shortcut('2',function() {window.open('http://dontforgetthelyrics.info/');},{'type':'keydown','propagate':false,'target':document} );</script>";


Cheers and thanks for your thoughts

ForumJoiner
Aug 30th 2008, 7:14 pm
I can't test in IE6, but it works in IE7 (of course, it tells me that running JavaScript content might be unsafe).