Monday, June 24, 2013

Get Web Browser Height and Width by Javascript

Get the Browser height and width using javascript.you can provide dynamic width or height of any element by using javascript.

 See the example for it :

<html>
<head>
<script>
function getload()
{
var all=document.body.offsetWidth;
var final=all-1000;
document.getElementById('test').style.width=final+"px";
}
</script>
</head>
<body onload="getload()">
<div id="test" style="border:1px solid blue;">hello
</div>
</dody>
</html>


here get the document body width it provide the current document width by browser resolution. 



Thursday, June 6, 2013

Free Codecanyon - Jquery Smart Alert Popup

Smart Alert aims to replace standard dumb alert with fully configurable alternative, while maintaining its ease of use.Jquery and css base stylish fancy popup or fancy alert box.



Smart Alert Functionality :
- Easy to user
- Three Creative Styles
- Crossbrowser
- Fully themeable
- Fully configurable
- Localization Support
- Retina Ready
- Compatible with every Layout

For download Source code : Click Here


 

Themeforest : Photomin - Responsive HTML Template


Free download Themeforest Photomin - Responsive HTML Template.
Photomin is the perfect responsive template designed in a clean and minimalistic style. This template is very flexible, easy for customizing and well documented, approaches for personal and professional use. Photomin has been coded in HTML & CSS3 and jQuery.

Template Features :

  • Awesome Camera Slider
  • Filterable Portfolio
  • 2 Porfolio Layouts with Pretty Hover Effects
    • 4 Columns
    • 3 Columns
  • Unique Blog Style
  • Blog Post Formats (image, gallery, video, audio, link, aside, quote)
  • jQuery Powered
  • Cool CSS3 Features
  • Responsive Layout
Free Download Templates : Click Here

Wednesday, June 5, 2013

File Download using Codeigniter Framework

 Download File using Codeigniter Framework is very easy.for download any file or document by Codeigniter use Codeigniter " Download Helper ".


First you have to load this helper in you controller class.i will you how to do this.just see the below code or step.

Load Helper :
$this->load->helper('download');

User Function of Helper : force_download('filename', 'data')

Parameter :
filename = filepath or filename
data=put data into file or apply new filename

Example :
$data = 'Here is some text!';
$name = 'mytext.txt';

force_download($name, $data); 



 

Tuesday, June 4, 2013

File Upload by Codeigniter Framework

Codeigniter File Upload Class provide Many Settings.You can set various preferences, restricting the type and size of the files.
  • Allow Type
  • Max Height
  • Max Width
  • Max Size
  • Validation
  • etc...

Creating the Upload Form

Using a text editor, create a form called upload_form.php. In it, place this code and save it to your applications/views/ folder:

The Success Page

Using a text editor, create a form called upload_success.php. In it, place this code and save it to your applications/views/ folder:

The Controller

Using a text editor, create a controller called upload.php. In it, place this code and save it to your applications/controllers/ folder:

The Upload Folder

You'll need a destination folder for your uploaded images. Create a folder at the root of your CodeIgniter installation called uploads and set its file permissions to 777.

Redirect with Timer in PHP Script

Hello Friends,


Today we learn about how to redirect or refresh or reload page using php function.
Its very easy to do this just one php function and nothing else.I show you how to do this task.Here We use Php Header function for page redirect.



Example :
Syntax : header ('Refresh:time; URL=http://your website url');

Like below........
header('Refresh: 10; URL=http://yoursite.com/page.php');

Top 10 SEO Companies in India

Hello Friends ,

We Provide the list of  top 10 SEO(Search Engine Optimization) companies in india.




Sno Search Engine Name
1
Indazo Solutions
2
SEOValley Solutions Private Limited
3
PageTraffic
4
SeoTonic Web Solutions Private Ltd.
5
Outsource SEO
6
Profit By Search
7
SEO Novus
8
SEO Peace
9
Samyak Online Services Pvt. Ltd.
10
AdLift

List of Top 10 Search Engines in the World

Top 10 Search Engine In the world as below : 


Sno Search Engine Name
1 Google
2 Yahoo
3 Bing
4 Ask
5 Teoma
6 Duck Duck Go
7 EntireWeb
8 Blekko
9 Srub The Web
10 GigaBlast