Added jquery, zoomer. lots of work to port the code to jquery

This commit is contained in:
q
2012-05-23 12:33:49 +03:00
parent d07a973377
commit 0565228767
2 changed files with 634 additions and 17 deletions

View File

@@ -182,8 +182,9 @@ margin-right: auto;
padding-left: 0px;
padding-right: 0px;
}
.imagebig {
#imagebig {
text-align: center;
margin: 0px auto;
}
input {
padding: 0px 0px 0px 0px;
@@ -235,3 +236,43 @@ img {
margin-bottom: -16px;
margin-top: 1px;
}
/* This is the moving lens square underneath the mouse pointer. */
.cloud-zoom-lens {
border: 4px solid #888;
margin:-4px; /* Set this to minus the border thickness. */
background-color:#fff;
cursor:move;
}
/* This is for the title text. */
.cloud-zoom-title {
font-family:Arial, Helvetica, sans-serif;
position:absolute !important;
background-color:#000;
color:#fff;
padding:3px;
width:100%;
text-align:center;
font-weight:bold;
font-size:10px;
top:0px;
}
/* This is the zoom window. */
.cloud-zoom-big {
border:4px solid #ccc;
overflow:hidden;
}
/* This is the loading message. */
.cloud-zoom-loading {
color:white;
background:#222;
padding:3px;
border:1px solid #000;
}