Commit 4f89b131 authored by fgalinski's avatar fgalinski

[TASK] Real integration of Cloud Zoom

Sorry forgot to commit the files...


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pmkshadowbox/trunk@85773 735d13b6-9817-0410-8766-e36946ffe9aa
parent ad21a546
CREATE TABLE tt_content (
pmkshadowbox_use_cloud_zoom tinyint(4) unsigned DEFAULT '0' NOT NULL
);
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>database</type>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="pmkshadowbox_use_cloud_zoom">Use Cloud Zoom</label>
</languageKey>
<languageKey index="de" type="array">
<label index="pmkshadowbox_use_cloud_zoom">Cloud Zoom benutzen</label>
</languageKey>
</data>
</T3locallang>
\ No newline at end of file
/*
Cloud Zoom CSS. (c)2012-2013 Star Plugins.
*/
/* CSS for lens */
.cloudzoom-lens {
border:5px solid #888;
width:100px;
height:100px;
box-shadow: -0px -0px 10px rgba(0,0,0,0.40);
cursor:crosshair;
z-index: 10;
}
/* CSS for zoom window. */
.cloudzoom-zoom {
border:1px solid #888;
width:500px;
height:200px;
box-shadow: -0px -0px 10px rgba(0,0,0,0.40);
}
/* CSS for zoom window in 'inside' mode. */
.cloudzoom-zoom-inside {
border:none;
box-shadow:none;
}
/* CSS for captions */
.cloudzoom-caption {
display:none; /* CSS captions should be hidden initially */
text-align: left;
background-color:#000;
color:#fff;
font-weight:bold;
padding:10px;
font-family: sans-serif;
font-size:11px;
}
/* A blank image */
.cloudzoom-blank {
background-image:url(blank.png);
}
/* The animated ajax loading image */
.cloudzoom-ajax-loader {
background-image:url(ajax-loader.gif);
width:32px;
height:32px;
}
\ No newline at end of file
This diff is collapsed.
if (typeof CloudZoom !== 'undefined') {
CloudZoom.quickStart()
}
\ No newline at end of file
page.includeCSS.cloudZoom = EXT:pmkshadowbox/resources/cloudZoom/cloudzoom.css
page.includeJS {
cloudZoom = EXT:pmkshadowbox/resources/cloudZoom/cloudzoom.js
activateCloudZoom = EXT:pmkshadowbox/resources/public/scripts/activateCloudZoom.js
}
// @var tt_content.image.20.1 IMAGE
tt_content.image.20.1 {
params.dataWrap = class="cloudzoom" data-cloudzoom="zoomImage: '{TSFE:absRefPrefix}/{TSFE:lastImageInfo|origFile}', zoomPosition: 'inside', zoomOffsetX: 0, captionPosition: 'bottom'"
params.if.isTrue.data = field:pmkshadowbox_use_cloud_zoom
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment