SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    :) delemtri's Avatar
    Join Date
    Jun 2001
    Posts
    579
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    unterminated string constant

    Why?!!! What's wrong wtih this JavaScript?

    Code:
    <script><!--
    w = screen.width; if (w<=640) { wa=640; } else if (w<=800) { wa=800; } else if (w<=1024) { wa=1024; } else if (w<=1280) { wa=1280; } else { wa=1600; }
    document.write('<body bgcolor="#181868" text="#CCCCCC" link="#00CC66" alink="#33CCFF" vlink="#33CC99"
     background="http://common.ryftweb.com/bgpic/bg'); document.write(wa); document.write('_0.gif" style="background-repeat:no-repeat">');
    // --></script><noscript><body bgcolor="#181868" text="#CCCCCC" link="#00CC66" alink="#33CCFF" vlink="#33CC99"
     background="http://common.ryftweb.com/bg1024_0.gif" style="background-repeat:no-repeat"></noscript>
    <link rel="stylesheet" type="text/css" href="http://common.ryftweb.com/style/style0.css">
    <basefont face="arial" size="2">
    <table width=100% cellspacing=0 cellborder=0 border=0 cellpadding=0><tr><td align=left><script><!--
    tw=wa / 4; th=wa / 6; document.write('<img src="http://common.ryftweb.com/transp.gif" width=' + tw + ' height=' + th + '>');
    // --></script>

  2. #2
    :) delemtri's Avatar
    Join Date
    Jun 2001
    Posts
    579
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind, fixed it.


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
  •