I am trying to code something that will produce a link to a pop-out frame only when the frame starts a new game(which happens randomly). I automatically assumed that this part of the url;" &isGameActive=true " would come into the 'if' statement however so far I can't seem to find the right coding to suit this. I can explain more if this is unclear and any help is very much appreciated.
As far as HTML concern there is no logic statement as it is not a scripting language. Perhaps you can do this with JavaScript. Try posting in the javascript subforum. I'm sure you'll get a responce. Thanks
If statements is in html are actually essential. I've only ever used them to perceive the browser as well as browser version. I am not sure, if they can be used to do something else, as I have never tried to do that. IF statements need to be within HTML comments, i.e. <! -- --> HTML: IE is the one browser that will run these IF statements as it is the only browser that implement HTML comments. All the other browsers ignore HTML comments.
What you mean are conditional comments -> http://en.wikipedia.org/wiki/Conditional_Comments You definitely have to use JS or PHP to achieve your goal.
You'll need some javascript interaction, or server-side php scripting. HTML won't give you anything but a static display feed, and can't be "programmed" for conditional statements and variable behaviour.