Forum Moderators: open

Message Too Old, No Replies

MSIE Error:expected ')'

unsolved error message in html

         

Larry_Keith

8:54 pm on May 31, 2003 (gmt 0)



When loading the following lines I get with MSIE the "Error:expected ')' " message the lines are

<div id="Layer1" style="position:absolute; left:0px; top:0px; width:208px; height:170px; z-index:1"><img src="jpg\pinelogo.jpg" width="200" height="164"></div>

<div id="Layer3" style="position:absolute; left:49px; top:318px; width:81px; height:68px; z-index:3"><a href="bedroom.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('document.layers[\'bedlogo\']','document.all[\'bedlogo\']','hide')" onMouseOver="MM_swapImage(_document.layers%5B\_Layer3\_%5D.document.Image3_,_document.Image3_,_jpg\bedroomb.jpg_,_#1006792531960');MM_showHideLayers('document.layers[/'bedlogo/']','document.all[/'bedlogo/']','show')"><img name="Image3" border="0" src="jpg\bedrooma.jpg" width="75" height="62"></a></div>

<div id="Layer4" style="position:absolute; left:49px; top:253px; width:82px; height:65px; z-index:4"><a href="diningroom.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('document.layers[\'dininglogo\']','document.all[\'dininglogo\']','hide')" onMouseOver="MM_swapImage(_document.layers%5B\_Layer4\_%5D.document.Image4_,_document.Image4_,_jpg\diningroomb.jpg_,_#1006792560520');MM_showHideLayers('document.layers[/'dininglogo/']','document.all[/'dininglogo/']','show')"><img name="Image4" border="0" src="jpg\diningrooma.jpg" width="75" height="62"></a></div>

<div id="Layer5" style="position:absolute; left:49px; top:181px; width:81px; height:70px; z-index:5"><a href="livingroom.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('document.layers[\'bedlogo\']','document.all[\'bedlogo\']','hide');MM_showHideLayers('document.layers[\'livinglogo\']','document.all[\'livinglogo\']','hide')" onMouseOver="MM_swapImage(_document.layers%5B\_Layer5\_%5D.document.Image5_,_document.Image5_,_jpg\livingroomb.jpg_,_#1006792623740');MM_showHideLayers('document.layers[/'livinglogo/']','document.all[/'livinglogo/']','show')"><img name="Image5" border="0" src="jpg\livingrooma.jpg" width="75" height="62"></a></div>

<div id="Layer6" style="position:absolute; left:49px; top:482px; width:82px; height:72px; z-index:6"><a href="mailto:sales@pine-specialists.co.uk%20?subject=%22General%20Enquiry%22" onMouseOut="MM_swapImgRestore();MM_showHideLayers('document.layers[\'contactlogo\']','document.all[\'contactlogo\']','hide')" onMouseOver="MM_swapImage(_document.layers%5B\_Layer6\_%5D.document.Image6_,_document.Image6_,_jpg\contactusb.jpg_,_#1006792652800');MM_showHideLayers('document.layers[/'contactlogo/']','document.all[/'contactlogo/']','show')"><img name="Image6" border="0" src="jpg\contactusa.jpg" width="75" height="62"></a></div>

<div id="Layer7" style="position:absolute; left:210px; top:0px; width:450px; height:145px; z-index:7"><img src="jpg\pslogo2.jpg" width="453" height="135"></div>

I have checked over them time and time again but cannot see where the problem is.
The original was built using dreamweaver 2 / 4. It is driving me crazy, please restore my sanity

Sinner_G

9:35 pm on May 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Doesn't it say on which line the ) is expected or on which line the error is?

RonPK

9:37 am on Jun 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Larry, Welcome to WebmasterWorld.

All your problems will vanish if you correct some typo's:
* %5B should be [
* %5D should be ]
* _document.Image3_ should be 'document.Image3' (et cetera)
* use backslashes to escape quotes, like \' . You're using forward slashes in some places
* allways use forward slashes in URLs (even on Windows :)

Also, please wrap long lines when posting to this board...