Mediastrategi_Shadowmedia - Version 0.5.2

Version Notes

Bug fixes

Download this release

Release Info

Developer Mediastrategi
Extension Mediastrategi_Shadowmedia
Version 0.5.2
Comparing to
See all releases


Code changes from version 0.5.1 to 0.5.2

app/code/local/Mediastrategi/Shadowmedia/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Mediastrategi_Shadowmedia>
5
- <version>0.5.1</version>
6
  </Mediastrategi_Shadowmedia>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Mediastrategi_Shadowmedia>
5
+ <version>0.5.2</version>
6
  </Mediastrategi_Shadowmedia>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mediastrategi_Shadowmedia</name>
4
- <version>0.5.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.mediastrategi.se/license/">Mediastrategi EULA</license>
7
  <channel>community</channel>
@@ -20,9 +20,9 @@ Features - Lite version:&#xD;
20
  - Set interval parameters for the lightbox to control when it will appear again for returning visitors</description>
21
  <notes>Bug fixes</notes>
22
  <authors><author><name>Mediastrategi</name><user>mediastrategi</user><email>support@mediastrategi.se</email></author></authors>
23
- <date>2015-02-12</date>
24
- <time>12:01:56</time>
25
- <contents><target name="magelocal"><dir name="Mediastrategi"><dir name="Shadowmedia"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Editor.php" hash="7bcbaaa0d041f2d83b7da33e0a5cfe90"/></dir></dir></dir><file name="Shadowmedia.php" hash="0793b18520511a4cf1a21c30b5061682"/></dir><dir name="Model"><dir name="Source"><file name="Effects.php" hash="ddaed5d721806280230a83d4a541562a"/><file name="Units.php" hash="927b4c0ed8fdfaca32526e860a6f0537"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="06ce8a89fff0363f612c1f61ff172cd7"/><file name="config.xml" hash="542aa018d89877f03a4397dadfda5fcb"/><file name="system.xml" hash="938b01da21afac4628c46a12e2c72069"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mediastrategi_Shadowmedia.xml" hash="13b51e1e41f4456e4de03147c28849f1"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mediastrategi_shadowmedia.xml" hash="9483ee317d8ccdec6b6b77869aabbfa4"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mediastrategi_shadowmedia.xml" hash="55e74af26a614922237ef2ff12382e5f"/></dir><dir name="template"><dir name="mediastrategi_shadowmedia"><file name="shadowmedia.phtml" hash="d804fb32ff2f52d2d30bb7c08d2564de"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mediastrategi_shadowmedia.css" hash="3c72d5f1d084e60f4b2f4a30088a7a74"/></dir><dir name="js"><file name="mediastrategi_shadowmedia.js" hash="dae9ed6ff1befa655ce7f65ff5bd1c98"/><file name="jquery.fitvids.js" hash="8d641f726c1938c3fc006484939efc1e"/></dir><dir name="images"><dir name="mediastrategi_shadowmedia"><file name="close.png" hash="8539b3d9600fd90dbcf4b6138292593a"/></dir></dir></dir></dir></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mediastrategi_Shadowmedia</name>
4
+ <version>0.5.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.mediastrategi.se/license/">Mediastrategi EULA</license>
7
  <channel>community</channel>
20
  - Set interval parameters for the lightbox to control when it will appear again for returning visitors</description>
21
  <notes>Bug fixes</notes>
22
  <authors><author><name>Mediastrategi</name><user>mediastrategi</user><email>support@mediastrategi.se</email></author></authors>
23
+ <date>2015-02-13</date>
24
+ <time>08:16:56</time>
25
+ <contents><target name="magelocal"><dir name="Mediastrategi"><dir name="Shadowmedia"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Editor.php" hash="7bcbaaa0d041f2d83b7da33e0a5cfe90"/></dir></dir></dir><file name="Shadowmedia.php" hash="0793b18520511a4cf1a21c30b5061682"/></dir><dir name="Model"><dir name="Source"><file name="Effects.php" hash="ddaed5d721806280230a83d4a541562a"/><file name="Units.php" hash="927b4c0ed8fdfaca32526e860a6f0537"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="06ce8a89fff0363f612c1f61ff172cd7"/><file name="config.xml" hash="4edf5c244ae7b4037f9ce53af202aee9"/><file name="system.xml" hash="938b01da21afac4628c46a12e2c72069"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mediastrategi_Shadowmedia.xml" hash="13b51e1e41f4456e4de03147c28849f1"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mediastrategi_shadowmedia.xml" hash="9483ee317d8ccdec6b6b77869aabbfa4"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mediastrategi_shadowmedia.xml" hash="55e74af26a614922237ef2ff12382e5f"/></dir><dir name="template"><dir name="mediastrategi_shadowmedia"><file name="shadowmedia.phtml" hash="d804fb32ff2f52d2d30bb7c08d2564de"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mediastrategi_shadowmedia.css" hash="82e2c29716fa79b357cb2c4e8d7beb84"/></dir><dir name="js"><file name="mediastrategi_shadowmedia.js" hash="8fa6991ee3969fc4ce4d4a3f19b1fe6a"/><file name="jquery.fitvids.js" hash="8d641f726c1938c3fc006484939efc1e"/></dir><dir name="images"><dir name="mediastrategi_shadowmedia"><file name="close.png" hash="8539b3d9600fd90dbcf4b6138292593a"/></dir></dir></dir></dir></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
28
  </package>
skin/frontend/base/default/css/mediastrategi_shadowmedia.css CHANGED
@@ -19,7 +19,7 @@
19
  }
20
 
21
  .shadowmedia-modal {
22
- position: fixed;
23
  z-index: 9999;
24
  top: 50%;
25
  left: 50%;
@@ -44,7 +44,8 @@
44
  max-width: 100%;
45
  }
46
 
47
- .shadowmedia-modal.shadowmedia-open.shadowmedia-anchored {
 
48
  top: 20px;
49
  -webkit-transform: translate(-50%, 0);
50
  -moz-transform: translate(-50%, 0);
19
  }
20
 
21
  .shadowmedia-modal {
22
+ position: absolute;
23
  z-index: 9999;
24
  top: 50%;
25
  left: 50%;
44
  max-width: 100%;
45
  }
46
 
47
+ .shadowmedia-modal.default.shadowmedia-open.shadowmedia-anchored,
48
+ .shadowmedia-modal.fade-and-drop-from-top.shadowmedia-open.shadowmedia-anchored {
49
  top: 20px;
50
  -webkit-transform: translate(-50%, 0);
51
  -moz-transform: translate(-50%, 0);
skin/frontend/base/default/js/mediastrategi_shadowmedia.js CHANGED
@@ -1,4 +1,4 @@
1
- // Create an immediately invoked functional expression to wrap our code
2
  (function() {
3
 
4
  // Define our constructor
@@ -23,7 +23,7 @@
23
  overlay: true
24
  };
25
 
26
- // Create options by extending defaults with the passed in arugments
27
  if (arguments[0] && typeof arguments[0] === "object") {
28
  this.options = extendDefaults(defaults, arguments[0]);
29
  }
@@ -127,15 +127,12 @@
127
  }
128
 
129
  function initializeEvents() {
130
-
131
  if (this.closeButton) {
132
  this.closeButton.addEventListener('click', this.close.bind(this));
133
  }
134
-
135
  if (this.overlay) {
136
  this.overlay.addEventListener('click', this.close.bind(this));
137
  }
138
-
139
  }
140
 
141
  function transitionSelect() {
1
+
2
  (function() {
3
 
4
  // Define our constructor
23
  overlay: true
24
  };
25
 
26
+ // Create options by extending defaults with the passed in arguments
27
  if (arguments[0] && typeof arguments[0] === "object") {
28
  this.options = extendDefaults(defaults, arguments[0]);
29
  }
127
  }
128
 
129
  function initializeEvents() {
 
130
  if (this.closeButton) {
131
  this.closeButton.addEventListener('click', this.close.bind(this));
132
  }
 
133
  if (this.overlay) {
134
  this.overlay.addEventListener('click', this.close.bind(this));
135
  }
 
136
  }
137
 
138
  function transitionSelect() {