Posts

Infinite scroll replace for Marquee

Infinite scroll replace for Marquee   Working on the material just coding here .......... <style type="text/css"> #container11123 { position:relative; width: 60px; height:54px;  overflow:hidden; background-color:#fff; } #div1container11123 { height:54px;  position:absolute; left:0px; top:0px; width:60px; } #div2container11123 { height:54px;  position:absolute; left:60px; top:0px; width:60px;  } .gallerythumbsmy { float:left; margin: 0px 5px; width: 50px; height: 50px; overflow: hidden; text-align:center; }  .gallerythumbsmy img { width: auto; height: 50px; cursor:-webkit-zoom-in; } </style> <script type="text/javascript">  var m=0; var n=60; var speed=200; var a=1; function scrollPics()  { document.getElementById(' div1container11123').style. left=m+'px'; document.getElementById(' div2container11123').style. left=n+'px'; m--; n--; if(m<=-60) { m=60; } if(n<=-60) { n=60;

Gallery Hover Effect via only CSS

Image
DEMO: For Making this Effect: We have to Defined only four class on CSS as following: .container  { float:left; margin: 10px; } .imgb {  display: none; position: absolute; } .container:hover .imgb {  display: block; } .clear {  clear:both;  } Description: container: We have take attribute of float to left, so that our gallery 's Images will be distributed as a uniform manner. imgb: This is the big image, which will be display on hover on the above div, So we have defined its attribute to display none, and the position is absolute. so that the image will not take space on pages. and will like a popup effect. .container:hover .imgb This property is the main point for this. The display of the class imgb is going to block after hovering on class  container. clear: This div is made for breaking the flow of content from left i.e.  float:left will be disable after this. Now we have to make HTML: { <div class="container"

Welcome Back Yowi's Form

Image
Welcome Back Yowi's Form India won the match with the inning of Yuwi (60 of 42) Man of the match: R Ashwin.            This world-cup is for the bowler of India. Consecutive two MoM to Amit and now the Ashwin. India need 2 win to won the World T20 Cup - 2014.

Ellen’s Oscars group selfie most retweeted tweet ever, first to cross 1- and 2M retweets

Image
SOURCE http://aajtak.intoday.in/story/oscars-2014-epic-moment-best-selfie-ever-1-756437.html https://twitter.com/ABC/status/440395058349486081 https://twitter.com/TheEllenShow

Check Traffic Sources

Image
Click to large Currently Working on the stuff: if(isset($_GET['token'])) { $token = sanitize($_GET['token']); $sqlcheck = "select `traficsource_source` from `traficsource` where `traficsource_source`='{$token}'"; $result = $dbLink->query($sqlcheck); if($result->num_rows == 0) { $sql1="INSERT INTO `traficsource` (`traficsource_source`, `traficsource_count`, `traficsource_insert`, `traficsource_update`) VALUES ('{$token}', '1', CURRENT_TIMESTAMP, now())"; $result = $dbLink->query($sql1); } else { $sql1="update `traficsource` set `traficsource_count`=(`traficsource_count`+1),`traficsource_update`=now() where `traficsource_source`='{$token}'"; $result = $dbLink->query($sql1); } }

Text Slider

Running Example: PHP is a server side language. JQUERY is a client side language. CSS is used for styling attribute to be called at once. MYSQL is used for storing the database. Here I am describing, how to used Text slider: First we need to define style:   .h1_title  { font-size: 20px;line-height: 22px;font-family: 'Patua One', cursive;font-weight: normal; text-transform: uppercase; letter-spacing: 4px; color:#e7decf;text-align: center; width:50%;padding-top: 25px;display:none; } HTML to be define: <div class="textslider"> <input type="hidden" id="h1countvalue" name="h1countvalue" value="1"/> <h1 class="h1_title" id="h1_title1" style="display:block;">WE OFFER OUR CLIENT EXPERT LEGAL ADVICE<br>ALWAYS PROTECT CLIENTS INTERESTS</h1> <h1 class="h1_title" id="h1_title2">WE OFFER OUR CLIENT EXPERT LEGAL ADV

PHP Variable

Image
Click to Enlarge Here I am Describing Basic of Variable. There are many type of variable used in PHP. Following are some: Variable from GET Method  Variable from POST Method  Variable Used in a PHP program itself Variable from SESSION    Variable from COOKIES Variable Type Description GET Method Variable Variable Used as : Array Using Technique : As Following: By referencing in URL i.e. filname.php?variable1=value1&variable2=value2 By Sending by FORM method will be GET i.e. By HTML Input fields like text, password, select etc. Validity/ Scope: Till they reference in URl or sent by Forms Calling as: Called as $_GET['variable1'] and $_GET['variable2'] POST Method Variable Variable Used as : Array Using Technique : As Following: By Sending by FORM method will be POST i.e. By HTML Input fields like text, password, select etc. Validity/ Scope: Till sent by Forms and the File is running Calling