Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Location
    UK
    Posts
    35

    Default Error on page code 0 invalid arguement

    Dear All,

    I have tried to resolve this by reference to the forum but cannot find a posting that covers this.

    IE 7 is giving an error on page error when the page incorporates a xara generated js script.

    The script works perfectly. But the warning icon shows in the browser - bottom left corner.

    I enclose the offending line of script from the roe.js file.

    function rx(){var ww=document.documentElement.clientWidth;dx=(ww-parseInt(xr.style.width))/2;i=-parseInt(xr.style.width)/2;if(dx<0){i-=dx;dx=0;};xr.style.marginLeft=i+"px";document.bod y.style.backgroundPosition=dx+"px 0px";}


    Any advice gratefully received.

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Error on page code 0 invalid arguement

    Have you altered the produced HTML in any way?
    Does this error appear when exporting Xara HTML templates?
    Can you provide either xar file or exported html file?
    Thank you.
    John.

  3. #3
    Join Date
    Mar 2009
    Location
    UK
    Posts
    35

    Default Re: Error on page code 0 invalid arguement

    Hi John, Sorry for the extended delay in replying I have been travelling.

    Well yes I tidied around the HTML as I embedded in the rest of my code:

    <div id="bannerbox">

    <!-- Xara Flash Animation Script Start -->

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="660" height="260"> <param name="movie" value="../0 - Images/AllModelsBanner.swf" />
    <param name="quality" value="high" />
    <param name="menu" value="true" />
    <EMBED src="../0 - Images/AllModelsBanner.swf" quality="high" bgcolor="#FFFFFF" WIDTH="660" HEIGHT="260" NAME="../0 - Images/AllModelsBanner.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    </object>

    </div> <!-- bannerbox -->

    Sorry this cut and paste hasn't formatted very well. Does this help?


    Regards

    Mike

  4. #4
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Error on page code 0 invalid arguement

    Try to open unaltered (just exported) page in the browser. If the error remains, I'll have to take a look either at produced HTML or the original design file.
    John.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •