Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
semprom каза:Устройва ли та FLASH ?
FirstBlood каза:http://web-tourist.net/login/login/view.php?st=1647
Виж това. За форум е, но според мен лесно ще се нагласи и за без форум![]()
akolevutd каза:e па и претенции...има безброй такива в нета
тук има същата http://www.dynamicdrive.com/
MontefuckeR каза:Задължително ли е да е с бд?
<html>
<head>
<title></title>
<style type="text/css">
dl.gallery { margin: 0; padding: 0; width: 573px; height: 380px; overflow: hidden; background-image: url('fabrika1.jpg'); }
dl.gallery dt {
width: 130px; height: 270px;
padding-right: 40px;
padding-left: 10px;
text-align: center;
overflow: auto;
font-size: 0;
float: left;
}
dl.gallery dt img {
border: 1px solid #000;
margin: 5pt 0;
}
dl.gallery dd {
background: url('loader.gif') no-repeat center;
height: 270px; width: 360px;
margin: 0; padding: 0;
position: relative;
text-align: center;
float: left;
}
dl.gallery dt, dl.gallery dd { margin-top: 80px; }
a.up, a.down {
background-repeat: no-repeat;
width: 14px; height: 14px;
position: absolute;
cursor: pointer;
display: block;
font-size: 0;
left: -40px;
}
a.down { bottom: 20px; background-image: url('down.gif'); }
a.up { top: 20px; background-image: url('up.gif'); }
br.bent { clear: both; }
</style>
<script type="text/javascript">
function Elements( OBJ, TagName ) {
return OBJ.getElementsByTagName( TagName.toUpperCase() );
}
function Element( ID ) { return document.getElementById( ID ); }
function GetDelta(e) {
if(!e) e = window.event;
if( e.wheelDelta )
delta = e.wheelDelta/120;
else if( e.detail )
delta = -e.detail/3;
return delta;
}
function PreventDefault( e ) {
if( window.event )
window.event.returnValue = false;
else if( e )
e.preventDefault();
}
function Gallery( ID, e ) {
var SELF = this;
SELF.gallery = Element(ID);
SELF.thumbs = Elements( SELF.gallery, 'dt' )[0];
SELF.timer = null;
SELF.step = 5;
SELF.thumbs.style.overflow = 'hidden';
var Images = Elements( this.gallery, 'img' );
var count = Images.length;
SELF.pic = Images[--count];
SELF.pic.style.visibility = 'hidden';
SELF.pic.onload = function() {
this.style.visibility = 'visible';
}
for(var i=0; i<count; i++) {
Images[i].onclick = function(e) {
SELF.pic.style.visibility = 'hidden';
SELF.SetPic( this.parentNode.href );
PreventDefault(e);
}
}
var Links = Elements( this.gallery, 'a' );
var Down = Links[Links.length - 2];
var Up = Links[Links.length - 1];
Up.onmouseover = function() {
SELF.timer = window.setInterval( function() { SELF.Scroll(1, 5) }, 1 );
}
Down.onmouseover = function() {
SELF.timer = window.setInterval( function() { SELF.Scroll(-1, 5) }, 1 );
}
Up.onmouseout = Down.onmouseout = function() { window.clearInterval(SELF.timer); }
SELF.thumbs.onmousewheel = function(e) {
SELF.Scroll(-GetDelta(e), 20);
PreventDefault(e);
}
if( window.addEventListener ) {
SELF.thumbs.addEventListener(
'DOMMouseScroll',
function(e) {
SELF.Scroll(-GetDelta(e), 20);
PreventDefault(e);
},
false
);
}
}
Gallery.prototype.SetPic = function( SRC ) {
this.pic.src = SRC;
}
Gallery.prototype.Scroll = function( DIR, STEP ) {
this.thumbs.scrollTop += DIR * STEP;
}
</script>
</head>
<body>
<dl class="gallery" id="gallery1">
<dt class="thumbs">
<a href="K1.jpg">
<img src="K1thumbnail.jpg" alt="" /></a>
<a href="K2.jpg">
<img src="K2thumbnail.jpg" alt="" /></a>
<a href="K3.jpg">
<img src="K3thumbnail.jpg" alt="" /></a>
<a href="K4.jpg">
<img src="K4thumbnail.jpg" alt="" /></a>
<a href="K4.jpg">
<img src="K4thumbnail.jpg" alt="" /></a>
<a href="K4.jpg">
<img src="K4thumbnail.jpg" alt="" /></a>
</dt>
<dd>
<a href="#top" class="up"></a>
<a href="#bottom" class="down"></a>
<img src="K1.jpg" alt="" />
</dd>
</dl>
<script type="text/javascript">
/*<![CDATA[*/ new Gallery( 'gallery1' ); //]]>
</script>
<dl class="gallery" id="gallery2">
<dt class="thumbs">
<a href="K1.jpg">
<img src="K1thumbnail.jpg" alt="" /></a>
<a href="K2.jpg">
<img src="K2thumbnail.jpg" alt="" /></a>
<a href="K3.jpg">
<img src="K3thumbnail.jpg" alt="" /></a>
<a href="K4.jpg">
<img src="K4thumbnail.jpg" alt="" /></a>
<a href="K4.jpg">
<img src="K4thumbnail.jpg" alt="" /></a>
<a href="K4.jpg">
<img src="K4thumbnail.jpg" alt="" /></a>
</dt>
<dd>
<a href="#top" class="up"></a>
<a href="#bottom" class="down"></a>
<img src="K1.jpg" alt="" />
</dd>
</dl>
<script type="text/javascript">
/*<![CDATA[*/ new Gallery( 'gallery2' ); //]]>
</script>
</body>
</html>
първата много ми хареса обаче като са по големи снимките и ги изкарва извън рамкатаwinbooz3 каза: