The Little Guy Posted September 7, 2010 Share Posted September 7, 2010 I am testing my site in IE 7, and I am getting the following error: Line: 27 Char: 4 Error: Unterminated String Constant Code: 0 URL: http://envne.com/lite.php The error occurs when I click the next or previous links. They are these lines: <span class="link" id="prev" onclick="loadpage(page - 1);">« Previous</span> <span class="link" id="next" onclick="loadpage(page + 1);">Next »</span> but line 27 is this: </object> I don't get that error in anyother browser, so does anyone know what that error is, and how to fix it? Here is the code to the whole page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta type="description" content="Listen to you favorite music and playlists anytime anywhere online!" /> <meta type="keywords" content="free music, playlists, audio, tunes, hot music" /> <title>enVne</title> <link rel="stylesheet" href="/display/lite.css" /> <script type="text/javascript" src="/display/js/home.js"></script> </head> <body onload="loadsongs();"> <a href="/" alt="Logo" class="logo" style="float:left;"></a> <span id="soon"></span> <div id="bg"></div> <div id="fade"></div> <div id="fadeSmall"></div> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="1" height="1" id="player" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="wmode" value="transparent" /> <param name="movie" value="/flash/lite.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="allowScriptAccess" value="always" /> <embed src="/flash/lite.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="1" height="1" name="player" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /> </object> <div id="container"> <div class="box"> <div class="nextprev"> <span class="link" id="prev" onclick="loadpage(page - 1);">« Previous</span> <span class="link" id="next" onclick="loadpage(page + 1);">Next »</span> </div> <div class="searchbox"> <input type="text" class="searchinput" id="q" value="Search: Artist, Song, Album" style="color:#CCC;font-style: italic;" onfocus="if(this.value=='Search: Artist, Song, Album'){this.value = '';this.style.color='#000';this.style.fontStyle='normal';}" onblur="if(this.value==''||this.value=='Search: Artist, Song, Album'){this.value = 'Search: Artist, Song, Album';this.style.color='#CCC';this.style.fontStyle='italic';}" /> <a href="javascript:void(0);" onclick="q(document.getElementById('q').value);" class="search"></a> </div> <div id="library"></div> </div> </div> <script type="text/javascript"> window.onbeforeunload = function(){ return 'Leaving this page will quit playback, are you sure you want to leave?';} if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { winH = window.innerHeight; } if (navigator.appName.indexOf("Microsoft")!=-1) { winH = document.body.offsetHeight; } } var l = document.getElementById('library'); l.style.height = '550px'; </script> </body> </html> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.