ProductInstantSearch - Version 0.1.3

Version Notes

Instant_search

Download this release

Release Info

Developer Magestore
Extension ProductInstantSearch
Version 0.1.3
Comparing to
See all releases


Code changes from version 0.1.2 to 0.1.3

Files changed (2) hide show
  1. js/magestore/viewinstantsearch.js +4 -4
  2. package.xml +3 -3
js/magestore/viewinstantsearch.js CHANGED
@@ -100,8 +100,8 @@ ViewInstantsearch.prototype = {
100
  var productId = products[i].id;
101
  // Load the other videos' thumbnails
102
 
103
- var img = new Element('img', { "src": products[i].image, "id":"product"+(i+1)});
104
- var a = new Element('a', {"title":products[i].name, "href": "javascript:instantsearch.loadProductDetail('"+productId+"', "+(i+1)+")" });
105
 
106
  a.appendChild(img);
107
  moreProducts.appendChild(a);
@@ -162,9 +162,9 @@ ViewInstantsearch.prototype = {
162
 
163
  if(currentMoreProductNum)
164
  {
165
- $("product" + currentMoreProductNum).className = "";
166
  }
167
- $("product" + moreProductNum).className = "active";
168
 
169
  this.currentMoreProductNum = moreProductNum;
170
 
100
  var productId = products[i].id;
101
  // Load the other videos' thumbnails
102
 
103
+ var img = new Element('img', { "src": products[i].image, "id":"viewProduct"+(i+1)});
104
+ var a = new Element('a', {"title":products[i].name, "href": "javascript:viewInstantsearch.loadProductDetail('"+productId+"', "+(i+1)+")" });
105
 
106
  a.appendChild(img);
107
  moreProducts.appendChild(a);
162
 
163
  if(currentMoreProductNum)
164
  {
165
+ $("viewProduct" + currentMoreProductNum).className = "";
166
  }
167
+ $("viewProduct" + moreProductNum).className = "active";
168
 
169
  this.currentMoreProductNum = moreProductNum;
170
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ProductInstantSearch</name>
4
- <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>Instant_search</notes>
12
  <authors><author><name>magestore</name><user>magestore</user><email>info@magestore.com</email></author></authors>
13
  <date>2012-07-14</date>
14
- <time>02:25:19</time>
15
- <contents><target name="magelocal"><dir name="Magestore"><dir name="Instantsearch"><dir name="Block"><file name="Instantsearch.php" hash="1d5a139a86b18d5be31e1d93d5d9d631"/></dir><dir name="Helper"><file name="Catalogsearch.php" hash="fc32672e86dffb1f269eda46bae31d2a"/><file name="Data.php" hash="dc25cef25d343f2f6d090ef46573d4f9"/></dir><dir name="Model"><file name="Descriptiontype.php" hash="1b5e6dfbfa8f8c9f79b76257a9f7d48a"/><file name="Observer.php" hash="68aa6dec3596f27ff18b1e7bba4ce1c7"/></dir><dir name="controllers"><file name="IndexController.php" hash="a026d3563fc15844088ac4bce542cc17"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3c6438f5dcd2fab19c479596515e97b7"/><file name="config.xml" hash="3b56d09f3a013c503b09f680b8eb4249"/><file name="system.xml" hash="c65e223eda6115ea941496914b8e0ef2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="instantsearch.xml" hash="cb720549fa32468456f95cd8b2e02519"/></dir><dir name="template"><dir name="instantsearch"><file name="instantsearch.phtml" hash="97415b1bb8986842c80ce0ed41c8e57e"/><file name="view.phtml" hash="9e75721eb5b1f9d4d5e834df5dd3a0f5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magestore_Instantsearch.xml" hash="fa29090e466dd75a516a5f62bc726281"/></dir></target><target name="mage"><dir name="js"><dir name="magestore"><file name="instantsearch.js" hash="b7302ba745ff3b3bd2e909ca2421ef33"/><file name="viewinstantsearch.js" hash="8389b3c2b9259ca38d6daff2bdb5f04f"/></dir><dir name="tinybox"><file name="tinybox.js" hash="2ca7fcb7fefc5e8d85887f3c6dc6e315"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="tinybox"><dir name="images"><file name="Thumbs.db" hash="11fb2793c09da50437dcdfe0c4bd6333"/><file name="preload.gif" hash="bf3ec68db23e93ba2ec795ef558e96da"/><file name="rhino.jpg" hash="d00bad1ec05584e10a5601ec103aff72"/></dir><file name="style.css" hash="e3016ee232fbf3c6f780255002703237"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="magestore"><file name="instantsearch.css" hash="c3a45447088a63673e53ae801f6ebf2f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ProductInstantSearch</name>
4
+ <version>0.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
  <channel>community</channel>
11
  <notes>Instant_search</notes>
12
  <authors><author><name>magestore</name><user>magestore</user><email>info@magestore.com</email></author></authors>
13
  <date>2012-07-14</date>
14
+ <time>02:28:07</time>
15
+ <contents><target name="magelocal"><dir name="Magestore"><dir name="Instantsearch"><dir name="Block"><file name="Instantsearch.php" hash="1d5a139a86b18d5be31e1d93d5d9d631"/></dir><dir name="Helper"><file name="Catalogsearch.php" hash="fc32672e86dffb1f269eda46bae31d2a"/><file name="Data.php" hash="dc25cef25d343f2f6d090ef46573d4f9"/></dir><dir name="Model"><file name="Descriptiontype.php" hash="1b5e6dfbfa8f8c9f79b76257a9f7d48a"/><file name="Observer.php" hash="68aa6dec3596f27ff18b1e7bba4ce1c7"/></dir><dir name="controllers"><file name="IndexController.php" hash="a026d3563fc15844088ac4bce542cc17"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3c6438f5dcd2fab19c479596515e97b7"/><file name="config.xml" hash="3b56d09f3a013c503b09f680b8eb4249"/><file name="system.xml" hash="c65e223eda6115ea941496914b8e0ef2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="instantsearch.xml" hash="cb720549fa32468456f95cd8b2e02519"/></dir><dir name="template"><dir name="instantsearch"><file name="instantsearch.phtml" hash="97415b1bb8986842c80ce0ed41c8e57e"/><file name="view.phtml" hash="9e75721eb5b1f9d4d5e834df5dd3a0f5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magestore_Instantsearch.xml" hash="fa29090e466dd75a516a5f62bc726281"/></dir></target><target name="mage"><dir name="js"><dir name="magestore"><file name="instantsearch.js" hash="b7302ba745ff3b3bd2e909ca2421ef33"/><file name="viewinstantsearch.js" hash="694bd74516591faa2ca7734347fd356e"/></dir><dir name="tinybox"><file name="tinybox.js" hash="2ca7fcb7fefc5e8d85887f3c6dc6e315"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="tinybox"><dir name="images"><file name="Thumbs.db" hash="11fb2793c09da50437dcdfe0c4bd6333"/><file name="preload.gif" hash="bf3ec68db23e93ba2ec795ef558e96da"/><file name="rhino.jpg" hash="d00bad1ec05584e10a5601ec103aff72"/></dir><file name="style.css" hash="e3016ee232fbf3c6f780255002703237"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="magestore"><file name="instantsearch.css" hash="c3a45447088a63673e53ae801f6ebf2f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>