Advance_Left_Vertical_Navigation - Version 1.0.0.1

Version Notes

1. without any Admin-Configuration easy use and Easy 1-minute installation;
2. Define which Levels should be shown on store front .;
3.Compatible with any Browser..test in ie6,7,8 firefox ,google chrome ,Opera ...;
4.Self-appropriate left width,without any code change ;
5.Compatible with magento 1.3.*,1.4.*,1.5.*,1.6.*,1.7.*
6.Predefined top level Category Static Html at the backend
Other extension features:
* PE compatibility
* Easy 1-minute installation
* 100% open source
* Meets Magento programming practices for most versions and customizations compatibility
* Free upgrades at least in current version branch

Download this release

Release Info

Developer Mtoo.inc
Extension Advance_Left_Vertical_Navigation
Version 1.0.0.1
Comparing to
See all releases


Version 1.0.0.1

app/code/community/Mtoo/Navigation/Block/Navigation.php ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Mtoo Co.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://www.magento800.com/LICENSE.txt
11
+ *
12
+ * @category Mtoo
13
+ * @package Mtoo_Navitation
14
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
15
+ * @license http://www.magento800.com/LICENSE.txt
16
+ */
17
+ /**
18
+ * This is template for AW_Vidtest_Block_Product_View
19
+ */
20
+ class Mtoo_Navigation_Block_Navigation extends Mage_Core_Block_Template
21
+ {
22
+
23
+ protected function _construct()
24
+ {
25
+ $this->addData(array(
26
+ 'cache_lifetime' => false,
27
+ 'cache_tags' => array(Mage_Catalog_Model_Category::CACHE_TAG, Mage_Core_Model_Store_Group::CACHE_TAG),
28
+ ));
29
+ }
30
+
31
+ /**
32
+ * Retrieve Key for caching block content
33
+ *
34
+ * @return string
35
+ */
36
+ public function getCacheKey()
37
+ {
38
+ return 'CATALOG_NAVIGATION_' . Mage::app()->getStore()->getId()
39
+ . '_' . Mage::getDesign()->getPackageName()
40
+ . '_' . Mage::getDesign()->getTheme('template')
41
+ . '_' . Mage::getSingleton('customer/session')->getCustomerGroupId();
42
+ }
43
+
44
+ public function _prepareLayout()
45
+ {
46
+ return parent::_prepareLayout();
47
+ }
48
+
49
+ public function getNavigation()
50
+ {
51
+ if (!$this->hasData('navigation')) {
52
+ $this->setData('navigation', Mage::registry('navigation'));
53
+ }
54
+ return $this->getData('navigation');
55
+
56
+ }
57
+ /**
58
+ * Get catagories of current store
59
+ *
60
+ * @return Varien_Data_Tree_Node_Collection
61
+ */
62
+ public function getStoreCategories()
63
+ {
64
+ $helper = Mage::helper('catalog/category');
65
+ return $helper->getStoreCategories();
66
+ }
67
+
68
+ /**
69
+ * Get url for category data
70
+ *
71
+ * @param Mage_Catalog_Model_Category $category
72
+ * @return string
73
+ */
74
+ public function getCategoryUrl($category)
75
+ {
76
+ if ($category instanceof Mage_Catalog_Model_Category) {
77
+ $url = $category->getUrl();
78
+ } else {
79
+ $url = $this->_getCategoryInstance()
80
+ ->setData($category->getData())
81
+ ->getUrl();
82
+ }
83
+
84
+ return $url;
85
+ }
86
+
87
+ protected function _getCategoryInstance()
88
+ {
89
+ if (is_null($this->_categoryInstance)) {
90
+ $this->_categoryInstance = Mage::getModel('catalog/category');
91
+ }
92
+ return $this->_categoryInstance;
93
+ }
94
+ public function drawItem($category, $level=0, $last=false)
95
+ {
96
+ $html = '';
97
+ if (!$category->getIsActive()) {
98
+ return $html;
99
+ }
100
+ $hasChildren = $this->hasChildren($category);
101
+ $children = $this->getChildrens($category);
102
+ $html.='<div class="litem">';
103
+ if ($hasChildren)
104
+ $html.='<span><a href="'.$this->getCategoryUrl($category).'">'.$this->htmlEscape($category->getName()).'</a><em class="dow_ico"></em></span>';
105
+ else
106
+ $html.='<span><a href="'.$this->getCategoryUrl($category).'">'.$this->htmlEscape($category->getName()).'</a></span>';
107
+ $htmlChildren='';
108
+ if ($hasChildren){
109
+ $htmlChildren.='<div style="width: '.$this->getWidth($category).'px;" class="subitem">';
110
+ $count=0;
111
+ $ad=0;
112
+ $htmlChildren.='<div class="fleft">';
113
+ foreach ($children as $child) {
114
+ if ($child->getIsActive()) {
115
+ $count++;
116
+ $htmlChildren.='<div class="subitem_list fleft">';
117
+ $htmlChildren.='<ul>';
118
+ $htmlChildren.='<li class="sub_category_self addborder"><a href="'.$this->getCategoryUrl($child).'">'.$this->htmlEscape($child->getName()).'</a>';
119
+ if ($this->hasChildren($child))
120
+ {
121
+ $childChildrens=$this->getChildrens($child);
122
+ $htmlChildren.='<ul>';
123
+ foreach ($childChildrens as $Children) {
124
+ if ($Children->getIsActive())
125
+ {
126
+ $htmlChildren.='<li><a href="'.$this->getCategoryUrl($Children).'" class="red">'.$this->htmlEscape($Children->getName()).'</a></li>';
127
+ }
128
+ }
129
+ $htmlChildren.='</ul>';
130
+ }
131
+ $htmlChildren.='</li>';
132
+ $htmlChildren.='</ul>';
133
+ $htmlChildren.='</div>';
134
+ if ($count%3==0)
135
+ {
136
+ $htmlChildren.='<div class="clear"></div>';
137
+ }
138
+ }
139
+ }
140
+ $htmlChildren.='</div>';
141
+ if ($category->getCategoryAd()){
142
+ $htmlChildren.='<div class="fright special">'.$category->getCategoryAd().'</div>';
143
+ }
144
+ $htmlChildren.='<div class="clear"></div>';
145
+ $htmlChildren.='</div>';
146
+ }
147
+
148
+
149
+ if (!empty($htmlChildren)) {
150
+ $html.=$htmlChildren;
151
+ }
152
+ $html.='</div>';
153
+ return $html;
154
+ }
155
+ public function hasChildren ($category)
156
+ {
157
+ if (Mage::helper('catalog/category_flat')->isEnabled()) {
158
+ $children = $category->getChildrenNodes();
159
+ $childrenCount = count($children);
160
+ } else {
161
+ $children = $category->getChildren();
162
+ $childrenCount = $children->count();
163
+ }
164
+ return $children && $childrenCount;
165
+ }
166
+ public function getChildrens($category)
167
+ {
168
+ if (Mage::helper('catalog/category_flat')->isEnabled()) {
169
+ $children = $category->getChildrenNodes();
170
+ } else {
171
+ $children = $category->getChildren();
172
+ }
173
+ return $children;
174
+ }
175
+
176
+
177
+ /**
178
+ * Retrieve div.subitem width
179
+ * @return int
180
+ */
181
+
182
+
183
+ public function getWidth($category)
184
+ {
185
+ $width=220;
186
+ if (Mage::helper('catalog/category_flat')->isEnabled()) {
187
+ $children = $category->getChildrenNodes();
188
+ $childrenCount = count($children);
189
+ } else {
190
+ $children = $category->getChildren();
191
+ $childrenCount = $children->count();
192
+ }
193
+
194
+ if($childrenCount>=3)
195
+ {
196
+ if ($category->getCategoryAd()){
197
+ $width=$width*4;
198
+ }else{
199
+ $width=$width*3;
200
+ }
201
+
202
+
203
+ }else
204
+ {
205
+ if ($category->getCategoryAd()){
206
+ $width=$width*($childrenCount+1);
207
+ }else{
208
+ $width=$width*$childrenCount;
209
+ }
210
+
211
+ }
212
+ return $width;
213
+
214
+ }
215
+ }
app/code/community/Mtoo/Navigation/etc/config.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <!--
4
+ /**
5
+ * Mtoo Co.
6
+ *
7
+ * NOTICE OF LICENSE
8
+ *
9
+ * This source file is subject to the EULA
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://www.magento800.com/LICENSE.txt
13
+ *
14
+ * @category Mtoo
15
+ * @package Mtoo_Navitation
16
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
17
+ * @license http://www.magento800.com/LICENSE.txt
18
+ */
19
+ -->
20
+ <config>
21
+ <modules>
22
+ <Mtoo_Navigation>
23
+ <version>1.0.0.1</version>
24
+ </Mtoo_Navigation>
25
+ </modules>
26
+ <frontend>
27
+ <layout>
28
+ <updates>
29
+ <navigation>
30
+ <file>navigation.xml</file>
31
+ </navigation>
32
+ </updates>
33
+ </layout>
34
+ <category>
35
+ <collection>
36
+ <attributes>
37
+ <category_ad/>
38
+ </attributes>
39
+ </collection>
40
+ </category>
41
+ </frontend>
42
+ <global>
43
+ <resources>
44
+ <navigation_setup>
45
+ <setup>
46
+ <module>Mtoo_Navigation</module>
47
+ </setup>
48
+ <connection>
49
+ <use>core_setup</use>
50
+ </connection>
51
+ </navigation_setup>
52
+ <navigation_write>
53
+ <connection>
54
+ <use>core_write</use>
55
+ </connection>
56
+ </navigation_write>
57
+ <navigation_read>
58
+ <connection>
59
+ <use>core_read</use>
60
+ </connection>
61
+ </navigation_read>
62
+ </resources>
63
+ <blocks>
64
+ <navigation>
65
+ <class>Mtoo_Navigation_Block</class>
66
+ </navigation>
67
+ </blocks>
68
+ </global>
69
+ </config>
app/code/community/Mtoo/Navigation/sql/navigation_setup/mysql4-install-0.1.0.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ /**
3
+ * Mtoo Co.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://www.magento800.com/LICENSE.txt
11
+ *
12
+ * @category Mtoo
13
+ * @package Mtoo_Navitation
14
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
15
+ * @license http://www.magento800.com/LICENSE.txt
16
+ */
17
+ -->
18
+ <?php
19
+
20
+ $installer = $this;
21
+
22
+ $installer->startSetup();
23
+ $installer->endSetup();
app/code/community/Mtoo/Navigation/sql/navigation_setup/mysql4-upgrade-0.1.0-1.0.0.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Mtoo Co.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://www.magento800.com/LICENSE.txt
11
+ *
12
+ * @category Mtoo
13
+ * @package Mtoo_Navitation
14
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
15
+ * @license http://www.magento800.com/LICENSE.txt
16
+ */
17
+
18
+ /* @var $installer Mage_Catalog_Model_Resource_Eav_Mysql4_Setup */
19
+ $installer = new Mage_Eav_Model_Entity_Setup('core_setup');
20
+ $installer->startSetup();
21
+
22
+ $entityTypeId = $installer->getEntityTypeId('catalog_category');
23
+ $attributeSetId = $installer->getDefaultAttributeSetId($entityTypeId);
24
+ $attributeGroupId = $installer->getDefaultAttributeGroupId($entityTypeId, $attributeSetId);
25
+
26
+ $installer->addAttribute('catalog_category', 'category_ad', array(
27
+ 'type' => 'text',
28
+ 'label' => 'Category Ad',
29
+ 'input' => 'textarea',
30
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
31
+ 'required' => false,
32
+ ));
33
+
34
+ $installer->addAttributeToGroup(
35
+ $entityTypeId,
36
+ $attributeSetId,
37
+ $attributeGroupId,
38
+ 'category_ad',
39
+ '11'
40
+ );
41
+ $installer->updateAttribute($entityTypeId, 'category_ad', 'is_wysiwyg_enabled', 1);
42
+ $installer->updateAttribute($entityTypeId, 'category_ad', 'is_html_allowed_on_front', 1);
43
+
44
+ $installer->endSetup();
app/design/frontend/default/default/layout/navigation.xml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Mtoo Co.
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the EULA
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.magento800.com/LICENSE.txt
12
+ *
13
+ * @category Mtoo
14
+ * @package Mtoo_Navitation
15
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
16
+ * @license http://www.magento800.com/LICENSE.txt
17
+ */
18
+ -->
19
+ <layout version="0.1.0">
20
+ <default>
21
+ <reference name="head">
22
+ <action method="addItem"><type>skin_css</type><name>navigation/css/nav.css</name></action>
23
+ </reference>
24
+ <reference name="left">
25
+ <block type="navigation/navigation" name="navigation" template="navigation/left.phtml" before='catalog.leftnav'/>
26
+ </reference>
27
+ </default>
28
+ </layout>
app/design/frontend/default/default/template/navigation/left.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- /**
2
+ * Mtoo Co.
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the EULA
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://www.magento800.com/LICENSE.txt
10
+ *
11
+ * @category Mtoo
12
+ * @package Mtoo_Navitation
13
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
14
+ * @license http://www.magento800.com/LICENSE.txt
15
+ */
16
+ /**
17
+ * This is template for Mtoo_Navigation_Block_Navigation
18
+ */
19
+ -->
20
+ <div id="sidenav">
21
+ <div class="sidenav_h"> <a href="/SiteMap" id="sitemap">Shop All Categories</a> </div>
22
+ <div id="sitemap_menu" class="sidebar_menu hide">
23
+
24
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
25
+ <?php echo $this->drawItem($_category) ?>
26
+ <?php endforeach ?>
27
+
28
+ </div>
29
+ </div>
30
+ <script type="text/javascript">
31
+ var litem_width=$('sidenav').getWidth()-2;
32
+ $$("div.litem").each (function (s){
33
+ s.setStyle({width:litem_width+"px"});
34
+ });
35
+ $$("div.litem").invoke("observe", "mouseover", function() {
36
+ var offset = this.cumulativeOffset();
37
+ var sidenav=$('sidenav').cumulativeOffset();
38
+ var sidenav_width=$('sidenav').getWidth()-2;
39
+ var offsetTop = offset[1];
40
+ var height= this.down('div.subitem').getHeight();
41
+ var sidenav_h =sidenav[1];
42
+ if ((offsetTop-sidenav_h)>height)
43
+ {
44
+
45
+ offsetTop=(offsetTop-sidenav_h-(height/2));
46
+ this.down('div.subitem').setStyle({top:offsetTop+"px"});
47
+ }
48
+
49
+ this.addClassName('hoverClass');this.down('div.subitem').setStyle({display:'block',left:sidenav_width+"px"}) });
50
+ $$("div.litem").invoke("observe", "mouseout", function() {
51
+ this.removeClassName('hoverClass');this.down('div.subitem').setStyle({display:'none'}) });
52
+ </script>
app/etc/modules/Mtoo_Navigation.xml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <!--
4
+ /**
5
+ * Mtoo Co.
6
+ *
7
+ * NOTICE OF LICENSE
8
+ *
9
+ * This source file is subject to the EULA
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://www.magento800.com/LICENSE.txt
13
+ *
14
+ * @category Mtoo
15
+ * @package Mtoo_Navitation
16
+ * @copyright Copyright (c) 2010 Mtoo Co. (http://www.magento800.com)
17
+ * @license http://www.magento800.com/LICENSE.txt
18
+ */
19
+ -->
20
+ <config>
21
+ <modules>
22
+ <Mtoo_Navigation>
23
+ <active>true</active>
24
+ <codePool>local</codePool>
25
+ </Mtoo_Navigation>
26
+ </modules>
27
+ </config>
package.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Advance_Left_Vertical_Navigation</name>
4
+ <version>1.0.0.1</version>
5
+ <stability>stable</stability>
6
+ <license>http://opensource.org/licenses/osl-3.0.php</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Mtoo Advance Left Vertical Menu Navigation with nice css design like ebay </summary>
10
+ <description>Mtoo Advance Left Vertical Menu Navigation with nice css design like ebay </description>
11
+ <notes>1. without any Admin-Configuration easy use and Easy 1-minute installation; &#xD;
12
+ 2. Define which Levels should be shown on store front .; &#xD;
13
+ 3.Compatible with any Browser..test in ie6,7,8 firefox ,google chrome ,Opera ...; &#xD;
14
+ 4.Self-appropriate left width,without any code change ; &#xD;
15
+ 5.Compatible with magento 1.3.*,1.4.*,1.5.*,1.6.*,1.7.* &#xD;
16
+ 6.Predefined top level Category Static Html at the backend &#xD;
17
+ Other extension features: &#xD;
18
+ * PE compatibility &#xD;
19
+ * Easy 1-minute installation &#xD;
20
+ * 100% open source &#xD;
21
+ * Meets Magento programming practices for most versions and customizations compatibility &#xD;
22
+ * Free upgrades at least in current version branch </notes>
23
+ <authors><author><name>Mtoo.inc</name><user>sjgoodjob</user><email>sjgoodjob@gmail.com</email></author></authors>
24
+ <date>2012-10-18</date>
25
+ <time>10:10:55</time>
26
+ <contents><target name="magecommunity"><dir name="Mtoo"><dir name="Navigation"><dir name="Block"><file name="Navigation.php" hash="f4c35681540d6de6a5e6895d8258ad7b"/></dir><dir name="etc"><file name="config.xml" hash="58b9edde0ff18277b69120549b0700dc"/></dir><dir name="sql"><dir name="navigation_setup"><file name="mysql4-install-0.1.0.php" hash="2283b2ed578f6f926d743be0448afc5b"/><file name="mysql4-upgrade-0.1.0-1.0.0.php" hash="cf8b1f0eb7e1a91e4ffbaedbc1e08eba"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mtoo_Navigation.xml" hash="06ebca2def3b4e74ed5db5224eb6278f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="navigation"><file name="left.phtml" hash="ab8a1bb3c40a6b3d70275b0a952f282e"/></dir></dir><dir name="layout"><file name="navigation.xml" hash="e9fdf166eca435d5fc748d4a6706117f"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="navigation"><dir name="css"><file name="nav.css" hash="698851132e242bcdea0348d577fefe5e"/></dir><dir name="images"><dir name="common"><file name="Thumbs.db" hash="6576e2015d4a3e78f00efeb8449dbf2d"/><file name="categories_botbg.gif" hash="b91cc0b8e945f091f3a64c5d672494fd"/><file name="categories_fbg.gif" hash="ceeb792357aefe544eeefc2ea480c812"/><file name="categories_ico.gif" hash="f02b203cc4db562ec25e47839e4de8fa"/><file name="footer_ico.gif" hash="67c74f0b116501e6613d3b65b64f1333"/><file name="ico.png" hash="f9fc16bacc45a08708d6d1f73ce35931"/><file name="litem_ico.jpg" hash="e0b023c432c512d7ba06b6990217fc86"/><file name="menu_arrow_bg.gif" hash="8a5a8b2ab1a6668ab8a90681e8865ca7"/><file name="menu_ico.gif" hash="1b4285bfb1cac246eb1125e4595dc48f"/><file name="silder_menu_bg.jpg" hash="71ac2816fd781bb139beab6ac30f076e"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
27
+ <compatible/>
28
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
29
+ </package>
skin/frontend/default/default/css/navigation/css/nav.css ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* CSS Document */
2
+
3
+ #sidenav{width:100%;text-align:left;z-index:50;}
4
+ #sidenav .sidenav_h{height:30px;background:#334154;padding-left:10px; border-radius:3px 3px 0px 0px;}
5
+ #sidenav .sidenav_h a{height:30px;background:url(../images/common/menu_ico.gif) 95% 10px no-repeat;line-height:26px;font-size:12px;color:#fff;display:block;font-weight:bold;}
6
+ #sidenav .sidenav_h a:hover{color:#eee;text-decoration:none}
7
+ #sidenav .sidebar_menu{font-size:12px;width:100%;position:relative;}
8
+ #sidenav .sidebar_menu .subitem{background:#FFF;border:#FF5A00 solid 1px;border-bottom:#FF5A00 solid 2px;border-right:#FF5A00 solid 2px;position:absolute;left:220px;top:0;z-index:51;}
9
+ #sidenav .sidebar_menu .litem{height:30px;overflow:hidden;float:left;background:url(../images/common/categories_fbg.gif) repeat-x;border-bottom:none;border-top:none;border-left:#dddddd solid 1px;border-right:#dddddd solid 1px;}
10
+ #sidenav .sidebar_menu .litem span{display:block;width:100%;height:28px;line-height:28px;position:relative;}
11
+ #sidenav .sidebar_menu .litem.hoverClass{border:#FF5A00 solid 1px;border-right:none; height:28px; width:100%;}
12
+ #sidenav .sidebar_menu .litem.hoverClass span{background:#FFF;position:relative;z-index:50;}
13
+ #sidenav .sidebar_menu .litem span a{display:block;width:100%;font-weight:bold;font-size:12px;text-decoration:none;color:#333;padding:0;text-indent:10px;}
14
+ #sidenav .sidebar_menu .litem.hoverClass span a{color:#666}
15
+ #sidenav .sidebar_menu .litem span em.dow_ico{ width:3px; height:5px; position:absolute; right:10px; top:12px; display:block; background:url(../images/common/footer_ico.gif) no-repeat}
16
+ #sidenav .sidebar_menu .litem .subitem{width:814px;display:none;height:auto;padding:15px 0px 17px 0px;border-bottom:#FF5A00 solid 2px;border-right:#FF5A00 solid 2px;position:absolute;z-index:49;-webkit-box-shadow:8px 5px 5px 0px rgba(0,0,40,.4);-moz-box-shadow:8px 5px 5px 0px rgba(0,0,40,.4);box-shadow:8px 5px 5px 0px rgba(0,0,40,.4);}
17
+ #sidenav .sidebar_menu .litem .subitem.w634{width:690px;}
18
+ #sidenav .sidebar_menu .litem .subitem.w604{width:660px;}
19
+ #sidenav .sidebar_menu .litem .subitem.w594{width:650px}
20
+ #sidenav .sidebar_menu .litem .subitem.w383{width:425px}
21
+ #sidenav .sidebar_menu .litem .subitem.w470{width:470px}
22
+ #sidenav .sidebar_menu .litem .subitem.w700{width:650px;}
23
+ .subitem .subitem_list{width:auto;border-right:#eee solid 1px;margin-left:15px;display:inline;}
24
+ .subitem .special{width:160px;height:auto;margin-left:20px;display:inline;}
25
+ .subitem .subitem_list ul{width:190px;height:auto;margin-left:5px;overflow:hidden;padding-right:15px}
26
+ .subitem .subitem_list ul.w230{width:230px}
27
+ .subitem .subitem_list ul.w200{width:200px}
28
+ .subitem .subitem_list ul ul{width:180px;margin-left:0px;margin-top:4px;margin-left:3px;}
29
+ .subitem .subitem_list ul li.addborder{background:url(../images/common/silder_menu_bg.jpg) center bottom no-repeat;border:none;padding:0;}
30
+ .subitem .subitem_list ul li{width:185px;float:left;word-break:break-all;white-space:nowrap;overflow:hidden;}
31
+ .subitem .subitem_list ul li.sub_category_self{margin-bottom:10px;padding-bottom:10px;}
32
+ .subitem .subitem_list ul .blue{color:#024c9e;background:none;}
33
+ .subitem .subitem_list ul .red{color:#c20000;}
34
+ .subitem .subitem_list ul .green{color:#449000;}
35
+ .subitem .subitem_list ul.w230 li{width:225px;}
36
+ .subitem .subitem_list ul.w200 li{width:195px;}
37
+ .subitem_in .subitem_list ul li.nochildren p.nochildrenlinks{display:block;background:url(../images/common/litem_ico.jpg) 0 7px no-repeat;padding:0 0 0 12px;}
38
+ .subitem_in .subitem_list ul li.nochildren p.nochildrenlinks a{padding:0;display:inline;color:#000}
39
+ .subitem .subitem_list ul li.cc20{background:url(../images/common/ico.png) -10px -502px no-repeat;}
40
+ .subitem .subitem_list ul li a{color:#000}
41
+ .subitem .subitem_list ul li a.cc20{color:#c20000}
42
+ .subitem .subitem_list ul li ul li{background:url(../images/common/footer_ico.gif) 0 6px no-repeat;padding-left:6px;float:left;line-height:16px;word-break:break-all;white-space:nowrap;overflow:hidden;}
43
+ .subitem .subitem_list ul li ul li.viewall{background:none;padding-left:0;}
44
+ .subitem .subitem_list ul li ul li.viewall a{color:#114ea6;text-decoration:none;}
45
+ .subitem .subitem_list ul li ul li.viewall a:hover{text-decoration:underline}
46
+ .subitem .subitem_list ul li ul li a{font-size:11px;color:#666}
47
+ .subitem .special .pro_special{margin-bottom:10px;height:auto;overflow:hidden}
48
+ .subitem .special .pro_special li{margin-bottom:5px;float:left;}
49
+ .subitem .special .pro_special li.spro_title{color:#c20000;padding-top:5px;}
50
+ .subitem .special .pro_special li.spro_img{width:155px;height:120px;border:#ddd solid 1px;overflow:hidden;position:relative;}
51
+ .pro_special li.spro_img .spro_off{width:50px;height:33px;padding:10px 0 0 15px;text-align:center;position:absolute;right:-1px;top:78px;background:url(../images/list/sale_zk.gif) 0 0 no-repeat;}
52
+ .subitem .special .pro_special li.spro_name a{color:#000;font-size:11px;}
53
+ .subitem .special ul.special_links li{float:left;height:18px;width:140px;line-height:18px;overflow:hidden;background:url(../images/common/ico.png) -13px -440px no-repeat;padding-left:10px;}
54
+ .special .special_links li a{color:#004e86;font-size:11px;}
55
+ .subitem .special .pro_brand li{margin-bottom:5px;float:left;}
56
+ .subitem .special .pro_brand li.brand_title{color:#c20000;}
57
+ .subitem .special .pro_brand li.brand_img{width:150px;height:47px;border:#ddd solid 1px;overflow:hidden;}
58
+ .subitem .fleft{ float:left}
59
+ .subitem .fright{ float:left}
60
+ .subitem .clear{clear:both}
61
+ .subitem ul { padding:0px;margin:0px;}
62
+ #sidenav .sidenav_bot{width:220px; height:2px; background:url(../images/common/categories_botbg.gif) no-repeat; clear:left}
skin/frontend/default/default/css/navigation/images/common/Thumbs.db ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/categories_botbg.gif ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/categories_fbg.gif ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/categories_ico.gif ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/footer_ico.gif ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/ico.png ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/litem_ico.jpg ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/menu_arrow_bg.gif ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/menu_ico.gif ADDED
Binary file
skin/frontend/default/default/css/navigation/images/common/silder_menu_bg.jpg ADDED
Binary file