IF_THEN_ELSE: what's wrong here?

Results 1 to 2 of 2

Thread: IF_THEN_ELSE: what's wrong here?

  1. #1
    Join Date
    Dec 1969

    Default IF_THEN_ELSE: what's wrong here?

    I get error with this IF, what&#039;s wrong?<BR><BR><BR>var stateWinX=DynAPI.document.all["Finestra"].getWidth()<BR>var stateWinY=DynAPI.document.all["Finestra"].getHeight()<BR>var operX=document.body.clientWidth<BR>var operY=document.body.clientHeight<BR> <BR><BR> If (stateWinX == operX)<BR> {<BR> stateWinX=operX<BR> stateWinY=operY<BR> }<BR> target.setWidth(stateWinX)<BR> target.setHeight(stateWinY)<BR>

  2. #2
    Join Date
    Dec 1969

    Default JavaScript is CaSe SenSiTiVe.

    if(stateWinX == operX)<BR><BR>-Doug

Posting Permissions

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