| By: Gustaf Date: 2006-06-25 Time: 15:26 | Problem with ifI have problems with the following code: | [var.Page;if [val]==home; then ' <body onload="MM_preloadImages('images/infoover.jpg','images/infoout.jpg');">
 '; else '
 <body>
 ']
 
 | 
In the HTML-sourcecode I get
 | ' <body onload="MM_preloadImages('images/infoover.jpg','images/infoout.jpg');">
 '
 | 
if $Page == home.
 
How do I get rid of the '? | 
	
      | By: pfpro Date: 2006-06-26 Time: 08:53 | Re: Problem with iftry double quotes | 
	
      | By: Gustaf Date: 2006-06-26 Time: 18:40 | Re: Problem with ifDoes'nt work, still have the same problem because I have a " in the onload-tag. | 
	
      | By: pfpro Date: 2006-06-27 Time: 09:57 | Re: Problem with if<code>[var.Page;if [val]==home; then '
 <body onload="MM_preloadImages(''images/infoover.jpg'',''images/infoout.jpg'');">
 '; else '
 <body>
 ']
 </code>
 
 doesn't work?
 | 
	
      | By: pfpro Date: 2006-06-27 Time: 09:58 | Re: Problem with ifshould be: | [var.Page;if [val]==home; then ' <body onload="MM_preloadImages(''images/infoover.jpg'',''images/infoout.jpg'');">
 '; else '
 <body>
 ']
 
 | 
doesn't work? | 
	
      | By: Gustaf Date: 2006-06-27 Time: 20:38 | Re: Problem with ifPerfect!I misunderstood before.
 Thank you.
 | 
	
    
	
    
      |  | 
		  Posting in progress.Please wait...
 |