Вернуться   Дизайнерский форум » ВЕБ-ПРОГРАММИРОВАНИЕ » HTML, CSS, JavaScript

помогите найти скрипт

Обсуждение темы помогите найти скрипт в разделе HTML, CSS, JavaScript, часть категории ВЕБ-ПРОГРАММИРОВАНИЕ; я хочу именно для body сделать для вертикальной прокрутки только Добавлено через 10 минут перепробывал различные варианты в частности с пустым без бекграунда ...


Закрытая тема
 
Опции темы
Старый 25.04.2010, 19:53   #11
я хочу именно для body сделать для вертикальной прокрутки только

Добавлено через 10 минут

перепробывал различные варианты в частности с пустым без бекграунда <body id='body' > - работать не хочет -вертикальная прокрутка остается. горизонтальную отключил в настройке
var bg = {height: 3500}

вариант сделать хотя бы страницу без верт и горизон прокрутки изначальной тоже не получился.

у вас есть пример работы данного скрипта иммено для такого случая с полноценным контентом? у меня такое ощущение что вся загвоздка в var bg = {height: 3500} - но непонятно относительно чего ставить высоту . там она ставилась относительно самой картинки но уменя сама картинка 900px-растягивается под любой размер а высота контента уходит далеко за 2000

Последний раз редактировалось DeCa; 25.04.2010 в 19:58.. Причина: Добавлено сообщение
 
Старый 25.04.2010, 19:53
Ссылки
Старый 28.04.2010, 18:23   #12
Вот тебе код этой страницы. Надеюсь Вы знаете как с ним работать (вставить в пустую страницу открытую в Microsoft FrontPage и обновить с заменой картинок и текста).
Списывай.
<html>
<head>
<meta http-equiv='CONTENT-TYPE' content='TEXT/HTML; CHARSET=WINDOWS-1251'>
<title>Сайты — Дизайн студия «Артиллерия»</title>
<meta name='description' content='Основные направления нашей работы: логотипы, фирменные стили, торговые марки и платформы брендов.'>
<meta name='keywords' content=''>
<script type='text/javascript' src='/_core/js/config.php'></script>
<script type='text/javascript' src='/_cache/autoexec_9f32809778d98ef3fd0841418f3d6eae.js'></script>
<style type='text/css' media='all'> @import "/_cache/autoexec_5c5522f1c12577c82728dc3e26ee452a.css"; </style>

<link rel='icon' href='/images/favicon/portfolio.ico' type='image/x-icon'>
<link rel='shortcut icon' href='/images/favicon/portfolio.ico' type='image/x-icon'>
<link rel='shortcut' href='/images/favicon/portfolio.ico' type='image/x-icon'>
<script type='text/javascript' src='/_templates/scripts.js'></script>
<style>

#body { background: #ebebeb; overflow: auto !important }
body, td { color: #2d2d2d }

a { color: #2d2d2d; text-decoration: underline }
a:hover { color: #00b4ff; text-decoration: underline }

#menu { background: url(/images/menu.gif) no-repeat 0px 0px; width: 210px; height: 133px }

.workType { color: #00b4ff }

</style>
<script>

var menuLeft = 1;
cmsAcc_menuInit();

</script>
<!--[if IE 6]>
<script type="text/javascript" src="/_templates/dd_belatedpng_0.0.7a-min.js"></script>
<script type="text/javascript">

pngFix_msie = false;
DD_belatedPNG.fix(".pngFix");

</script>
<![endif]-->
</head>
<body id='body'>

<!-- LOADER ----------------------------------------------------------------------------------------------------------------------------------------------------- -->


<!-- LOADER ----------------------------------------------------------------------------------------------------------------------------------------------------- -->

<div style='position: absolute; top: 0px; right: 0px; z-index: 100; width: 1px; height: 1px; overflow: hidden; visibility: hidden'>
</div>

<script>

// ------------------------------------------------------------------------------------------------------------------------------------------------------------- //
// -- V A R I A B L E S -- //
// ------------------------------------------------------------------------------------------------------------------------------------------------------------- //

var totalSize = 388073;
var bytesLoaded = 0;
var documentLoaded = false;

// ------------------------------------------------------------------------------------------------------------------------------------------------------------- //
// -- LOADED() - Display current loading state -- //
// ------------------------------------------------------------------------------------------------------------------------------------------------------------- //

function loaded(bytes) {

if (!documentLoaded) {

if (bytes == totalSize) bytesLoaded = totalSize; else bytesLoaded += bytes;
var pc = (bytesLoaded / totalSize) * 100;

$("#loadingCont").stop().animate({"width": pc + "%"}, 500, "linear", function() { //!!!!!

if (pc >= 99) {

$("#loadingLayer").hide();
$("#selection").css({"visibility": "visible"});
documentLoaded = true;

}

});

}

}

</script>

<!-- DEFAULT ---------------------------------------------------------------------------------------------------------------------------------------------------- -->

<table class='frame fullHeight'>

<tr><td colspan='3' class='paddingHeight' nowrap><div class='stopper' style='width: 1000px'></div></td></tr>

<tr>
<td width='8%' nowrap><div class='stopper stopperWidth'></div></td>
<td width='84%'>

<table class='frame'><tr>
<td class='menuMain'>

<div id='menu'><img src='/images/free.gif' width='210' height='133' usemap='#menu'></div>
<map name='menu'>
<!--<area onmouseover='cmsAcc_menu(1)' onmouseout='cmsAcc_menu(0)' href="/portfolio" shape="poly" coords="0,0, 23,0, 23,8, 99,8, 99,0, 108,0 108,8, 210,8, 210,31, 108,31, 108,40, 99,40, 99,31, 57,31, 57,40, 50,40, 50,31, 0,31">-->
<area onmouseover='cmsAcc_menu(2)' onmouseout='cmsAcc_menu(0)' href="/services" shape="poly" coords="0,32, 24,32, 24,41, 122,41, 122,65, 76,65, 76,73, 63,73, 63,65, 0,65">
<area onmouseover='cmsAcc_menu(3)' onmouseout='cmsAcc_menu(0)' href="/studio" shape="poly" coords="0,66, 24,66, 24,76, 124,76, 124,99, 81,99, 81,108, 39,108, 39,99, 0,99">
<area onmouseover='cmsAcc_menu(4)' onmouseout='cmsAcc_menu(0)' href="/contacts" shape="poly" coords="0,100, 22,100, 22,110, 170,110, 170,132, 0,132">
</map>

</td>
<td width='70%' class='menuWorks'>


<table class='frame'>
<tr height='12'><td colspan='10'></td></tr>
<tr>

<td width='25%'><div class='stopper' style='width: 30px'></div></td>
<td nowrap><span class='workType'>Сайты</span></td>
<td width='25%'><div class='stopper' style='width: 30px'></div></td>
<td nowrap><a href='/portfolio/identity'>Фирменные стили</a></td>
<td width='25%'><div class='stopper' style='width: 30px'></div></td>
<td nowrap><a href='/portfolio/polygraphy'>Полиграфия</a></td>
<td width='25%'><div class='stopper' style='width: 30px'></div></td>
<td nowrap><a href='/portfolio/misc'>Разное</a></td> </tr>
<tr height='37'><td colspan='11'></td></tr>
<tr>
<td></td>
<td colspan='10'>

</td></tr></table>

</td>
<td width='30%'><img src='/images/free.gif' width='100' height='1'></td>
<td class='menuMain'><a href='/'><img src='/images/logo.png' alt='Артиллерия' class='pngFix'></a></td>
</tr></table>

</td>
<td width='8%' nowrap><div class='stopper stopperWidth'></div></td>
</tr>

<tr height='60%'>
<td></td>
<td class='menuMain'>

<!-- ------------------------------------------------------------------------------------------------------------------------------------------------------ -->
<!-- PORTFOLIO LAYER -->
<!-- ------------------------------------------------------------------------------------------------------------------------------------------------------ -->

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/baltic-auto'><img src='/files/portfolio/bauto/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_0' style='margin: auto 0px 0px 0px; color: #000000'>Балтик Авто</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/geofishing'><img src='/files/portfolio/geofish/site/smple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_1' style='margin: auto 0px 0px 0px; color: #FFFFFF'>Геофиш</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/rosmetall'><img src='/files/portfolio/rosmetall/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_2' style='margin: auto 0px 0px 0px; color: #473752'>Росметалл</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/shop.geofishing'><img src='/files/portfolio/geofish/shop/simpl.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_3' style='margin: auto 0px 0px 0px; color: #000000'>Магазин компании «Геофиш»</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/nevart'><img src='/files/portfolio/nevart/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_4' style='margin: auto 0px 0px 0px; color: #FFFFFF'>Неварт</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/fineurotour'><img src='/files/portfolio/fineuro/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_5' style='margin: auto 0px 0px 0px; color: #000000'>Финевротур</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/aza-web'><img src='/files/portfolio/aza_site/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_6' style='margin: auto 0px 0px 0px; color: #FFFFFF'>AZA</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/portal'><img src='/files/portfolio/portal/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_7' style='margin: auto 0px 0px 0px; color: #000000'>Портал</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/arenaholl'><img src='/files/portfolio/arenaholl/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_8' style='margin: auto 0px 0px 0px; color: #FFFFFF'>Арена Холл</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/saturn'><img src='/files/portfolio/saturn/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_9' style='margin: auto 0px 0px 0px; color: #FFFFFF'>Сатурн</a>
</td></tr></table>
</div>

<div style='width: 250px; height: 170px; float: left; margin: 0px 3px 3px 0px'>
<div><a href='/portfolio/web/malta'><img src='/files/portfolio/malta/simple.jpg' style='width: 250px; height: 170px'></a></div>
<table class='frame' style='height: 60px; margin-top: -60px'><tr><td style='vertical-align: bottom'>
<a href='/portfolio/web/' class='portfolioLink' id='portfolioLink_10' style='margin: auto 0px 0px 0px; color: #FFFFFF'>Мальтинская</a>
</td></tr></table>
</div>


<!-- ------------------------------------------------------------------------------------------------------------------------------------------------------ -->
<!-- PORTFOLIO LAYER -->
<!-- ------------------------------------------------------------------------------------------------------------------------------------------------------ -->

</td>
<td></td>
</tr>

<tr>
<td></td>
<td class='copyright' id='copyright'>

<table class='frame autoWidth'><tr>
<td width='100%'><!--<a href='/portfolio/animated/web'><img src='/images/view_animated.gif' class='iconView'>Перейти к анимированному просмотру</a>--></td>
<td align='right' nowrap>(812) 747-20-33</td>
<td width='50' nowrap></td>
<td align='right' nowrap>

<table width="170">
<tr>
<td class="footer_hover">
<a href="skype:Artilleriastudio"><img src="/images/skype.gif" width="16" height="16" alt="Artilleriastudio"></a>
</td>
<td><img src="/images/free.gif" width="10" height="1" alt=""></td>
<td class="footer_hover">

<img src="/images/online1.gif" align="absmiddle" border="0" alt="397-368-358" title="397-368-358">

</td>
<td style="width:100%; text-align:right;"><a href='mailto:[email protected]'>[email protected]</a></td>
</tr></td>
</tr></table>
<div id="footer_hover"></div>



</td>
<td></td>
</tr>

<tr><td colspan='5' class='paddingHeight' nowrap><div class='stopper' style='width: 1000px'></div></td></tr>

</table>

<!-- ------------------------------------------------------------------------------------------------------------------------------------------------------------ -->

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5419365-1");
pageTracker._trackPageview();
</script>

<!-- YaMetrics begin -->
<script type="text/javascript"><!--
var ya_cid=155505;
//--></script>
<script src="http://bs.yandex.ru/resource/watch.js" type="text/javascript"></script>
<noscript><div style="display: inline;"><img src="http://bs.yandex.ru/watch/155505" width="1" height="1" alt=""></div></noscript>
<!-- YaMetrics end -->
</body>
</html>
 
Старый 28.04.2010, 18:23
Закрытая тема




Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Помогите найти скрипт php! sasha.kg ASP, Perl, PHP и MySQL 1 13.07.2009 06:48
помогите найти скрипт рассылки gatto HTML, CSS, JavaScript 10 22.02.2005 13:43
Помогите найти скрипт SMERH ASP, Perl, PHP и MySQL 4 19.11.2004 12:31
Нужен скрипт комментария. Помогите найти! plz Skiminok HTML, CSS, JavaScript 9 16.08.2003 19:53
Помогите найти скрипт Shumell_Veter HTML, CSS, JavaScript 0 17.07.2003 10:25


Текущее время: 16:19. Часовой пояс GMT +4.

Реклама на форуме Условия размещения рекламы
Биржа ссылок Заработай на сайте!
Дизайнерский форум