Thursday, November 27, 2014

alert and redirect

window.location='http://localhost:81/friendlyvilla/?page=booking-tour-packages&id=98';
    alert('coming soon...1');

Sunday, November 23, 2014

hide some part of image when it over flow

span { position: relative; display: block; width: 50px; /* Change this */ height: 50px; /* Change this */ overflow: hidden; border: 1px solid #000; } span img { position: absolute; left: -10px; /* Change this */ top: -10px; /* Change this */ }

Wednesday, November 19, 2014

css css

apply css on input tag

.tour-bookingform input[type="text"],input[type="email"], select, input[type="date"], textarea,input[type="number"]{ width: 350px; height:30px; display: block; margin-bottom: 10px; background:#000; color:white }

.menu li li.active a{color:#fff !important}

--------------------------------------------------
Expand clickable area og tag A

.navp a{background:#CCC; border-radius:3px; padding: 7px 7px; margin-left:1px; margin-top:10px; display:inline-block;color:#fd792a}

--------------------------------------------------
Selected Active link

.menu>li.active,.menu>li:hover,.menu li>ul>li.active{
    box-shadow: 0 5px #fd792a;
-moz-box-shadow: 0 5px #fd792a;
-webkit-box-shadow: 0 5px #fd792a;
background: #000;
}

Tuesday, November 18, 2014

Monday, November 17, 2014

keep original width , height when upload

if($info['mime'] == 'image/gif') $src = imagecreatefromgif($uploadedfile); $o_wd = imagesx($src); // original width $o_ht = imagesy($src);// original height }

Saturday, November 8, 2014

Tuesday, November 4, 2014

add class to any tag in one group









Heading 1


Heading 2



This is a paragraph.
This is another paragraph.

This is some important text!





Monday, November 3, 2014

jqmphp

http://demo.jqmphp.com/form-ajax-disabled.php

jquery

http://api.jquery.com/category/traversing/filtering/

monetize from app mobile

1. https://developer.android.com/training/monetization/index.html

2. http://platform.beachfront.io/join

3. http://code4app.net/