Reply to Re: Variable Replacement in HTML

Your name:

Reply:


Posted by Neredbojias on 01/18/74 11:58

To further the education of mankind, Bill Burke
<Bill_member@newsguy.com> vouchsafed:

> Hello,
>
> I am trying to use variable replacement to define the size of a web
> page. I have pasted the single line of code below - variable $bigPIC
> works, but $bigWIDTH and $bigHEIGHT don't.
>
> <td height="19" width="338"><a href="#"
> onClick="MyWindow=window.open($bigPIC
> ,'MyWindow',$bigWIDTH,$bigHEIGHT,'toolbar=no,location=no,directories=no
> , status=no,menubar=no,scrollbars=no,resizable=no,left=100,top=100');
> return false;">&gt; click here for a larger view &lt;</a></td>
>
....


Your window.open attribute line is wrong. There are 3 discrete sections at
most - separated by commas; if using variables, you might need to
concetate.

--
Neredbojias
Infinity has its limits.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация