| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Sergey M. 09.04.2003 15:37
скрипт примерно такой:var openwind;
function openWin(html, scroller, width, height)
{
if (openwind != null) {openwind.close();}
openwind =
window.open(html,'','resizable=no,menubar=no,status=no,scrollbars='+scroller+',width='+width+',height='+height);
}вызываем: @fotos[]
$fotki[^table::load[fotki.cfg]]
$var(5)
<table width=100% cellpadding=4>
<tr>
^fotki.menu{
$photo[^image::measure[$fotki.uri]]
^if(^fotki.line[] > $var){</tr><tr>^var.inc(5)}
<td align="middle">
<a href="javascript: openWin('$fotki.uri','no',$photo.width,$photo.height)^;"><img src="$fotki.sm" alt="$fotki.comment" border=0></a>
</td>
}
</tr>
</table>