Re: Размер приложения по содержанию
Добавлено: 13 ноя 2011, 16:42
Да, он в joomla по-умолчанию грузится.Александр писал(а): jQuery подключаешь для использования $(document).ready ?
Да, он в joomla по-умолчанию грузится.Александр писал(а): jQuery подключаешь для использования $(document).ready ?
Код: Выделить всё
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html id="vkontakte" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head> <title>XXX</title><meta http-equiv="content-type" content="text/html; charset=windows-1251"><link rel="stylesheet" href="photo45674_123751190_files/rustyle.css" type="text/css"><script src="photo45674_123751190_files/common.js"></script><script type="text/javascript" src="photo45674_123751190_files/lang0_0-1000.js"></script><link rel="stylesheet" href="photo45674_123751190_files/photos2.css" type="text/css"><script type="text/javascript" src="photo45674_123751190_files/photo.js"></script><link rel="stylesheet" href="photo45674_123751190_files/dialog2.css" type="text/css"><link rel="stylesheet" href="photo45674_123751190_files/mail2.css" type="text/css"><link rel="stylesheet" href="photo45674_123751190_files/search.css" type="text/css"><script type="text/javascript" src="photo45674_123751190_files/utils.js"></script><link rel="stylesheet" href="photo45674_123751190_files/wall.css" type="text/css"><script type="text/javascript" src="photo45674_123751190_files/tagger3.js"></script><script type="text/javascript" src="photo45674_123751190_files/ui_controls.js"></script><script src="js/code.js" type="text/javascript"></script> <script type="text/javascript" src="developers.php_files/wiki.js"></script> <script type="text/javascript"> function autosize(width) { if (!document.getElementById('page')) { return; } if (typeof VK.callMethod != 'undefined') { VK.callMethod('resizeWindow', width, document.getElementById('page').clientHeight + 60); } else { setTimeout('autosize('+width+')', 100); } } $(document).ready( function(){ setInterval('autosize(607)', 500); });</script></head><body><!-- pageBody --><div id="page"> <div id="wrapH"> <div id="wrapHI"> <div id="header"><h1> <center><a href="http://xxx">xxx</a></center></h1></div> </div> </div> <div class="button_yes"><div style="background-color: rgb(109, 143, 179); border-color: rgb(126, 156, 188) rgb(255, 130, 171) rgb(92, 130, 171);" id="button0">« Назад в Главное Меню </b></div></div><script type="text/javascript">createButton('button0', function() {location.href='http://xxx/';});</script> <div id="photodate"><h2>Первый Сезон:</h2></div> <div id="photodate"><br /><div class="button_no"><div style="background-color: rgb(109, 143, 179); border-color: rgb(126, 156, 188) rgb(92, 130, 171) rgb(92, 130, 171);" id="button1">xxx » </div></div><script type="text/javascript">createButton('button1', function() {location.href='s7s1.html';});</script> <div class="button_no"><div style="background-color: rgb(109, 143, 179); border-color: rgb(126, 156, 188) rgb(92, 130, 171) rgb(92, 130, 171);" id="button20">xxx » </div></div></div><script type="text/javascript">createButton('button20', function() {location.href='s7s20.html';});</script> <div id="photodate"><br /><img src="1.jpg" border="0" height="300" width="220"></div> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><a id="reportLink" href="####">xxx</a> v.1.6.4VK © <a id="reportLink" href="http://vkontakte.ru/xxx" target="_blank">xxxr* Studio INC. <br> Главный администратор приложения: <b>xxx</b></a></center></div> </body></html>
Код: Выделить всё
function autosize(width) { if (!document.getElementById('content')) { return; } if (typeof VK.callMethod != 'undefined') { VK.callMethod('resizeWindow', width, document.getElementById('content').clientHeight); } else { setTimeout('autosize('+width+')', 100); }} setInterval('autosize(700)', 500);