Version Notes
Added randomise_banners, which enables you to display banners in a random order
Added duplicate first slide to end of carousel to create smooth scrolling effect
Download this release
Release Info
Developer | Magento Core Team |
Extension | Fishpigs_iBanners |
Version | 0.9.2 |
Comparing to | |
See all releases |
Code changes from version 0.9.1 to 0.9.2
- app/code/community/Fishpig/IBanners/Block/Adminhtml/Group/Edit/Tab/Form.php +9 -0
- app/code/community/Fishpig/IBanners/Model/Group.php +1 -1
- app/code/community/Fishpig/IBanners/Model/Mysql4/Banner/Collection.php +23 -4
- app/code/community/Fishpig/IBanners/Model/Mysql4/Group.php +7 -0
- app/code/community/Fishpig/IBanners/etc/config.xml +1 -1
- app/code/community/Fishpig/IBanners/notes.txt +4 -0
- app/code/community/Fishpig/IBanners/sql/ibanners_setup/mysql4-upgrade-0.5.5-0.5.6.php +4 -4
- app/code/community/Fishpig/IBanners/sql/ibanners_setup/mysql4-upgrade-0.9.0-0.9.1.php +1 -1
- app/code/community/Fishpig/IBanners/sql/ibanners_setup/mysql4-upgrade-0.9.1-0.9.2.php +13 -0
- app/design/frontend/base/default/template/ibanners/default.phtml +22 -1
- package.xml +5 -4
- skin/frontend/base/default/css/ibanners.css +7 -3
app/code/community/Fishpig/IBanners/Block/Adminhtml/Group/Edit/Tab/Form.php
CHANGED
@@ -36,6 +36,14 @@ class Fishpig_iBanners_Block_Adminhtml_Group_Edit_Tab_Form extends Mage_Adminhtm
|
|
36 |
'class' => 'required-entry validate-code',
|
37 |
));
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
$fieldset->addField('is_enabled', 'select', array(
|
40 |
'name' => 'is_enabled',
|
41 |
'title' => $this->__('Enabled'),
|
@@ -59,6 +67,7 @@ class Fishpig_iBanners_Block_Adminhtml_Group_Edit_Tab_Form extends Mage_Adminhtm
|
|
59 |
'name' => 'carousel_animate',
|
60 |
'title' => $this->__('Enable Animation'),
|
61 |
'label' => $this->__('Enable Animation'),
|
|
|
62 |
'values' => Mage::getModel('adminhtml/system_config_source_yesno')->toOptionArray(),
|
63 |
));
|
64 |
|
36 |
'class' => 'required-entry validate-code',
|
37 |
));
|
38 |
|
39 |
+
$fieldset->addField('randomise_banners', 'select', array(
|
40 |
+
'name' => 'randomise_banners',
|
41 |
+
'comment' => $this->__('This is for groups with more than 1 banner in'),
|
42 |
+
'title' => $this->__('Randomise Banner Position'),
|
43 |
+
'label' => $this->__('Randomise Banner Position'),
|
44 |
+
'values' => Mage::getModel('adminhtml/system_config_source_yesno')->toOptionArray(),
|
45 |
+
));
|
46 |
+
|
47 |
$fieldset->addField('is_enabled', 'select', array(
|
48 |
'name' => 'is_enabled',
|
49 |
'title' => $this->__('Enabled'),
|
67 |
'name' => 'carousel_animate',
|
68 |
'title' => $this->__('Enable Animation'),
|
69 |
'label' => $this->__('Enable Animation'),
|
70 |
+
'required' => true,
|
71 |
'values' => Mage::getModel('adminhtml/system_config_source_yesno')->toOptionArray(),
|
72 |
));
|
73 |
|
app/code/community/Fishpig/IBanners/Model/Group.php
CHANGED
@@ -59,7 +59,7 @@ class Fishpig_iBanners_Model_Group extends Mage_Core_Model_Abstract
|
|
59 |
*/
|
60 |
public function isAnimationEnabled()
|
61 |
{
|
62 |
-
return $this->
|
63 |
}
|
64 |
|
65 |
/**
|
59 |
*/
|
60 |
public function isAnimationEnabled()
|
61 |
{
|
62 |
+
return $this->getCarouselAnimate() ? true : false;
|
63 |
}
|
64 |
|
65 |
/**
|
app/code/community/Fishpig/IBanners/Model/Mysql4/Banner/Collection.php
CHANGED
@@ -20,10 +20,7 @@ class Fishpig_iBanners_Model_Mysql4_Banner_Collection extends Mage_Core_Model_My
|
|
20 |
*/
|
21 |
protected function _initSelect()
|
22 |
{
|
23 |
-
$this->getSelect()
|
24 |
-
->from(array('main_table' => $this->getMainTable()))
|
25 |
-
->order('sort_order ASC')
|
26 |
-
->order('title ASC');
|
27 |
|
28 |
return $this;
|
29 |
}
|
@@ -38,4 +35,26 @@ class Fishpig_iBanners_Model_Mysql4_Banner_Collection extends Mage_Core_Model_My
|
|
38 |
{
|
39 |
return $this->addFieldToFilter('group_id', $groupId);
|
40 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
20 |
*/
|
21 |
protected function _initSelect()
|
22 |
{
|
23 |
+
$this->getSelect()->from(array('main_table' => $this->getMainTable()));
|
|
|
|
|
|
|
24 |
|
25 |
return $this;
|
26 |
}
|
35 |
{
|
36 |
return $this->addFieldToFilter('group_id', $groupId);
|
37 |
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Add a random order to the banners
|
41 |
+
*
|
42 |
+
* @return Fishpig_iBanners_Model_Mysql4_Banner_Collection
|
43 |
+
*/
|
44 |
+
public function addOrderByRandom($dir = 'ASC')
|
45 |
+
{
|
46 |
+
$this->getSelect()->order('RAND() ' . $dir);
|
47 |
+
return $this;
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Add order by sort order
|
52 |
+
*
|
53 |
+
* @return Fishpig_iBanners_Model_Mysql4_Banner_Collection
|
54 |
+
*/
|
55 |
+
public function addOrderBySortOrder($dir = 'ASC')
|
56 |
+
{
|
57 |
+
$this->getSelect()->order('sort_order ' . $dir);
|
58 |
+
return $this;
|
59 |
+
}
|
60 |
}
|
app/code/community/Fishpig/IBanners/Model/Mysql4/Group.php
CHANGED
@@ -24,6 +24,13 @@ class Fishpig_iBanners_Model_Mysql4_Group extends Mage_Core_Model_Mysql4_Abstrac
|
|
24 |
$banners = Mage::getResourceModel('ibanners/banner_collection')
|
25 |
->addGroupIdFilter($group->getId());
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
return $banners;
|
28 |
}
|
29 |
|
24 |
$banners = Mage::getResourceModel('ibanners/banner_collection')
|
25 |
->addGroupIdFilter($group->getId());
|
26 |
|
27 |
+
if ($group->getRandomiseBanners()) {
|
28 |
+
$banners->addOrderByRandom();
|
29 |
+
}
|
30 |
+
else {
|
31 |
+
$banners->addOrderBySortOrder();
|
32 |
+
}
|
33 |
+
|
34 |
return $banners;
|
35 |
}
|
36 |
|
app/code/community/Fishpig/IBanners/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Fishpig_iBanners>
|
5 |
-
<version>0.9.
|
6 |
</Fishpig_iBanners>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Fishpig_iBanners>
|
5 |
+
<version>0.9.2</version>
|
6 |
</Fishpig_iBanners>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Fishpig/IBanners/notes.txt
CHANGED
@@ -7,6 +7,10 @@
|
|
7 |
# Bug Reports: help@fishpig.co.uk
|
8 |
##
|
9 |
|
|
|
|
|
|
|
|
|
10 |
28/07/2011 - v0.9.1
|
11 |
- added carousel_animate field, which enables/disables animation
|
12 |
|
7 |
# Bug Reports: help@fishpig.co.uk
|
8 |
##
|
9 |
|
10 |
+
28/07/2011 - v0.9.2
|
11 |
+
- added randomise_banners, which enables you to display banners in a random order
|
12 |
+
- added duplicate first slide to end of carousel to create smooth scrolling effect
|
13 |
+
|
14 |
28/07/2011 - v0.9.1
|
15 |
- added carousel_animate field, which enables/disables animation
|
16 |
|
app/code/community/Fishpig/IBanners/sql/ibanners_setup/mysql4-upgrade-0.5.5-0.5.6.php
CHANGED
@@ -8,10 +8,10 @@
|
|
8 |
|
9 |
$this->startSetup();
|
10 |
|
11 |
-
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_duration', " int(3) default NULL");
|
12 |
-
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_auto', " int(1) default NULL");
|
13 |
-
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_frequency', " int(3) default NULL");
|
14 |
-
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_visible_slides', " int(3) default NULL");
|
15 |
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_effect', " varchar(32) NOT NULL default ''");
|
16 |
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_transition', " varchar(32) NOT NULL default ''");
|
17 |
|
8 |
|
9 |
$this->startSetup();
|
10 |
|
11 |
+
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_duration', " int(3) unsigned default NULL");
|
12 |
+
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_auto', " int(1) unsigned default NULL");
|
13 |
+
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_frequency', " int(3) unsigned default NULL");
|
14 |
+
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_visible_slides', " int(3) unsigned default NULL");
|
15 |
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_effect', " varchar(32) NOT NULL default ''");
|
16 |
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_transition', " varchar(32) NOT NULL default ''");
|
17 |
|
app/code/community/Fishpig/IBanners/sql/ibanners_setup/mysql4-upgrade-0.9.0-0.9.1.php
CHANGED
@@ -8,6 +8,6 @@
|
|
8 |
|
9 |
$this->startSetup();
|
10 |
|
11 |
-
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_animate', " int(1) NOT NULL default 1");
|
12 |
|
13 |
$this->endSetup();
|
8 |
|
9 |
$this->startSetup();
|
10 |
|
11 |
+
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'carousel_animate', " int(1) unsigned NOT NULL default 1");
|
12 |
|
13 |
$this->endSetup();
|
app/code/community/Fishpig/IBanners/sql/ibanners_setup/mysql4-upgrade-0.9.1-0.9.2.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @category Fishpig
|
4 |
+
* @package Fishpig_iBanners
|
5 |
+
* @license http://fishpig.co.uk/license.txt
|
6 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
7 |
+
*/
|
8 |
+
|
9 |
+
$this->startSetup();
|
10 |
+
|
11 |
+
$this->getConnection()->addColumn($this->getTable('ibanners_group'), 'randomise_banners', " int(1) unsigned NOT NULL default 0");
|
12 |
+
|
13 |
+
$this->endSetup();
|
app/design/frontend/base/default/template/ibanners/default.phtml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<?php endif; ?>
|
24 |
<?php endforeach; ?>
|
25 |
<?php elseif ($this->getGroup()->getBannerCount() > 1): ?>
|
26 |
-
<div id="<?php echo $this->getWrapperId() ?>" class="ibanners">
|
27 |
<ul>
|
28 |
<?php foreach($banners as $it => $banner): ?>
|
29 |
<li class="banner">
|
@@ -39,6 +39,27 @@
|
|
39 |
<?php endif; ?>
|
40 |
</li>
|
41 |
<?php endforeach; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
</ul>
|
43 |
</div>
|
44 |
<?php if ($group->isAnimationEnabled()): ?>
|
23 |
<?php endif; ?>
|
24 |
<?php endforeach; ?>
|
25 |
<?php elseif ($this->getGroup()->getBannerCount() > 1): ?>
|
26 |
+
<div id="<?php echo $this->getWrapperId() ?>" class="ibanners <?php if ($group->isAnimationEnabled()): ?>animated<?php else: ?>static<?php endif; ?>">
|
27 |
<ul>
|
28 |
<?php foreach($banners as $it => $banner): ?>
|
29 |
<li class="banner">
|
39 |
<?php endif; ?>
|
40 |
</li>
|
41 |
<?php endforeach; ?>
|
42 |
+
<?php if ($group->isAnimationEnabled() && $this->getGroup()->getCarouselEffect() != 'fade'): ?>
|
43 |
+
<?php
|
44 |
+
/**
|
45 |
+
* When using the scroll effect, the first slide must be duplicated at the end of the slide list
|
46 |
+
* This ensures a smooth scrolling action when moving between the last and first slide
|
47 |
+
*/
|
48 |
+
?>
|
49 |
+
<?php $banner = $banners->getFirstItem() ?>
|
50 |
+
<li class="banner">
|
51 |
+
<?php if ($banner->hasUrl()): ?>
|
52 |
+
<a href="<?php echo $banner->getUrl() ?>" title="<?php echo $this->escapeHtml($banner->getTitle()) ?>">
|
53 |
+
<?php endif; ?>
|
54 |
+
<img src="<?php echo $banner->getImageUrl() ?>" alt="<?php echo $this->escapeHtml($banner->getAltText()) ?>" />
|
55 |
+
<?php if ($banner->hasUrl()): ?>
|
56 |
+
</a>
|
57 |
+
<?php endif; ?>
|
58 |
+
<?php if ($banner->getHtml()): ?>
|
59 |
+
<div class="html"><?php echo $banner->getHtml() ?></div>
|
60 |
+
<?php endif; ?>
|
61 |
+
</li>
|
62 |
+
<?php endif; ?>
|
63 |
</ul>
|
64 |
</div>
|
65 |
<?php if ($group->isAnimationEnabled()): ?>
|
package.xml
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fishpigs_iBanners</name>
|
4 |
-
<version>0.9.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://fishpig.co.uk/license.txt">fishpig EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Create grouped banner slideshows to showcase products and special offers.</summary>
|
10 |
<description>This module allows you to create multiple banner slideshows to be placed around your Magento store. By default, the module will add a banner slideshow to your homepage, however you can easily create more banner groups and add them any where you like!</description>
|
11 |
-
<notes>Added
|
|
|
12 |
<authors><author><name>fishpig</name><user>auto-converted</user><email>ben@fishpig.co.uk</email></author></authors>
|
13 |
<date>2011-07-28</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="IBanners"><dir name="Block"><dir name="Adminhtml"><dir name="Banner"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="bce2db8d35d26fbe9da910852169ff34"/></dir><file name="Form.php" hash="e9cd0d7436d36048706bc474704d2b82"/><file name="Tabs.php" hash="60a82a390e8580594885bceb19a13460"/></dir><dir name="Helper"><file name="Image.php" hash="da1821e82b38af686705efb53f5a1ca9"/></dir><file name="Edit.php" hash="93807e5b677fd064e49c547551507202"/><file name="Grid.php" hash="59ca8a1c3822e37f1e82f464589f6525"/></dir><dir name="Form"><dir name="Renderer"><file name="Useconfig.php" hash="df579ff6a4a783ed17d6c5bc6118e171"/></dir></dir><dir name="Group"><dir name="Edit"><dir name="Tab"><file name="Banners.php" hash="f13f72d714e73ba5481fe488b369c879"/><file name="Form.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fishpigs_iBanners</name>
|
4 |
+
<version>0.9.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://fishpig.co.uk/license.txt">fishpig EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Create grouped banner slideshows to showcase products and special offers.</summary>
|
10 |
<description>This module allows you to create multiple banner slideshows to be placed around your Magento store. By default, the module will add a banner slideshow to your homepage, however you can easily create more banner groups and add them any where you like!</description>
|
11 |
+
<notes>Added randomise_banners, which enables you to display banners in a random order
|
12 |
+
Added duplicate first slide to end of carousel to create smooth scrolling effect</notes>
|
13 |
<authors><author><name>fishpig</name><user>auto-converted</user><email>ben@fishpig.co.uk</email></author></authors>
|
14 |
<date>2011-07-28</date>
|
15 |
+
<time>15:33:08</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="IBanners"><dir name="Block"><dir name="Adminhtml"><dir name="Banner"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="bce2db8d35d26fbe9da910852169ff34"/></dir><file name="Form.php" hash="e9cd0d7436d36048706bc474704d2b82"/><file name="Tabs.php" hash="60a82a390e8580594885bceb19a13460"/></dir><dir name="Helper"><file name="Image.php" hash="da1821e82b38af686705efb53f5a1ca9"/></dir><file name="Edit.php" hash="93807e5b677fd064e49c547551507202"/><file name="Grid.php" hash="59ca8a1c3822e37f1e82f464589f6525"/></dir><dir name="Form"><dir name="Renderer"><file name="Useconfig.php" hash="df579ff6a4a783ed17d6c5bc6118e171"/></dir></dir><dir name="Group"><dir name="Edit"><dir name="Tab"><file name="Banners.php" hash="f13f72d714e73ba5481fe488b369c879"/><file name="Form.php" hash="4f04a01fc20940b8b82674e58d7bc54c"/></dir><file name="Form.php" hash="5b8f4f8649e974f80ea21de7f323788e"/><file name="Tabs.php" hash="d57a68d75dde73b39127dc8a932b858e"/></dir><file name="Edit.php" hash="1f3ca94777f0eb8a3363d245d9c5bc9d"/><file name="Grid.php" hash="2d86e326cb6825c8e7738e5c73abaf67"/></dir><file name="Banner.php" hash="181c9778d624e104ab3f8e729c58b3f7"/><file name="Group.php" hash="6a6ea8ad3f9e1e25dcf0411fa5347b9c"/></dir><file name="View.php" hash="6ee6a72caf09867c230edd82346f43b6"/></dir><dir name="Helper"><file name="Data.php" hash="22b6c9355bb8eeb8bab400a824109e24"/><file name="Image.php" hash="fcd4bfceafe21c0b484a1fd8b0bdd530"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Banner"><file name="Collection.php" hash="cedba792788ed2dd0046c3428198e2bc"/></dir><dir name="Group"><file name="Collection.php" hash="ab6a49e01708c118052a696a0e09184c"/></dir><file name="Banner.php" hash="81752a0ab34bde996d9472ac67272472"/><file name="Group.php" hash="85319ce22042bae1de91ed86ffe7b7e1"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Carousel"><file name="Effect.php" hash="b615ef28aa59aed914dd95a0242cfc9e"/><file name="Transition.php" hash="290f6abe41d0d44f72f8188a77f8e475"/></dir></dir></dir></dir><file name="Banner.php" hash="c013618422ba7dd2920312e989024166"/><file name="Group.php" hash="7ec9e1cbcbffcf74055564f5ada0add2"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannerController.php" hash="ab4015467f0f37f0cedbb344d3021e8f"/><file name="GroupController.php" hash="f58f269a86c211095314b1f41f212ffa"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="4e6ded4671403e01776cf9361c59d33d"/><file name="config.xml" hash="b6cecf48c24f93b15ee17d391204c711"/><file name="system.xml" hash="cc01ba370a7fe9946a3d761a9e7975f3"/></dir><dir name="sql"><dir name="ibanners_setup"><file name="mysql4-install-0.1.0.php" hash="62e4961272f2d697595002b006e72731"/><file name="mysql4-upgrade-0.5.2-0.5.3.php" hash="2e85887fb121d988357a45785d9f06df"/><file name="mysql4-upgrade-0.5.4-0.5.5.php" hash="a16fd4c674ed65eed1c7cee851960d28"/><file name="mysql4-upgrade-0.5.5-0.5.6.php" hash="a002305ec4b958c7213309d874b349f8"/><file name="mysql4-upgrade-0.9.0-0.9.1.php" hash="b970018526e15b6fc938b1866c5bfd81"/><file name="mysql4-upgrade-0.9.1-0.9.2.php" hash="07ba18c243e573655e43c64ee1a0d876"/></dir></dir><file name="license.txt" hash="257eae92a36bdaaf9584fbf8ba76d1c6"/><file name="notes.txt" hash="d2a008384d40044fea7ff4421fa041cb"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ibanners.xml" hash="daa28ce83b6f288108c87bc352475ca8"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ibanners.xml" hash="b8ae18bef6d375f5b54f1f115d4da68e"/></dir><dir name="template"><dir name="ibanners"><file name="default.phtml" hash="580fe8d8742b9bf8d0d884cf857700ef"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Fishpig_iBanners.xml" hash="d3476db8a3f950a7bf249b5382b5c42e"/></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="fishpig"><file name="carousel.min.js" hash="cfd7a8d08a6dca87e4211a400877716e"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ibanners.css" hash="5b4a16292ea328600c2334a12acdc28f"/></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|
skin/frontend/base/default/css/ibanners.css
CHANGED
@@ -5,6 +5,10 @@
|
|
5 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
6 |
*/
|
7 |
|
8 |
-
.ibanners { overflow: hidden; width: 100%; }
|
9 |
-
.ibanners ul { width:
|
10 |
-
.ibanners ul li { float: left; }
|
|
|
|
|
|
|
|
5 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
6 |
*/
|
7 |
|
8 |
+
.ibanners.animated { overflow: hidden; width: 100%; }
|
9 |
+
.ibanners.animated ul { height: 1%; overflow: hidden; width: 9000px; }
|
10 |
+
.ibanners.animated ul li { float: left; width: 900px; overflow: hidden; }
|
11 |
+
|
12 |
+
.ibanners.static { overflow: hidden; width: 100%; }
|
13 |
+
.ibanners.static ul { height: 1%; overflow: hidden; width: 9000px; }
|
14 |
+
.ibanners.static ul li { float: left; }
|