Youama_Slider - Version 2.2.1

Version Notes

If there is jQuery problem by another module what implement jquery, please uncomment the jquery.js line in layout.xml.

Download this release

Release Info

Developer David Belicza
Extension Youama_Slider
Version 2.2.1
Comparing to
See all releases


Code changes from version 2.2.0 to 2.2.1

app/code/community/Youama/Slider/etc/config.xml CHANGED
@@ -30,7 +30,7 @@
30
  <config>
31
  <modules>
32
  <Youama_Slider>
33
- <version>2.2.0</version>
34
  </Youama_Slider>
35
  </modules>
36
  <global>
30
  <config>
31
  <modules>
32
  <Youama_Slider>
33
+ <version>2.2.1</version>
34
  </Youama_Slider>
35
  </modules>
36
  <global>
app/design/frontend/base/default/template/youama/slider/slider.phtml CHANGED
@@ -36,7 +36,7 @@
36
  <?php $_counter = 0 ?>
37
  <?php foreach ($this->getSliders() as $_slider) : ?>
38
  <a href="<?php echo $_slider['link'] ?>">
39
- <img src="<?php echo $_slider['image'] ?>" <?php if ($design['texten'] == 1) : ?>title="#youama-elem<?php echo $_counter ?>"<?php endif; ?> />
40
  </a>
41
  <?php $_counter++ ?>
42
  <?php endforeach; ?>
@@ -77,4 +77,56 @@
77
  afterLoad: function(){<?php echo $event['afterLoad'] ?>}
78
  });
79
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  </script>
36
  <?php $_counter = 0 ?>
37
  <?php foreach ($this->getSliders() as $_slider) : ?>
38
  <a href="<?php echo $_slider['link'] ?>">
39
+ <img src="<?php echo $_slider['image'] ?>" alt="<?php echo Mage::getStoreConfig('design/head/default_title'); ?>" <?php if ($design['texten'] == 1) : ?>title="#youama-elem<?php echo $_counter ?>"<?php endif; ?> />
40
  </a>
41
  <?php $_counter++ ?>
42
  <?php endforeach; ?>
77
  afterLoad: function(){<?php echo $event['afterLoad'] ?>}
78
  });
79
  });
80
+
81
+ /**
82
+ * Explorer bug fix
83
+ */
84
+ if (jQuery.browser.msie) {
85
+ jQuery(document).ready(function(){
86
+ var cont = false;
87
+ var dire = false;
88
+ var capt = false;
89
+
90
+ jQuery('.nivo-imageLink img').css('cursor', 'pointer');
91
+
92
+ jQuery('.nivo-controlNav').hover(
93
+ function(){
94
+ cont = true;
95
+ },
96
+ function(){
97
+ cont = false;
98
+ }
99
+ );
100
+
101
+ jQuery('.nivo-directionNav').hover(
102
+ function(){
103
+ dire = true;
104
+ },
105
+ function(){
106
+ dire = false;
107
+ }
108
+ );
109
+
110
+ jQuery('.nivo-caption').hover(
111
+ function(){
112
+ capt = true;
113
+ },
114
+ function(){
115
+ capt = false;
116
+ }
117
+ );
118
+
119
+ jQuery('.nivoSlider').live('click', function(){
120
+ if (cont != true && dire != true && capt != true) {
121
+ jQuery('.nivo-imageLink').each(function(){
122
+ if (jQuery(this).css('display') == 'block') {
123
+ window.location = jQuery(this).attr('href');
124
+ }
125
+ });
126
+
127
+ }
128
+ });
129
+ });
130
+ }
131
+
132
  </script>
app/design/frontend/base/default/template/youama/slider/style.phtml CHANGED
@@ -28,7 +28,7 @@
28
  ?>
29
  <?php $design = $this->getDesign(); ?>
30
 
31
- <style>
32
  .nivo-caption, .nivo-caption *{
33
  <?php echo $design['textscolor']; ?>
34
  }
28
  ?>
29
  <?php $design = $this->getDesign(); ?>
30
 
31
+ <style type="text/css">
32
  .nivo-caption, .nivo-caption *{
33
  <?php echo $design['textscolor']; ?>
34
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Youama_Slider</name>
4
- <version>2.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL) </license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>This Module implement jQuery both to frontend and admin interface.</description>
11
  <notes>If there is jQuery problem by another module what implement jquery, please uncomment the jquery.js line in layout.xml.</notes>
12
  <authors><author><name>David Belicza</name><user>DoveID</user><email>87.bdavid@gmail.com</email></author></authors>
13
- <date>2013-07-21</date>
14
- <time>09:06:20</time>
15
- <contents><target name="magecommunity"><dir name="Youama"><dir name="Slider"><dir name="Block"><file name="Slider.php" hash="03764b2c576eefd51df55ff36c7d0cef"/></dir><dir name="Helper"><file name="Config.php" hash="ff4eed011670429ddc1c49eca4ef21d0"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Dropdown"><file name="Animations.php" hash="4115dc982e9d4e06d633c4bdf6bb85ef"/><file name="Pieces.php" hash="18f091391db896029f6db9c9984bf0ab"/><file name="Position.php" hash="11533669e0f19185a25795ae64e8d17f"/><file name="Speed.php" hash="961a8eaf7c65ffcc026b82c20dd15f24"/><file name="Times.php" hash="a56423c2ef35a3490554b4891800ffa0"/></dir></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="3871d42a687ba82295950916568b9746"/><file name="config.xml" hash="a686efe89e9d1e0a1d7f142c301573ac"/><file name="system.xml" hash="8c10b9d1d3452442a72bf9ed4a64b3ab"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="youama_slider_admin.xml" hash="d64a4ae1a085a6d13ed4cc9ebeee4569"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="youama_slider.xml" hash="9c53b0a9b7b9a93e98e06a66def83e32"/></dir><dir name="template"><dir name="youama"><dir name="slider"><file name="slider.phtml" hash="32988cd58a74c5997ffdd4e45c16ddb7"/><file name="style.phtml" hash="87feadf95253fdaeb5282109d42aaff5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Youama_Slider.xml" hash="b71fee454f49320853b30d96fcaf0573"/></dir></target><target name="mage"><dir name="js"><dir name="youama"><file name="jquery-1-7-1.js" hash="2c57990a020cc3a35c4a603413d67a28"/><dir name="slider"><file name="slider.js" hash="8bc5e7fa2a59e13ee6937355ce244104"/><file name="jquery-1-10-3-ui.js" hash="fd255415839568e52a48da5de5af244c"/></dir></dir></dir></target><target name="magemedia"><dir name="youama"><dir name="slider"><file name="111.jpg" hash="a0175eebabb32db6da9d861133984e6b"/><file name="222.jpg" hash="09574952fd157b5fdb9e593db8d8cc5a"/><file name="333.jpg" hash="1b19c6450093ba965f5e54d8b82eba6a"/><file name="444.jpg" hash="101f9006d6cfc06a26179de6f055c1c1"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="youama"><dir name="colorpicker"><dir name="css"><file name="colorpicker.css" hash="5591e5f7b2567b4fa3af61ff99cd70b8"/><file name="layout.css" hash="d0de239577392aba1d349a11d1833126"/></dir><dir name="images"><file name="Thumbs.db" hash="45dc3eb768213c86b48dc15b55e9897e"/><file name="blank.gif" hash="56398e76be6355ad5999b262208a17c9"/><file name="colorpicker_background.png" hash="a79f1a2a81bfe3ed1c2ca4c41b8e1fbf"/><file name="colorpicker_hex.png" hash="16d6870c36e379c06fb26ebd2e16bf44"/><file name="colorpicker_hsb_b.png" hash="2be4e81b4a5c98674abe6fc60b447e9a"/><file name="colorpicker_hsb_h.png" hash="d47409a203bedc76b26dc60b71a69f6b"/><file name="colorpicker_hsb_s.png" hash="5ff5e43ab6b7b41b6123bfab692a9b19"/><file name="colorpicker_indic.gif" hash="f485d07540a89502e36dc1a55cec05d0"/><file name="colorpicker_overlay.png" hash="c7a33805ffda0d32bd2a9904c8b02750"/><file name="colorpicker_rgb_b.png" hash="2be4e81b4a5c98674abe6fc60b447e9a"/><file name="colorpicker_rgb_g.png" hash="dc17f953a6febbe174e92b54690586c3"/><file name="colorpicker_rgb_r.png" hash="87eeb205d093b713b68a341771f4ee27"/><file name="colorpicker_select.gif" hash="cec464162af0cce10348e7bb7701ef86"/><file name="colorpicker_submit.png" hash="12d1746e6b52e007f1b78d772d9248ba"/><file name="custom_background.png" hash="06c91f7ae1561ccd8f1c79119529600d"/><file name="custom_hex.png" hash="e27aaa92b15d9392d909f8b94e797524"/><file name="custom_hsb_b.png" hash="b45588ca2fe9ba46673862300fcd3083"/><file name="custom_hsb_h.png" hash="4a1afa5636421aae4c44471d2273496d"/><file name="custom_hsb_s.png" hash="83aa97407fb76615a7db5ed721681148"/><file name="custom_indic.gif" hash="04660eb352eb259581a36a0fe8da2d4d"/><file name="custom_rgb_b.png" hash="f6e50cd567bd3059742d45ab224a413b"/><file name="custom_rgb_g.png" hash="b1e286e06692b3640862a3d07f636a80"/><file name="custom_rgb_r.png" hash="8ae4b3ef109ee66ec1022632470ddd0f"/><file name="custom_submit.png" hash="35423f0f2538e507dec193b52f8d0327"/><file name="select.png" hash="7b086953a8c62d2685a65644979d5d04"/><file name="select2.png" hash="c8d194d92dbad98615b2a9140b34ab48"/><file name="slider.png" hash="3a50b8078dea50b9811603a85ecef836"/></dir><dir name="js"><file name="colorpicker.js" hash="96e6db8dd2c341f8aee73603eccea3b9"/><file name="eye.js" hash="a7305a07fc5f1123097487e9de66abb1"/><file name="jquery.js" hash="92d4f1412222f2dc12627ab42b66fc1c"/><file name="layout.js" hash="8f7952de2801fc097579a5913f15f18c"/><file name="utils.js" hash="eecc5c66710f5e6956de9d17b4cc0b00"/></dir><file name="start.js" hash="7b629b21d44510510f50d631d01ffa12"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="youama"><dir name="slider"><file name="slider.css" hash="7e07aca641a1989f7350c5751c0d236a"/></dir></dir></dir><dir name="images"><dir name="youama"><dir name="slider"><file name="slider-left.png" hash="521e512a9a3ba998e4194bdb1436f859"/><file name="slider.png" hash="6f1f7dd995b4287fb02fbfb322dd59e0"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>5.4.11</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Youama_Slider</name>
4
+ <version>2.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL) </license>
7
  <channel>community</channel>
10
  <description>This Module implement jQuery both to frontend and admin interface.</description>
11
  <notes>If there is jQuery problem by another module what implement jquery, please uncomment the jquery.js line in layout.xml.</notes>
12
  <authors><author><name>David Belicza</name><user>DoveID</user><email>87.bdavid@gmail.com</email></author></authors>
13
+ <date>2013-08-03</date>
14
+ <time>13:27:42</time>
15
+ <contents><target name="magecommunity"><dir name="Youama"><dir name="Slider"><dir name="Block"><file name="Slider.php" hash="03764b2c576eefd51df55ff36c7d0cef"/></dir><dir name="Helper"><file name="Config.php" hash="ff4eed011670429ddc1c49eca4ef21d0"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Dropdown"><file name="Animations.php" hash="4115dc982e9d4e06d633c4bdf6bb85ef"/><file name="Pieces.php" hash="18f091391db896029f6db9c9984bf0ab"/><file name="Position.php" hash="11533669e0f19185a25795ae64e8d17f"/><file name="Speed.php" hash="961a8eaf7c65ffcc026b82c20dd15f24"/><file name="Times.php" hash="a56423c2ef35a3490554b4891800ffa0"/></dir></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="3871d42a687ba82295950916568b9746"/><file name="config.xml" hash="d1e3e1630cb86e2828eab8470da8cc8a"/><file name="system.xml" hash="8c10b9d1d3452442a72bf9ed4a64b3ab"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="youama_slider_admin.xml" hash="d64a4ae1a085a6d13ed4cc9ebeee4569"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="youama_slider.xml" hash="9c53b0a9b7b9a93e98e06a66def83e32"/></dir><dir name="template"><dir name="youama"><dir name="slider"><file name="slider.phtml" hash="82c4996fa633a049e49dd169fea67d2f"/><file name="style.phtml" hash="3c8013ef8d0de09e850cad2e5f1ebe2a"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Youama_Slider.xml" hash="b71fee454f49320853b30d96fcaf0573"/></dir></target><target name="mage"><dir name="js"><dir name="youama"><file name="jquery-1-7-1.js" hash="2c57990a020cc3a35c4a603413d67a28"/><dir name="slider"><file name="slider.js" hash="8bc5e7fa2a59e13ee6937355ce244104"/><file name="jquery-1-10-3-ui.js" hash="fd255415839568e52a48da5de5af244c"/></dir></dir></dir></target><target name="magemedia"><dir name="youama"><dir name="slider"><file name="111.jpg" hash="a0175eebabb32db6da9d861133984e6b"/><file name="222.jpg" hash="09574952fd157b5fdb9e593db8d8cc5a"/><file name="333.jpg" hash="1b19c6450093ba965f5e54d8b82eba6a"/><file name="444.jpg" hash="101f9006d6cfc06a26179de6f055c1c1"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="youama"><dir name="colorpicker"><dir name="css"><file name="colorpicker.css" hash="5591e5f7b2567b4fa3af61ff99cd70b8"/><file name="layout.css" hash="d0de239577392aba1d349a11d1833126"/></dir><dir name="images"><file name="Thumbs.db" hash="45dc3eb768213c86b48dc15b55e9897e"/><file name="blank.gif" hash="56398e76be6355ad5999b262208a17c9"/><file name="colorpicker_background.png" hash="a79f1a2a81bfe3ed1c2ca4c41b8e1fbf"/><file name="colorpicker_hex.png" hash="16d6870c36e379c06fb26ebd2e16bf44"/><file name="colorpicker_hsb_b.png" hash="2be4e81b4a5c98674abe6fc60b447e9a"/><file name="colorpicker_hsb_h.png" hash="d47409a203bedc76b26dc60b71a69f6b"/><file name="colorpicker_hsb_s.png" hash="5ff5e43ab6b7b41b6123bfab692a9b19"/><file name="colorpicker_indic.gif" hash="f485d07540a89502e36dc1a55cec05d0"/><file name="colorpicker_overlay.png" hash="c7a33805ffda0d32bd2a9904c8b02750"/><file name="colorpicker_rgb_b.png" hash="2be4e81b4a5c98674abe6fc60b447e9a"/><file name="colorpicker_rgb_g.png" hash="dc17f953a6febbe174e92b54690586c3"/><file name="colorpicker_rgb_r.png" hash="87eeb205d093b713b68a341771f4ee27"/><file name="colorpicker_select.gif" hash="cec464162af0cce10348e7bb7701ef86"/><file name="colorpicker_submit.png" hash="12d1746e6b52e007f1b78d772d9248ba"/><file name="custom_background.png" hash="06c91f7ae1561ccd8f1c79119529600d"/><file name="custom_hex.png" hash="e27aaa92b15d9392d909f8b94e797524"/><file name="custom_hsb_b.png" hash="b45588ca2fe9ba46673862300fcd3083"/><file name="custom_hsb_h.png" hash="4a1afa5636421aae4c44471d2273496d"/><file name="custom_hsb_s.png" hash="83aa97407fb76615a7db5ed721681148"/><file name="custom_indic.gif" hash="04660eb352eb259581a36a0fe8da2d4d"/><file name="custom_rgb_b.png" hash="f6e50cd567bd3059742d45ab224a413b"/><file name="custom_rgb_g.png" hash="b1e286e06692b3640862a3d07f636a80"/><file name="custom_rgb_r.png" hash="8ae4b3ef109ee66ec1022632470ddd0f"/><file name="custom_submit.png" hash="35423f0f2538e507dec193b52f8d0327"/><file name="select.png" hash="7b086953a8c62d2685a65644979d5d04"/><file name="select2.png" hash="c8d194d92dbad98615b2a9140b34ab48"/><file name="slider.png" hash="3a50b8078dea50b9811603a85ecef836"/></dir><dir name="js"><file name="colorpicker.js" hash="96e6db8dd2c341f8aee73603eccea3b9"/><file name="eye.js" hash="a7305a07fc5f1123097487e9de66abb1"/><file name="jquery.js" hash="92d4f1412222f2dc12627ab42b66fc1c"/><file name="layout.js" hash="8f7952de2801fc097579a5913f15f18c"/><file name="utils.js" hash="eecc5c66710f5e6956de9d17b4cc0b00"/></dir><file name="start.js" hash="7b629b21d44510510f50d631d01ffa12"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="youama"><dir name="slider"><file name="slider.css" hash="7e07aca641a1989f7350c5751c0d236a"/></dir></dir></dir><dir name="images"><dir name="youama"><dir name="slider"><file name="slider-left.png" hash="521e512a9a3ba998e4194bdb1436f859"/><file name="slider.png" hash="6f1f7dd995b4287fb02fbfb322dd59e0"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>5.4.11</max></php></required></dependencies>
18
  </package>