Posts

CSS Box Shadow on Left & Right Only

Experiment

Responsive Design View In Mozila

To enable the Responsive Design View: On the Tools menu, choose Web Developer, and then Responsive Design View. On the keyboard, press ctrl-shift-M on Windows or Linux, or cmd-option-M on Macintosh. To disable the Responsive Design View: On the Tools menu, choose Web Developer, and then Responsive Design View. On the keyboard, press Esc. While the Responsive Design View is enabled, you can continue browsing as you normally would in the resized content area.

Remove Currency Selector in Magento

Go to app/design/frontend/default/{Your theme}/template/page/html/header.phtml search for the text $this->getChildHtml('currencyTop') and disable it by commenting. Now refresh your page and check out the result.

Removing Vertical Scroll bar from custom fan page tab

In your App Settings: Canvas width:  Fluid Canvas height:  Fluid Page Tab Width:  Normal   Just Put the following Code after body tag of your html <div id="fb-root"></div> <script>       window.fbAsyncInit = function() {         FB.init({     appId  : 'XXXXXXXXXXXXX',     status : true, // check login status     cookie : true, // enable cookies to allow the server to access the session     xfbml  : true, // parse XFBML     oauth  : true // enable OAuth 2.0         });         //FB.Canvas.setAutoResize(); depreceated             FB.Canvas.setAutoGrow(1000);       };       (function() {     ...

How to add or integrate a Google Map (not sitemap) into a CMS page?

1) Go to the http://maps.google.com/ 2) Search your desired Location 3) Click the Link Button Beside the My Places Button 4) Copy The Paste Html to embed in website data from the input box 5) Create a folder in the magento root directory 6) I have named it map.html 7) Paste the copied data in the map.html file 8) Save the map.html file 9) As i wanted to show the map in the about-us page (CMS Page) 10) I have opened the about-us page from magento admin panel  11) From the page information open the content tab and click the html view of the content 12)  Call the map.html file as like as below 13) By writing the code 14) <IFRAME SRC="/map.html" width=620 height=400 FRAMEBORDER=0 SCROLLING=NO align="center">Call for directions.</IFRAME> 15) and save it !!!!!! 16) If you want to view the Google map in the contact us page then complete step 1 to step 8  first 17) Open file file 18) app/design/frontend/default/Themename/template/contacts/for...

Magento Recently Viewed Product With Image

/** In the derectory app/design/frontend/default/(Themename)/template/reports/product_viewed.phtml ***/ <?php if ($_products = $this->getRecentlyViewedProducts()): ?> <div class="block block-list block-viewed">     <div class="block-title">         <strong><span><?php echo $this->__('Recently Viewed Products') ?></span></strong>     </div>     <div class="block-content">         <ol class="mini-products-list" id="block-popular">         <?php foreach ($_products as $_item): ?>             <li class="item">                 <div class="product">                 <img class="produ...

Integrate Facebook Like In the Website

Go to the Page Link: https://developers.facebook.com/docs/reference/plugins/like/ In the Step 1 - Get Like Button Code URL to Like : Give Your Url To Like  and Press the Get The Code Button To Get Your Code...   Then Just Paste Your Code in y ou r Page where you want to show the like box

Like to unlock content on Facebook

This summary is not available. Please click here to view the post.

CodeIgniter 500 Internal Server Error in subdomain

I have put my Codeigniter Project in subdomain path and configured correctly. But the page showing misconfiguration of the project . Solution: just change the directory permission. Set the subdomain path permission 755. And you will get your desired project :)

How to bring back firefox default Menu button in Ubuntu 12.04.1 LTS

Open the add-ons manager by pressing the shortcut key "Ctrl+Shift+A" Locate the add-on "Global Menu Bar Integration" and disable it by clicking the "Disable" then click on the restart buttons or close the browser. Then restart the browser and Enjoy the Menu Button

jQuery noConflict() method

<a href="http://www.linksmanagement.com">Link Building</a> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> < html xmlns = "http://www.w3.org/1999/xhtml">     < head >         < meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" />         < title > New Web Project </ title >         < script type = "text/javascript" src = "lib/jquery/jquery-1.3.2.js">         </ script >         < script type = "text/javascript">             var jq = jQuery . noConflict ();             jq ( document ). ready ( function (){   ...

Select all checked elements :

<!DOCTYPE html > < html >     < head >         < script type = "text/javascript" src = "lib/jquery/jquery-1.3.2.js">         </ script >         < script type = "text/javascript">             $ ( document ). ready ( function (){                 $ ( ":checked" ). wrap ( "<span style='background-color:red' />" );             });         </ script >     </ head >     < body >         < form action = "">             Name: < input type = ...

Select the pre-selected item(s) in a drop down list:

<!DOCTYPE html > < html >     < head >         < script type = "text/javascript" src = "lib/jquery/jquery-1.3.2.js">         </ script >         < script type = "text/javascript">             $ ( document ). ready ( function (){                 $ ( ":selected" ). css ( "background-color" , "red" );             });         </ script >     </ head >     < body >         < form action = "">             Name: < input type = "text" name = "us...

Select all the disabled from elements:

<!DOCTYPE html > < html >     < head >         < script type = "text/javascript" src = "lib/jquery/jquery-1.3.2.js">         </ script >         < script type = "text/javascript">             $ ( document ). ready ( function (){                 $ ( ":disabled" ). css ( "background-color" , "red" );             });         </ script >     </ head >     < body >         < form action = "">             Name: < input type = "text" name = "us...

Select all the enabled from elements:

<!DOCTYPE html > < html >     < head >         < script type = "text/javascript" src = "lib/jquery/jquery-1.3.2.js">         </ script >         < script type = "text/javascript">             $ ( document ). ready ( function (){                 $ ( ":enabled" ). css ( "background-color" , "red" );             });         </ script >     </ head >     < body >         < form action = "">             Name: < input type = "text" name = "use...

Select input elements with type=”file”

<!DOCTYPE html > < html >     < head >         < script type = "text/javascript" src = "lib/jquery/jquery-1.3.2.js">         </ script >         < script type = "text/javascript">             $ ( document ). ready ( function (){                 $ ( ":file" ). css ( "background-color" , "red" );             });         </ script >     </ head >     < body >         < form action = "">             Name: < input type = "text" name = "user" ...