Blogger Plug 'n' Play

NOTICE

Adfly Links not working Find Direct Links HERE

PHP get multiple CheckBox value using form



<?php 
 $rtt = "";
    $chk = $_REQUEST['txtOwn'];
     if(empty($chk))
     {
  echo("You do not own anything.");
     }
     else
     {
  $N = count($chk);
  for($i=0; $i < $N; $i++)
  {
   $rtt = $rtt."  ,".$chk[$i];
  }
     } 
  
  echo $rtt;
?>


<form method="get">
 <input type="checkbox" name="txtOwn[]" value="AC" />AC<br />
 <input type="checkbox" name="txtOwn[]" value="Fridge" />Fridge<br />
 <input type="checkbox" name="txtOwn[]" value="TV" />TV<br />
 <input type="checkbox" name="txtOwn[]" value="Mobile" />Mobile<br />
 <input type="checkbox" name="txtOwn[]" value="Car" />Car<br />
 <input type="submit" >
 </form>


Learn more »

Verticle Auto Scroll News Ticker Wordpress Using jQuery For Blogger Version 2


This news ticker is vertical scroller which stops for a while when heading appears then moves .It stops only on mouse-over. It is continuous and very small code to apply. view demo for complete code

Learn more »

Countdown Timer then Show Download Link using Javascript

This code can be used in situation where we want to show a countdown before showing any link or anything

See Demo
Learn more »

ScrollTo() Alternative jQuery Navigation/ Tab Menu To Scroll to a div In a page

Using jQuery we can easily scroll to the required div by using any event like click , Mouse over etc. Same jQuery Function can be used to scroll multiple Divs. No change required in function during addition or removal of any div to scroll. Small Snippet jQuery's ScrollTo function alternative. See Demo for its Working and code


jQuery Function Used. Complete code in demo link

$(document).ready(function (){
        $(".click").click(function (){
           var pos = $(this).attr("position");
                $('html, body').animate({
                    scrollTop: $("#"+pos).offset().top}, 2000);
        });
    });

Learn more »

New Auto Horizontal Image Slider[Style 2] Using jQuery For Blogger Blog

Auto Image slider with great flexibility to re-size the total container and width and length of thumbnails or image. Very light with small code for execution.

See the DEMO for its working. And below CSS code to change container size and thumbnail size

                        #intro {
    width: 580px;
    margin: 0 auto;
   }
   .wrapper {
    background-color: white;
    width: 480px;
    margin: 40px auto;
    padding: 50px;
    box-shadow: 0 0 5px #999;
   }
   .list_carousel {
    background-color: #ffffff;
    margin: 0 0 30px 60px;
    width: 710px;
   }
   .list_carousel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
   }
   .list_carousel li {
    font-size: 40px;
    color: #999;
    text-align: center;
    background-color: #eee;
    border: 5px solid #999;
    width: 200px;
    height: 150px;
    padding: 0;
    margin: 6px;
    display: block;
    float: left;
   }
   .list_carousel.responsive {
    width: auto;
    margin-left: 0;
   }
   .clearfix {
    float: none;
    clear: both;
   }
   .prev {
    float: left;
    margin-left: 10px;
   }
   .next {
    float: right;
    margin-right: 10px;
   }
   .pager {
    float: left;
    width: 300px;
    text-align: center;
   }
   .pager a {
    margin: 0 5px;
    text-decoration: none;
   }
   .pager a.selected {
    text-decoration: underline;
   }
   .timer {
    background-color: #999;
    height: 6px;
    width: 0px;
   }

View Demo for complete code
Learn more »

How to Type only selective text in a Text Field/Box

We can Disable some characters from being written in a text field by using below functions



with JQuery


 $("input").keypress( function(e)
{ var chr = String.fromCharCode(e.which);
 if ("12345NOABC".indexOf(chr) < 0)
 return false;
 }); 


without JQuery 


 document.getElementById("foo").onkeypress = function(e)
 { var chr = String.fromCharCode(e.which);
 if ("12345NOABC".indexOf(chr) < 0)
 return false;
};
Learn more »

JavaScript PDF Reader/Viewer to Embed in a Webpage

JavaScript based PDF reader/ viewer ca be used to embed a viewer on webpage to read PDF file. It also have extended capabilities like Zooming, Search next page and prev page, Goto page box.

We can pass a parameter to use any PDF file with is viewer.

See DEMO and get Files HERE
Learn more »

Check if text field contains only Numericals

function check()
{
    var val = document.getElementById("chkk").value;
    if(val.match(/^\d+$/)) {
       alert(document.getElementById("chkk").value);
     }
    else{alert("Please entere valid number");}
   
}
Learn more »

3D Circular continuous Round about image Scroller

3D Circular continuous Round about image Scroller

Round about Image Scroller is mostly found in flash. But this is bruit using jQuery. Clicking on perticuler image moves it to first. We can also give links in it. View its Demo for Code and detailed working.



Learn more »

Simple jQuery Accordion Menu

simple jQuery accordion menu using Css. See Demo for code and its Working

Learn more »

Floating DIV/ Light Box in page using jQuery for Every Content


Light box which opens in the middle of page with any type of content like images text audio and video. Any type of content can be embedded in light box. It basically opens a div in middle which contains another link to a page with any type of content.

See demo For code and files.


Learn more »

How to Block/Remove Ads in Android Browsers, Apps and Push Notifications

Applications which are free mostly loaded with advertisements as android choice of many users. Advertisers and developers use these free apps and games to earn money. But annoyance and irritation while using such apps usually increases as the number of such apps increases. Here I am going to provide some methods to remove such weedy stuff from your device free of cost.

For Rooted Devices. Rooted devices have some apps which are good in doing this job. 

 1) AdAway
 2) NetSpector Sniffer/Ad Blocker
 3) AdFree Android

For Un Rooted Devices. 

 1) Ad Block Plus
 2) Adblock Plus extension for Firefox
 3) Disable network/On Airplane Mode.
 4) Removing Push Notifications by detecting apps cousing them using these apps AirPush Detector and Addons Detector
Learn more »

Lazy load/Scroll to load jQuery tool for images.

In lazy load the whole content is not loaded in a single go. But loads as we scroll down. So that it takes less time while loading contents of a page with heavy text text and images. we can aply lazy load in various type of content to make loading fast, efficient and convinient for users. As you can see in Demo the content is loaded as we scroll down.






 HTML CODE
<li class="friend"><pre class="loadme"><!-- <div class="friend_rec"> LAZY CONTENT HERE LAZY CONTENT HERE  </div> --></pre></li>
<li class="friend"><pre class="loadme"><!-- <div class="friend_rec"> LAZY CONTENT HERE LAZY CONTENT HERE </div> --></pre></li>
<li class="friend"><pre class="loadme"><!-- <div class="friend_rec"> LAZY CONTENT HERE LAZY CONTENT HERE </div> --></pre></li>


jQuery CODE
<script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>    
<script type='text/javascript' src="http://ivorycity.com/jquery.lazyloader.js"></script>
<script>
$(document).ready( function()
   {
    $('pre.loadme').lazyLoad();
    $('pre.morestuff').lazyLoad();
} );
<script>

CSS
  li {
   list-style-type: none;
   float: left;
   clear: both;
            margin: 8px;
   width: 70%;
  }

Learn more »

change image with click on tabs or thumbnails using jQuery

We can change Image in a div by clicking on thumbnails using jQuery without any CSS.




 HTML CODE
<table border="1" >
 <tr>
     <td colspan="3"><div id="thumb"><img src='Default-Image.jpg' height='200px' widht='200px' ></div>
        </td>
    </tr>
    <tr>
     <td>
   <div id="one"><img src='img-thum1.jpg' height='50px' widht='50px' ></div>
     </td>
     <td>
   <div id="two"><img src='img-thum2.jpg' height='50px' widht='50px' ></div>
     </td>
     <td>
   <div id="three"><img src='img-thum3.jpg' height='50px' widht='50px' ></div>
     </td>
    </tr>    
</table>

jQuery CODE
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>

$("#one").click(function() {
  $("#thumb").html("<img src='Big-Image1.jpg' height='200px' widht='200px' >");
});

$("#two").click(function() {
  $("#thumb").html("<img src='Big-Image1.jpg' height='200px' widht='200px' >");
});

$("#three").click(function() {
  $("#thumb").html("<img src='Big-Image1.jpg' height='200px' widht='200px' >");
});

</script>

Learn more »

How to check and uncheck a checkbox with jQuery

Example form with Check box
<input type="checkbox" name="foo" value="bar" />
<input type="button" onclick="show_checked()" value="Show" />
<input type="button" onclick="set_checked(true)" value="On" />
<input type="button" onclick="set_checked(false)" value="Off" />

Check Status of Check box
   $('input[name=foo]').is(':checked')

Full JavaScript Code to On/Off Check Box
 

 function show_checked() {
    window.alert($('input[name=foo]').is(':checked'));
}
function set_checked(checked) {
    $('input[name=foo]').attr('checked', checked);
    //$('input[name=foo]').prop('checked', checked);
}

.prop() can also be used instead of .attr()


Learn more »

Conversion of statements to E-R Diagram Examples

statements are

Example 1 :
"A teacher can teach many courses. A student can enroll in many courses. A course may be a part of one or many programs  A teacher can be mentor of many students, however a student can have only one mentor."
The solution to above Question can be found Here

Example 2 :


Patients are treated in a single ward by the doctors assigned to them. Usually each patient will be assigned a single doctor, but in rare cases they will have two.
Heath care assistants also attend to the patients, a number of these are associated with each ward. 
Initially the system will be concerned solely with drug treatment. Each patient is required to take a variety of drugs a certain number of times per day and for varying lengths of time.
The system must record details concerning patient treatment and staff payment. Some staff are paid part time and doctors and care assistants work varying amounts of overtime at varying rates (subject to grade).
The system will also need to track what treatments are required for which patients and when and it should be capable of calculating the cost of treatment per week for each patient (though it is currently unclear to what use this information will be put).

The solution to above Question can be found Here







A Good Tutorial on E-R Diagrams can be found Here

Best Tool to Draw E-R Diagrams Online with Shared Support( Multiple users on different computer or screen can work on same diagram ) Visit Here
Learn more »

How to See if Element is hidden or Visible Using jQuery

Using jQuery we can check if an element is hidden or visible which changes its visibility under the effect of some jQuery functions like .hide() , .show() and .toggle()  .

Visibility of an element can be checked using  $(element).is(":visible")


DEMO
Learn more »

How to Install IIS on Windows XP

Introduction

This help page shows you how to install Microsoft's Internet Information Services (IIS) 5.1 web server for Windows XP Professional.

Can it be installed on Windows XP Home Edition?

No.

Why do I need to do this?

Contract Eagle is a browser-based software product which requires Microsoft's web server platform to run. All other systems supported by Contract Eagle (eg. Windows Server 2003, Windows Vista, Windows 7, WIndows Server 2008) allow IIS to be installed automatically. Windows XP Professional does not support this facility and therefore you need to follow these manual steps to complete the installation.

Lets Get Started

IIS isn't installed by default on a standard installation of Windows XP Professional. If you are not sure then it is most likely that it isn't already installed.
You will need your Windows XP Professional CD with you and you will need to be able to log in as an administrator on your computer.

Step 1 - Control PanelAddRemovePrograms

Go to Control Panel -> Add Remove Programs 

Step 2 - Windows Configuration

AddRemoveWindowsClick Add/Remove Windows Components


Step 3 - Select IIS

 The Windows Component Wizard will appear. You need to select the Internet Information Services (IIS) checkbox and then click Next.
SelectIIS

Step 4 - Insert Your XP Professional CD

Now you will probably be asked to insert your Windows XP Professional CD.
PleaseInsertDisk
Do not be concerned if you do not see this step. It means your system has probably been installed via the network, meaning you don't have to locate and insert your CD.

Step 5 - Installing

Once your WIndows XP Professional CD (or network based installation) is available you will see a window like the following, indicating that Internet Information Services is being installed.
Installing

Step 6 - Finished

When installation has finished you will see the following window, which shows that you have successfully installed Microsoft Internet Information Services 5.1.
InstallationComplete

Step 7 - Configure ASP.NET

This step registers Microsofts "DOT NET" technology within the IIS Web Server.
You may achieve this by clicking the "Configure ASP .NET" button within the Contract Eagle Installation Assistant. (Technical Note: This executes "aspnet_regiis -i" for .Net v2.0) 

Congratulations!

IIS has now been installed and the Contract Eagle setup assistant will be able to complete its installation for you.

UPDATE : LINK
Learn more »

Validate/Get Checked radio button value in JavaScript


Some times there is a need to fetch the value of radio option selected by user. At the same time there is also the requirement to give alert or error if no radio value is selected to make sure if user select at least one value.

Visit following Link for Example
Learn more »

Best tool for assembly language 8086 compiler/emulator



EMU8086 is the tool which can be used from students to professionals for compiling or emulating Assembly  language programs based on 8086 microprocessor. Find it here 
Learn more »

Best tool to lock and Hide files in windows xp and windows 7


This is the best tool to protect your data from unauthorized usage.This is very handy and light . Find it here
Learn more »

Tool to Import CSV and XLS to mysql



Importing CSV files or XLS files to MySQL takes a lot of time and some times it hangs after some times while importing csv or xls file. Using MySQL option for importing works well if size of .csv file ranges upto 300KB's after that problem rises. Few days back while searching for a solution I found tool which can import large .CSV and .XLS files without any problem in less time.

It is actually a EXCEL Addin which adds and directly Imports data to MySQL.

You can find that tool here
Learn more »