Sunday, 7 August 2011

introduction jquery basic beginners

Introduction

jQuery is one of the many framework provided online to help developers to minimize the time needed to write advance coding. It provides many useful feature to help developers to overcome cross browser issues. Best of all, it is extremely light-weight for optimization! jQuery has a large community and available plugin for different purposes. What jQuery can do for you? Powerful stuff! Check out their plugin made by other developers all over the world!
Since i am also new to jQuery, i believe there will always be new comer entering new technology and feature. So here i am writing this article to introduce some of the basic i learn in jQuery and hope it will help others too. Please bear in mind before we start, jQuery selection will always return you a set of jQuery object which you can use to do a chain operation(chaining is the powerful part of jQuery).


Element Manipulation

Saturday, 23 July 2011

Ethernet not working on ubuntu

No matter which pc or laptop you are running. If you are having problem of ehternet, bluetooth or wireless connection with your pc. Than you are in right place for 100% sure solution.

Just download the latest package from link below and save it to the desktop :

http://linuxwireless.org/download/compat-wireless-2.6/

Now, to compile and install the driver Run these commands in Terminal.


sudo apt-get update
sudo apt-get install build-essential
cd ~/Desktop
tar -xjvf compat-wireless-2.6.tar.bz2
cd compat-wireless*
scripts/driver-select atl1c
make
sudo make install

Now reboot you pc or laptop, Hopefully your ethernet will work automatically when you get in connect with wired network. If not, than run this command from terminal.

sudo modprobe atl1c

Sunday, 17 July 2011

How to disable ubuntu splash screen

I like to see the boot logs of ubuntu like the old style rather a slick splash screen at the boot time.

It is done with just two steps mentioned below

#sudo gedit /etc/default/grub


Find the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” and make it look like
GRUB_CMDLINE_LINUX_DEFAULT=”", then save the file

Now, run

run #sudo update-grub

Thanks for visiting

cover background automatically


just give this style to your component to give a background that will cover background automatically.

{
background: url(images/bg.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}

Using Max & Min width in IE6

Min & Max width are both great tools to have in your design arsenal, but unfortunately they don’t work in IE6, so what do we do?
We usually lock down the width of our site instead of creating the ideal fluid layout we want, sacrificing user experience for
out of date browsers.

Luckily, we can use a short JavaScript command targetting IE to accomplish a nice fluid layout with max & min widths in IE6:

#page-wrap
{
min-width:800px;
max-width:1000px;
width:expression(document.body.clientWidth < 800? "800px" : document.body.clientWidth > 1000? "1000px" : "auto");
}


In the above example, you can see that the smallest width for this page is 800px, and the largest is 1000px; not much of a flex,
but the concept can be applied to any element.

And if you only wanted to use min-width:

#page-wrap
{
min-width:800px;
width:expression(document.body.clientWidth < 800? "800px": "auto" );
}

adn also can try this-one


.with_minheight {
  min-height:550px;
  height:auto !important;
  height:550px;
}