Use “<remove name=”catalog.compare.sidebar”/>” in layout xml file
Monthly Archives: October 2012
Get the id of the element clicked jquery
<script>
$(“body”).click(function(event) {
alert(event.target.id)
});
</script>
Assign value to a textbox jQuery
jQuery(‘#text-box-id’).val(100);
Get the value of a text box jquery
jQuery(‘#text-box-id’).val();
Set the height of a div jquery
jQuery(‘#div-id’).height(100);
get the height of a div jquery
jQuery(‘#div-id’).height();
Changing Magento Product Review Page Titles
Edit the function _prepareLayout in the page app/code/core/Mage/Review/Block/View.php
Change the Breadcrumb Separator Magento
Edit the file templatepagehtmlbreadcrumbs.phtml
popup on hover html
<style>
#hover-text { position:relative; cursor:pointer; }
#hover-text span {
display:none; position:absolute; top:0; left:100px;
z-index:1; width:150px; padding:10px; border:1px solid #ccc;
border-radius:5px; box-shadow:4px 4px 4px #999;
}
#hover-text:hover span { display:block; }
</style>
<div id=”hover-text”>
Site Name
<span>
PHPCodez
</div>