To remove empty elements from array
foreach($array as $key => $value) {
if($value == "") {
unset($array[$key]);
}
}
$new_array = array_values($array);
Thanks
Jawed
This is official blog of Jawed Shamshedi. You can check http://www.jawedweb.in for more info about me.
Friday, October 16, 2009
Friday, October 9, 2009
8 Ajax Lightbox Scripts
Hi,
At the blow link you can find 8 Ajax Light Box scripts....... ENJOY
http://webtecker.com/2008/02/26/8-ajax-lightbox-scripts/
Thanks
Jawed
At the blow link you can find 8 Ajax Light Box scripts....... ENJOY
http://webtecker.com/2008/02/26/8-ajax-lightbox-scripts/
Thanks
Jawed
Light box that also show google map in it
The below url deals with a light box that opens a google map in it.
http://www.bitethebullet.co.uk/ModalGoogleMaps/tabid/88/Default.aspx
Thanks
Jawed
http://www.bitethebullet.co.uk/ModalGoogleMaps/tabid/88/Default.aspx
Thanks
Jawed
Thursday, August 27, 2009
The text to be printed is contained in a div
Only the contents of this div are printed.
I have used a border to highlight the printable content.
1. Item One
2. Item Two
The id of the div is passed to the function.
Click to print div 1
On clicking the link the following sequence of events happens.
1. A new window is opened
2. The contents of the div are dynamically written to the new window
3. Data is sent to the printer
4. The new window is automatically closed (IE only)
Other areas of a page can be printed simply by defining another div and link
A second div containing text to be printed.
Ditto, ditto and ditto
Click to print div 2
start the javascrpt tab
close the javascrpt tab
Only the contents of this div are printed.
I have used a border to highlight the printable content.
1. Item One
2. Item Two
The id of the div is passed to the function.
Click to print div 1
On clicking the link the following sequence of events happens.
1. A new window is opened
2. The contents of the div are dynamically written to the new window
3. Data is sent to the printer
4. The new window is automatically closed (IE only)
Other areas of a page can be printed simply by defining another div and link
A second div containing text to be printed.
Ditto, ditto and ditto
Click to print div 2
start the javascrpt tab
close the javascrpt tab
Tuesday, August 25, 2009
Resources Libraries Helpers Plugins For Code Igniter
Here you will find a lots of libraries,helpers plugins for CI
http://codeigniter.com/wiki/Summary_of_Resources_Libraries_Helpers_Plugins.../
Thanks
Jawed
http://codeigniter.com/wiki/Summary_of_Resources_Libraries_Helpers_Plugins.../
Thanks
Jawed
Subscribe to:
Posts (Atom)