Blogger Plug 'n' Play

NOTICE

Adfly Links not working Find Direct Links HERE

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 »

facebook Messenger for android app and on Apple's iPhone but not in US why ?


The Facebook messenger for Android and iPhone for non Facebook users 

 Key Features of this launch 


  • FB messenger app is not available in U.S yet 
  • It fetches contacts form Contact list of user mobile 



The Facebook Messenger allows users to sign up for only with name and phone number after which app will fetch contacts and user will be able to send messages to their contacts and do conversation. The application is Available in following countries except U.S Australia, India Indonesia South Africa Venezuela


Android Users Visit Here
Learn more »

How to Show Size of All Folders in Windows Explorer

In windows XP explorer only shows size of files. But it becomes very annoying if you want to know the size of each folder. There is a small application which installs ans add a new attribute to windows explorer naming "Folder size". Visit this link to get Folder size application.






Learn more »

Back up/ Synchronize data of mobile/tablets etc online for free

Last year my mobile's firmware was Updated by service center .... which was really a great loss. I lost about 500+ contacts from my list :( 

There are many websites which provide back up of you mobile content like SMS's ,Contacts/ Address book , Memos etc But I am using this site for Sync. my Samsung Monte GT s5620.. and its really cool :D

Visit it HERE


Learn more »

Best Tool For MySQL Database Synchronization, Replication and Maintainance




Visit this link for details about different tools available for MySQL Database Synchronization  LINK
Learn more »

Price of Gold In India Latest Update every second

Learn more »

Write a Program in C language, algorithm and draw flowchart to find whether a given string S1 is substring of another string S2

#include
#include
void main()
{
char S1[25],S2[25];
char *sub;
printf("Enter string S2: ");
gets(S2);
printf("Enter string S1 : ");
gets(S1);
sub=strstr(S2,S1);
if(sub==0)
printf("not substring");
else
printf("%s - substring of ->%s",S1,S2);
}




Learn more »

How to download Mobile 3GP format of Youtube Video on PC

There is a website which provides you download links in all formats 


Just visit this web site and provide the link of YouTube video link then click download.
Learn more »

Top Free Android Games

This is a list of games which I used to play on my Android 4 Tablet ... My mother really likes to play them ;>


1)  Bubble Shooter Candy Dash 1.6.1


Free

Bubble Candy Dash 3Bubble Candy Dash 2Bubble Candy Dash 1


2) Tank Hero 1.5.5


Free

Tank Hero 1Tank Hero 2

Download From apktop:
download button Download Tank Hero 1.5.5

3) Zombie Dash 2.3


Free

Zombie Dash 1Zombie Dash 2Zombie Dash 3

Download From apktop:
download button Download Zombie Dash 2.3


4) Bubble Shooter








Free


Download From BPNP:







Learn more »

BSNL 701c Penta Tablet 3G/Play Store Not working problem Solved

BSNL Penta tablet model 701C was having a problem when i bought it. 3G Reliance dongle was detecting but was not working.

When I asked for help to Penta Chat support they gave me this link .... its a Firmware

(FIRMWARE 1)

http://adf.ly/GU66M

After Installing it ...I faced following Problems

1) PlayStore was not working
2) Application Button was not working properly
3) Some applications were not working

After that Again I called Penta customer care Then they gave a new link to Firmware

(FIRMWARE 2)


http://adf.ly/GU6AR

It was same which was installed when I got it i.e  Now 3G stopped working

 ... So what I did ... I remixed both firmwares about 25-30 times that means I installed firmware for 25 times to check it its working :P. I took 3 Days to get a perfect Installed firmware with all problems solved :D


So Download Both Above Firmwares and then I will give file names you have to replace ...

Step1 ) Extract files

Step2)
 In  FIRMWARE 1 Extracted Folder


          Add  FIRMWARE 2 customer folder
           Add  FIRMWARE 2 system.tar


You can replace BLASTING starting sound in Customer >> media folder :)

Thats it
Learn more »

Best, Free and Small Size PDF Joiner/Merger application download

Ultra PDF Merger is Small application which can merge multiple PDF files to single PDF very fast

Following are some features:

  • Drag n Drop
  • Fast Operation
  • No installation required
  • Its free
  • Small size (~1Mb)


Download it Here
Learn more »

Construction of Binary Tree From Inorder and Preorder/Postorder Traversal Fully Explained

After finding a lot in books and Internet I found this easy method on how to create B.Tree from studying following data

a)  - INORDER Traversal 
-POSTORDER Traversal 

OR 

b)  -INORDER Traversal 
-PREORDER Traversal 


We usually get Questions like :-

Create Binery tree from following tree Traversals

1)  Inorder:   E  A  C  K  F  H  D  B  G
    Preorder:  F  A  E  K  C  D  H  G  B


2)   INORDER:      D J H B E A F I C G 
      POSTORDER: J H D E B I F G C A
  

HERE the most important think to ALWAYS remember is :-

  • In PREorder  FIRST element is ROOT of the tree
  • In POSTorder  LAST element is ROOT of the tree
I hope you got it :P

i.e considering 1) Question


1)  Inorder:   E  A  C  K  F  H  D  B  G
    Preorder:  F  A  E  K  C  D  H  G  B


Considering 2) Question



2)   INORDER:      D  J  H  B  E  A  F  I  C  G 
      POSTORDER: J  H  D  E  B  I  F  G  C  A


* BLACK highlighted letters are roots 
** RED highlighted letters will go to LEFT SUB TREE  of Root 
***GREEN highlighted letters will go to RIGHT SUB TREE of Root

Let us Start with Question 1)

Step 1)

Now as we know which one is Root So...

                                   F
                                /     \
             ( E A C K)           (H D B G) 


Step 2)

Now FOR LEFT SUB TREE we have 
E A C K from Inorder and same letters from Preorder A  E  K  C 

i.e  Inorder   E A C K 
      Preorder A  E  K  C 

now have found Root again so now tree is 


                                   F
                                /     \
                             A       (H D B G) 
                           /    \
                         E     ( C K )

Step 3)
 Now letters are

Inorder    C  K
Preorder  K C


So now tree is 


                                   F
                                /     \
                             A       (H D B G) 
                           /    \
                         E     K
                               /
                             C

Same procedure can be done on Right Sub tree Of root F


For Postorder we have to find Root as the last element in traversal....

For UPDATED Info VISIT


Learn more »

jQuery Horizontal Smooth Slider/Image Scroller with Next/Prev Button

Here is a simple Image scroller which is showin two imaes at a time [more images can be show with some changes in CSS]




Learn more »

jQuery Smooth Toggle with Changing Show/Hide button

This is a code for jQuery Toggle tool which can Show or Hide the specified text in a div and changed the text in the button accordingly with a smooth transition effect. First there is HTML code then the Script code which must be added with jQuery,js. Working can be seen on DEMO page.




<section class="round-border">
            <div>
                <button href="#collapse1" class="nav-toggle">Show</button>
            </div>
            <div id="collapse1" style="display:none">
                <p>Bla bla bla bla</p>
            </div>
        </section>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type='text/javascript'>
$(document).ready(function() {
                $('.nav-toggle').click(function(){
                    //get collapse content selector
                    var collapse_content_selector = $(this).attr('href');                    
                    
                    //make the collapse content to be shown or hide
                    var toggle_switch = $(this);
                    $(collapse_content_selector).toggle(function(){
                        if($(this).css('display')=='none'){
                            toggle_switch.html('Show');//change the button label to be 'Show'
                        }else{
                            toggle_switch.html('Hide');//change the button label to be 'Hide'
                        }
                    });
                });
                
            });   
</script>

Learn more »