Sunday, February 2, 2014

JQuery image preview on hover and onclick

Sorry, no attachments exist.
JQuery image preview on hover and onclick

Image-preview


JQuery image preview on hover and onclick

Disabling local modules in Magento.

if you ever wanted to temporarily disable all local modules, here is how to.

Open file app/etc/local.xml

Locate the tag

Change it’s value to true.

i.e

<disable_local_modules>false</disable_local_modules>


Disabling local modules in Magento.

Thursday, January 30, 2014

Sunday, January 26, 2014

Wordpress Banner Slider By Mayank Patel

Sorry, no attachments exist.
WordPress banner Slider by mayank patel


Wordpress Banner Slider By Mayank Patel

PHP Script

<?php

function getBrowser()

a-zA-Z.]*)#’;

if (!preg_match_all($pattern, $u_agent, $matches))


// we have no matching number just continue

// See how many we have.

$i = count($matches['browser']);

if ($i != 1)


//we will have two since we are not using ‘other’ argument yet

//see if version is before or after the name

if (strripos($u_agent,”Version”) < strripos($u_agent,$ub))


$version= $matches['version'][0];


else


$version= $matches['version'][1];



else


$version= $matches['version'][0];

// Check if we have a number.

if($version==null

// Now try it.

$ua=getBrowser();

$yourbrowser= “Your browser = ” . $ua['name'] . “<br />Version = ” . $ua['version'] . ” <br />” .”O.S. = “. $ua['platform'] . ” <br />reports = ” . $ua['userAgent'];

print_r($yourbrowser);

?>


PHP Script