Jquery: jquery code AFTER page loading?
Use this 🙂
1 2 3 4 |
$(window).bind("load", function() { // code here }); |
Use this 🙂
1 2 3 4 |
$(window).bind("load", function() { // code here }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<?php // Load by name $_category = Mage::getModel('catalog/category')->loadByAttribute('name', 'category_Name'); $_product = Mage::getModel('catalog/product')->loadByAttribute('name', 'Product_name'); // Load by SKU $_product = Mage::getModel('catalog/product')->loadByAttribute('sku', 'your Sku'); //Load by ID $_product = Mage::getModel('catalog/product')->load($productID); $_category = Mage::getModel('catalog/category')->load($category); ?> |