<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Theme Heven</title>
	
	<link>http://www.themeheven.com</link>
	<description>WordPress, Ajax, Jquery, Web 2.0, PHP, Tutorials, Tips, Tricks</description>
	<lastBuildDate>Wed, 13 Jan 2010 09:37:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/themeheven" /><feedburner:info uri="themeheven" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>WordPress, Ajax, Jquery, Web 2.0, PHP, Tutorials, Tips, Tricks</itunes:subtitle><item>
		<title>10 Simple PHP Login Sytem Tutorial</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/89ACgRO6kkg/</link>
		<comments>http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 09:29:47 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=279</guid>
		<description><![CDATA[Login System is the First Part of Security system in web programming. In this tutorial I am going to show you the collection of various methos and types of login system. I will give a right choice for your system and you can understand more about login.
More here
See Also Following Topics:

An Introduction to Object Oriented [...]]]></description>
			<content:encoded><![CDATA[<p>Login System is the First Part of Security system in web programming. In this tutorial I am going to show you the collection of various methos and types of login system. I will give a right choice for your system and you can understand more about login.</p>
<p><a href="http://www.jagadishwor.com.np/2009/12/10-simple-php-login-sytem-tutorial/">More here</a><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/" title="An Introduction to Object Oriented PHP">An Introduction to Object Oriented PHP</a></li>
<li><a href="http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/" title="PHP Image File Upload Tutorial">PHP Image File Upload Tutorial</a></li>
<li><a href="http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/" title="PHP Redirect to another Page/URL Script">PHP Redirect to another Page/URL Script</a></li>
<li><a href="http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/" title="Delete Multiple Records Using Checkbox With Select All Buttons">Delete Multiple Records Using Checkbox With Select All Buttons</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=89ACgRO6kkg:nQa8L0NLAPo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=89ACgRO6kkg:nQa8L0NLAPo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=89ACgRO6kkg:nQa8L0NLAPo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/89ACgRO6kkg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/</feedburner:origLink></item>
		<item>
		<title>An Introduction to Object Oriented PHP</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/8lyZwnbsUFg/</link>
		<comments>http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 09:04:08 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[OO PHP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=276</guid>
		<description><![CDATA[
What the heck are Objects and Classes?
Classes, at their simplest point, are just receptacles of functions. They can be compared to a folder on your computer (assuming you aren’t running DOS). Inside the folder you may have three files, or in this case, functions. Let’s use a classic example, a Dog.
Take a look at the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.themeheven.com/wp-content/uploads/2010/01/oop-php-part1-banner.png" alt="" /></p>
<h3>What the heck are Objects and Classes?</h3>
<p>Classes, at their simplest point, are just receptacles of functions. They can be compared to a folder on your computer (assuming you aren’t running DOS). Inside the folder you may have three files, or in this case, functions. Let’s use a classic example, a Dog.</p>
<p>Take a look at the following image:</p>
<p><img src="http://www.themeheven.com/wp-content/uploads/2010/01/oop-php-part1-dog-example.png" alt="" /></p>
<p>As you can see, a Dog has many “functions”. It can run, walk, sit, play, and bark. This is the essence of what a class is.</p>
<p>An Object, on the other hand, is a way to represent your class. For example, you can have your class named “Dog”, but you can reference it by a variable called Cat if you really wanted to confuse yourself.</p>
<p>That’s all we’re going to cover in this section, so if you’re still confused, read on and I believe the examples will make some coherent sense.</p>
<h3>Writing our first class</h3>
<p>Since this is just our first class, we’re going to keep things nice and simple. Open up your text editor of choice and make a new file in your web root called myClass.php. Add in the following code:</p>
<p><code>&lt;?php</p>
<p>class myClass</p>
<p>{</p>
<p>function sayHello()</p>
<p>{</p>
<p>echo "Hello there!";</p>
<p>}</p>
<p>}</p>
<p>?&gt;</code></p>
<p>If you navigate to this file on your server, nothing will show up. All we did was set up a class (container) and add in a function, we never referenced it to be run.</p>
<h3>How to use your freshly written class</h3>
<p>Now that we have our myClass.php file all written, we’re going to reference it and use it. Make a new file in the same folder as your class is in, called index.php. Add in the following code:</p>
<p><code>&lt;?php</p>
<p>require_once('myClass.php');</p>
<p>$myClass = new myClass();</p>
<p>$myClass-&gt;sayHello();</p>
<p>?&gt;</code></p>
<p>If you run the file, you should see “Hello World!” echoed out. Let’s go over what we did to make this work. First, you can see that we required the myClass.php file, which contains our container full of functions. Next, we had to make a new Object, and we used the class name as the object name, just for ease of use. And finally, we referenced our sayHello function by writing the Object name with an arrow and the function name.</p>
<h3>Making it Friendlier</h3>
<p>Right now, if we wanted to use this to greet a logged in user, there wouldn’t be much of a sense of personalization, would there? Wouldn’t it be nice if we could say Hello to the specific user? Well, we can! Go back to your myClass.php file and edit it accordingly:</p>
<p><code>&lt;?php</p>
<p>class myClass</p>
<p>{</p>
<p>function sayHello($user)</p>
<p>{</p>
<p>echo "Hello " . $user . "!";</p>
<p>}</p>
<p>}</p>
<p>?&gt;</code></p>
<p>All we did was add a parameter to the function called name, that we can pass along to the function from our index file. Go back to your index.php file now and add your name like so:</p>
<p><code>&lt;?php</p>
<p>require_once('myClass.php');</p>
<p>$myClass = new myClass();</p>
<p>$myClass-&gt;sayHello('Dixon');</p>
<p>?&gt;</p>
<p></code></p>
<p>Now, reload your index.php file and you should see a nice textual greeting!</p>
<h3>Conclusion</h3>
<p>Now that we’ve covered the very basics of Object-Oriented PHP, you can practically do it all. And was it hard? Hopefully not! Be sure to check in later for the rest of this series, in which we’ll be making a fully functional MySQLi Database interaction class! Thanks for reading.</p>
<h3>Constructors and Destructors</h3>
<p>Think of PHP constructors and destructors like a building. You construct a building at first, then when you’re done using it, you destruct it. Except in PHP, there are no live explosives for the destruction. Let’s look at the following example of constructors:</p>
<p><code>&lt;?php</p>
<p>class MyClass</p>
<p>{</p>
<p>function __construct()</p>
<p>{</p>
<p>echo "MyClass Loaded!";</p>
<p>}</p>
<p>}</p>
<p>$MyClass = new MyClass();</p>
<p>?&gt; </code></p>
<p>In this example, we create a new class simply called MyClass, then a constructor function that says MyClass Loaded!. Basically, anything you want to happen when you call upon your class, should go in the constructor function.</p>
<p>In PHP, you don’t need to worry about always having a<strong><em> __destruct()</em></strong> method in your class, as all classes and variables are removed after your object is destroyed. (At the end of execution).</p>
<h3>Returning data from your functions</h3>
<p>In the real world, you don’t want to be using echo statements within your functions, you want to run your function and return the data for you to echo out where you want it. Let’s take a look at the following example that could be part of a blog application:</p>
<p><code>&lt;?php</p>
<p>class MyClass</p>
<p>{</p>
<p>var $mysqli;</p>
<p>function __construct()</p>
<p>{</p>
<p>$this-&gt;mysqli = new mysqli('localhost', 'root', '', 'blog');</p>
<p>}</p>
<p>function get_latest_posts()</p>
<p>{</p>
<p>//Do some database selection</p>
<p>$query = "SELECT * FROM `posts` ORDER BY `id` DESC";</p>
<p>$result = $this-&gt;mysqli-&gt;query($query);</p>
<p>return $result;</p>
<p>}</p>
<p>}</p>
<p>?&gt;</code></p>
<p>Here, we are using a constructor to make a new MySQLi connection, and then using that connection set in the constructor to run a possible query, then to return the result set to be used however you’d like to display the data. Simple, right?</p>
<h3>Keeping Organized</h3>
<p>In the first part of this series, I described classes as boxes, and functions as the things within the boxes. This picture is a great representation of keeping your classes well separated from each other, and their contents nicely arranged.</p>
<p>One key aspect of writing classes is to keep things easy to read and edit later. Let’s take a look at a <a href="http://core.trac.wordpress.org/browser/trunk/wp-includes/wp-db.php" target="_blank">file from the very popular blogging platform Wordpress</a>. As you can see, above every variable declaration, class declaration, and function declaration, there is vital information about the parameters, what the function does, and what it returns. Let’s write our own example now:</p>
<p><code>&lt;?php</p>
<p>/*</p>
<p>* @name MyClass</p>
<p>* @params none</p>
<p>* Our database class that makes a new database connection, and will insert userdata.</p>
<p>*/</p>
<p>class MyClass</p>
<p>{</p>
<p>/*</p>
<p>* MySQLi Connection Link</p>
<p>*/</p>
<p>private $mysqli;</p>
<p>/*</p>
<p>* __construct</p>
<p>* Sets new MySQLi Connection</p>
<p>*/</p>
<p>function __construct()</p>
<p>{</p>
<p>$this-&gt;mysqli = new mysqli('localhost', 'root', '', 'buildinternet');</p>
<p>}</p>
<p>/*</p>
<p>* insert_userdata</p>
<p>* @params username, password</p>
<p>* @returns bool</p>
<p>*/</p>
<p>function insert_userdata($username, $password)</p>
<p>{</p>
<p>//Insert the userdata into the database</p>
<p>if(success)</p>
<p>{</p>
<p>return true;</p>
<p>} else {</p>
<p>return false;</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>php?&gt; </code></p>
<p>Here, we have said what our class is, what it does, and then defined each function or variable within it. In the insert_userdata() function, we have said what the parameters are and what it returns above the function. As you can already see, these comments help immensely when trying to read your code or trying to find a problem with your code.</p>
<h3>Variables and Constructor</h3>
<p>Create a new file called class.db.php and insert the following:</p>
<p><code>&lt;?php</p>
<p>/*</p>
<p>* class db</p>
<p>* @param Host</p>
<p>* @param User</p>
<p>* @param Password</p>
<p>* @param Name</p>
<p>*/</p>
<p>class db</p>
<p>{</p>
<p>var $host; //MySQL Host</p>
<p>var $user; //MySQL User</p>
<p>var $pass; //MySQL Password</p>
<p>var $name; //MySQL Name</p>
<p>var $mysqli; //MySQLi Object</p>
<p>var $last_query; //Last Query Run</p>
<p>/*</p>
<p>* Class Constructor</p>
<p>* Creates a new MySQLi Object</p>
<p>*/</p>
<p>function __construct($host, $user, $pass, $name)</p>
<p>{</p>
<p>$host = $this-&gt;host;</p>
<p>$user = $this-&gt;user;</p>
<p>$pass = $this-&gt;pass;</p>
<p>$name = $this-&gt;name;</p>
<p>$this-&gt;mysqli = new mysqli($this-&gt;host, $this-&gt;user, $this-&gt;pass, $this-&gt;name);</p>
<p>}</p>
<p>}</p>
<p>$db = new db('localhost', 'root', '', 'blog');</p>
<p>?&gt; </code></p>
<p><em>**Try and dissect what we have done here before reading the explanation!**</em></p>
<p>First, we have done the most important part of Object Oriented PHP – organization! We have said what the class name is, and all the parameters that need to be passed to it when it is loaded. Next, inside the class, we have defined our four variables for MySQL connection and then required them as parameters of the constructor function, which can be passed when the class is loaded at the bottom of the file. Next, we have set our $mysqli variable to a new MySQLi Object. Simple, right? Let’s move on.</p>
<h3>
<p>Main Functions</h3>
<p><em><strong> SELECT </strong></em></p>
<p>Now that we have the connection down, we can start working with the database. Add a select function like this:</p>
<p><code>/*</p>
<p>* Function Select</p>
<p>* @param fields</p>
<p>* @param from</p>
<p>* @param where</p>
<p>* @returns Query Result Set</p>
<p>*/</p>
<p>function select($fields, $from, $where)</p>
<p>{</p>
<p>$query = "SELECT " . $fields . " FROM `" . $from . "` WHERE " . $where;</p>
<p>$result = $this-&gt;mysqli-&gt;query($query);</p>
<p>$this-&gt;last_query = $query;</p>
<p>return $result;</p>
<p>} </code></p>
<p>Here we have made a select function for selecting data from a MySQL table. We have defined three parameters, and you can see how they fit into the final query. All we return from this function is a query result set, which you can work with however you like in your pages.</p>
<p><em><strong> INSERT</strong></em></p>
<p>Of course, we can select data with our class now, but we don’t have anything to select unless we insert it! Let’s do that now by adding this function to your class:</p>
<p><code>/*</p>
<p>* Function Insert</p>
<p>* @param into</p>
<p>* @param values</p>
<p>* @returns boolean</p>
<p>*/</p>
<p>function insert($into, $values)</p>
<p>{</p>
<p>$query = "INSERT INTO " . $into . " VALUES(" . $values . ")";</p>
<p>$this-&gt;last_query = $query;</p>
<p>if($this-&gt;mysqli-&gt;query($query))</p>
<p>{</p>
<p>return true;</p>
<p>} else {</p>
<p>return false;</p>
<p>}</p>
<p>} </code></p>
<p>Another quite simple function, we are just requiring two parameters: the table name to insert the data into, and the values for the fields. Instead of returning any real data for this function, we just go ahead and run it and if it inserted the data, it returns true, and if not, false. Simple for inserting data.</p>
<p><em><strong> DELETE</strong></em></p>
<p>Now that we can insert and then select our data, we have to have a way to delete it say if a user wanted to delete their account. Add this function:</p>
<p><code>&lt;?php</p>
<p>/*</p>
<p>* Function Delete</p>
<p>* @param from</p>
<p>* @param where</p>
<p>* @returns boolean</p>
<p>*/</p>
<p>function delete($from, $where)</p>
<p>{</p>
<p>$query = "DELETE FROM " . $from . " WHERE " . $where;</p>
<p>$this-&gt;last_query = $query;</p>
<p>if($this-&gt;mysqli-&gt;query($query))</p>
<p>{</p>
<p>return true;</p>
<p>} else {</p>
<p>return false;</p>
<p>}</p>
<p>}</p>
<p>?&gt; </code></p>
<h3>Some extra goodies</h3>
<p>You probably noticed the last_query variable we defined at the beginning of the class, then we set it every time we ran a query in a function. This is very vital for troubleshooting, to see what’s wrong with your query. Another possible class variable could be a last_error, that would hold the last error returned.</p>
<p>Thanks to BuildInternet</p>
<p>Original Source From: <a href="http://buildinternet.com/" target="_blank">http://buildinternet.com/ </a><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/" title="10 Simple PHP Login Sytem Tutorial ">10 Simple PHP Login Sytem Tutorial </a></li>
<li><a href="http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/" title="PHP Image File Upload Tutorial">PHP Image File Upload Tutorial</a></li>
<li><a href="http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/" title="PHP Redirect to another Page/URL Script">PHP Redirect to another Page/URL Script</a></li>
<li><a href="http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/" title="Delete Multiple Records Using Checkbox With Select All Buttons">Delete Multiple Records Using Checkbox With Select All Buttons</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=8lyZwnbsUFg:N6bQUQqYxaE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=8lyZwnbsUFg:N6bQUQqYxaE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=8lyZwnbsUFg:N6bQUQqYxaE:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/8lyZwnbsUFg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/</feedburner:origLink></item>
		<item>
		<title>25 Awesome web design/development + graphics/UI+resources/tutorial sites</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/ChrNCbqwYWE/</link>
		<comments>http://www.themeheven.com/2009/12/25-awesome-web-designdevelopment-graphicsuiresourcestutorial-sites/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 06:47:12 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=273</guid>
		<description><![CDATA[There are lots of design/developer tutorial sites with lots of collection of resources and much more. Here are some of the best sites which designer&#8217;s should visit. You will get  lots of collection of resources from the sites.
1. Smashing Magazine

2. noupe 

3. TutsPlus

Tuts+ having great collection of resources related to audio, UI design and [...]]]></description>
			<content:encoded><![CDATA[<p>There are lots of design/developer tutorial sites with lots of collection of resources and much more. Here are some of the best sites which designer&#8217;s should visit. You will get  lots of collection of resources from the sites.</p>
<p><strong>1. Smashing Magazine</strong></p>
<p><a href="http://www.smashingmagazine.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/smashingmagazine.gif" border="0" alt="" width="500" height="414" /></a></p>
<p><strong>2. noupe </strong></p>
<p><strong><a href="http://www.noupe.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/noup.gif" border="0" alt="" width="500" height="377" /></a></strong></p>
<p><strong>3. TutsPlus</strong></p>
<p><a href="http://tutsplus.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/tuts+.gif" border="0" alt="" width="500" height="370" /></a></p>
<p>Tuts+ having great collection of resources related to audio, UI design and much more.</p>
<p><strong>4. Six Revisions</strong></p>
<p><strong><a href="http://sixrevisions.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/sixrevisions.gif" border="0" alt="" width="500" height="338" /></a></strong></p>
<p><strong>5. Design Follow</strong></p>
<p><a href="http://www.designfollow.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/designfollow.gif" border="0" alt="" width="500" height="437" /></a></p>
<p><strong>6. Design Mag</strong></p>
<p><a href="http://designm.ag/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/designmag.gif" border="0" alt="" width="500" height="376" /></a></p>
<p><strong>7. Blogfreakz</strong></p>
<p><a href="http://blogfreakz.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/blogfreakz.gif" border="0" alt="" width="500" height="386" /></a></p>
<p><strong>8. CreativeOverflow</strong></p>
<p><a href="http://creativeoverflow.net/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/creativeoverflow.gif" border="0" alt="" width="500" height="413" /></a></p>
<p><strong>9. Denbagus</strong></p>
<p><strong><a href="http://www.denbagus.net/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/denbagus.gif" border="0" alt="" width="500" height="336" /></a></strong></p>
<p><strong>10. Extra Tuts</strong></p>
<p><strong><a href="http://www.extratuts.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/extratuts.gif" border="0" alt="" width="500" height="331" /></a></strong></p>
<p><strong>11. PSD Vault</strong></p>
<p><strong><a href="http://www.psdvault.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/psdvault.gif" border="0" alt="" width="500" height="367" /></a></strong></p>
<p><strong>12. Smashing Buzz</strong></p>
<p><a href="http://www.smashingbuzz.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/smashingbuzz.gif" border="0" alt="" width="500" height="319" /></a></p>
<p><strong>13. Tutorial Lounge</strong></p>
<p><strong><a href="http://www.tutoriallounge.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/tutoriallounge.gif" border="0" alt="" width="500" height="445" /></a></strong></p>
<p><strong>14. Wordpress Arena</strong></p>
<p><strong><a href="http://wparena.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/wordpressarena.gif" border="0" alt="" width="500" height="409" /></a></strong></p>
<p><strong>15. Design Ussion</strong></p>
<p><a href="http://www.designussion.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/designussion.gif" border="0" alt="" width="500" height="320" /></a></p>
<p><strong>16. Psdeluxe</strong></p>
<p><strong><a href="http://www.psdeluxe.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/psdeluxe.gif" border="0" alt="" width="500" height="301" /></a></strong></p>
<p><strong>17. Designtutorials 4u</strong></p>
<p><strong><a href="http://designtutorials4u.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/designtutorials4u.gif" border="0" alt="" width="500" height="312" /></a></strong></p>
<p><strong>18. Perishable Press</strong></p>
<p><strong><a href="http://perishablepress.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/perishablepress.gif" border="0" alt="" width="500" height="268" /></a></strong></p>
<p><strong>19. Artfans Design</strong></p>
<p><strong><a href="http://artfans.info/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/artfandesign.gif" border="0" alt="" width="500" height="251" /></a></strong></p>
<p><strong>20. Inspire Bit</strong></p>
<p><strong><a href="http://inspirebit.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/inspirebit.gif" border="0" alt="" width="500" height="315" /></a></strong></p>
<p><strong>21. Design Dazzling</strong></p>
<p><strong><a href="http://www.designdazzling.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/designdazzling.gif" border="0" alt="" width="500" height="332" /></a></strong></p>
<p><strong>22. Tutorials Palace</strong></p>
<p><strong><a href="http://www.tutorialspalace.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/tutorialspalace.gif" border="0" alt="" width="500" height="284" /></a></strong></p>
<p><strong>23. Web and Designers</strong></p>
<p><strong><a href="http://www.webanddesigners.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/webadndesigners.gif" border="0" alt="" width="500" height="259" /></a></strong></p>
<p><strong>24. Out Law Design Blog</strong></p>
<p><strong><a href="http://www.outlawdesignblog.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/outlawdesignblog.gif" border="0" alt="" width="500" height="297" /></a></strong></p>
<p><strong>25. Designrfix</strong></p>
<p><a href="http://designrfix.com/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/12/designrfix.gif" border="0" alt="" width="500" height="295" /></a><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/03/33-visual-impressive-graphical-layout-css-web-pages-showcase/" title="32 Visual Impressive Graphical Layout CSS Web Pages Showcase">32 Visual Impressive Graphical Layout CSS Web Pages Showcase</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=ChrNCbqwYWE:Q6Td-Uv4nwg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=ChrNCbqwYWE:Q6Td-Uv4nwg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=ChrNCbqwYWE:Q6Td-Uv4nwg:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/ChrNCbqwYWE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/12/25-awesome-web-designdevelopment-graphicsuiresourcestutorial-sites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/12/25-awesome-web-designdevelopment-graphicsuiresourcestutorial-sites/</feedburner:origLink></item>
		<item>
		<title>CSS  Positioning, Layout and Understanding CSS z-index</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/0mxtPA0HlUo/</link>
		<comments>http://www.themeheven.com/2009/10/css-positioning-layout-and-understanding-css-z-index/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 05:04:54 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HOW TO]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=271</guid>
		<description><![CDATA[Layout with CSS is a great way to manage Objects and elements in a web page and a very easy. I think css is better than the tabural stracure. In a CSS styles you need to look at each part of the page as an individual chunk that you can shove wherever you choose. You [...]]]></description>
			<content:encoded><![CDATA[<p>Layout with CSS is a great way to manage Objects and elements in a web page and a very easy. I think css is better than the tabural stracure. In a CSS styles you need to look at each part of the page as an individual chunk that you can shove wherever you choose. You can place these chunks absolutely or relative to another chunk using CSS.  One of the major benefits of using CSS is that you’re no longer forced to lay your sites out in tables.</p>
<p>The position property is used to define whether an element is absolute, relative, static or fixed. This is the fun part. Using CSS you can define the position for your id&#8217;ed divs. Store your position information in a style call like this:</p>
<p>For Example</p>
<p><code>#banner {</p>
<p>position: absolute;</p>
<p>margin:5px 5px 0px 0px //Defines Top, right, bottom and left margin</p>
<p>}</p>
<p>#content {</p>
<p>margin-left: 20em;</p>
<p>}</p>
<p>#div-1 {</p>
<p>position:static;</p>
<p>}</p>
<p></code></p>
<h3>position:static</h3>
<p>The default positioning for all elements is position:static, which means the element is not positioned and occurs where it normally would in the document.</p>
<p>Normally you wouldn&#8217;t specify this unless you needed to override a positioning that had been previously set.</p>
<pre>#divname{
   position:static;
 }</pre>
<h3>position:relative</h3>
<p>If you specify position:relative, then you can use top or bottom, and left or right to move the element relative to where it would normally occur in the document.</p>
<pre>#divname {
 position:relative;
 top:20px;
 left:-40px;
 }</pre>
<h3>position:absolute</h3>
<p>When you specify position:absolute, the element is removed from the document and placed exactly where you tell it to go.</p>
<pre>#divname {
   position:absolute;
   top:0;
   right:0;
   width:200px;
 }</pre>
<h3>position:relative + position:absolute</h3>
<p>If we set relative positioning on first div, any elements within first div will be positioned relative to first div. Then if we set absolute positioning on second, we can move it to the top right of first div:</p>
<pre>   #firstdiv {
   position:relative;
   }
   #seconddiv {
   position:absolute;
   top:0;
   right:0;
   width:200px;
   }</pre>
<p>Floating an element will shift it to the right or left of a line, with surrounding content flowing around it. For variable height columns, absolute positioning does not work, so let&#8217;s come up with another solution.</p>
<p>We can &#8220;float&#8221; an element to push it as far as possible to the right or to the left, and allow text to wrap around it.</p>
<pre>#divname {
 float:left;
 width:200px;
 }</pre>
<p>Then after the floating elements we can &#8220;clear&#8221; the floats to push down the rest of the content.</p>
<pre>#divclear{
 clear:both;
 }</pre>
<h3>What is z-index</h3>
<p>When you&#8217;re using CSS positioning to position elements on the page, you need to think in virtual 3-D. Each element on the page can be layered on top or beneath any other element. The z-index determines where in the stack each element is. I like to think of the elements as pieces of paper, and the Web page is a collage. Where I lay the paper is determined by positioning, and how much of it shows through the other elements is the z-index.</p>
<pre>img
   {
   position:absolute;
   left:0px;
   top:0px;
   z-index:-1;//Set behind of any element while the z-index is -1.
 }</pre>
<p>On short note z-index is used to stack order of an element.<br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/07/css-3-column-fixed-width-centered-layout-tutorial/" title="CSS 3 Column Fixed width centered layout Tutorial">CSS 3 Column Fixed width centered layout Tutorial</a></li>
<li><a href="http://www.themeheven.com/2009/03/20-great-css-web-galleries/" title="20 Great CSS Web Galleries">20 Great CSS Web Galleries</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=0mxtPA0HlUo:_OLpl1hOMI8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=0mxtPA0HlUo:_OLpl1hOMI8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=0mxtPA0HlUo:_OLpl1hOMI8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/0mxtPA0HlUo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/10/css-positioning-layout-and-understanding-css-z-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/10/css-positioning-layout-and-understanding-css-z-index/</feedburner:origLink></item>
		<item>
		<title>PHP Image File Upload Tutorial</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/buYpY5mY8mk/</link>
		<comments>http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 08:41:53 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=268</guid>
		<description><![CDATA[In this tutorial you will learn to upload image file using PHP. Together you will learn to restrict file type. In this tutorial I am showing you example in which you can upload only jpg/jpeg images. It a very easy method I am going to show you and hope you will understand.
Start With Form :
&#60;form [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial you will learn to upload image file using PHP. Together you will learn to restrict file type. In this tutorial I am showing you example in which you can upload only jpg/jpeg images. It a very easy method I am going to show you and hope you will understand.</p>
<p>Start With Form :</p>
<p><code>&lt;form action="" method="post" enctype="multipart/form-data" name="form1"&gt;&lt;p&gt;<br />
&lt;input name="fileImage" type="file" id="fileImage"&gt;<br />
&lt;/p&gt;&lt;p&gt;<br />
&lt;input name="save-image" type="submit" id="save-image" value="Upload Image"&gt;<br />
&lt;/p&gt;</p>
<p>&lt;/form&gt;</p>
<p></code></p>
<p>Upload Code:</p>
<p><code>&lt;?phpif(isset($_POST['save-image'])){//Line Use to check if the buttton was pressed.</p>
<p>$fileName=$_FILES['fileImage']['name'];</p>
<p>//Getting file name and assigning it to $fileName variable</p>
<p>$fileType=$_FILES['fileImage']['type'];</p>
<p>//Getting file type and assigning it to $filetype variable</p>
<p>$fileSize=$_FILES['fileImage']['size'];</p>
<p>//Getting file size and assigning it to $filesize;</p>
<p>$tmpName=$_FILES['fileImage']['tmp_name'];</p>
<p>//Getting temporary name of file and assigning it to $tmpName</p>
<p>$maxsize=1048576;</p>
<p>//Defining maximum file size to 1Mb</p>
<p>$uploadDir="upload/";</p>
<p>//Define upload directory</p>
<p>$filePath=$uploadDir.$fileName;</p>
<p>//Defining file path so that we can use it on move_uploaded_file function</p>
<p>if(($fileType=="image/jpg") || ($fileType=="image/jpeg") || ($fileType=="image/pjpeg")){</p>
<p>//Checking file type. Is the file jpg or not?</p>
<p>$result=move_uploaded_file($tmpName, $filePath);</p>
<p>//When file is jpg moving file to the upload directory from temp directory</p>
<p>}</p>
<p>if($result){</p>
<p>//If file move successfully then show message</p>
<p>echo "File Uploaded Successfully";</p>
<p>}else{</p>
<p>//If file is invalid display message</p>
<p>echo "Invalid File Format";</p>
<p>}</p>
<p>}</p>
<p>?&gt;</p>
<p></code></p>
<p>Full Code:</p>
<p><code>&lt;?phpif(isset($_POST['save-image'])){$fileName=$_FILES['fileImage']['name'];</p>
<p>$fileType=$_FILES['fileImage']['type'];</p>
<p>$fileSize=$_FILES['fileImage']['size'];</p>
<p>$tmpName=$_FILES['fileImage']['tmp_name'];</p>
<p>$maxsize=1048576;</p>
<p>$uploadDir="upload/";</p>
<p>$filePath=$uploadDir.$fileName;</p>
<p>if(($fileType=="image/jpg") || ($fileType=="image/jpeg") || ($fileType=="image/pjpeg")){</p>
<p>$result=move_uploaded_file($tmpName, $filePath);</p>
<p>}</p>
<p>if($result){</p>
<p>echo "File Uploaded Successfully";</p>
<p>}else{</p>
<p>echo "Invalid File Format";</p>
<p>}</p>
<p>}</p>
<p>?&gt;</p>
<p>&lt;html&gt;</p>
<p>&lt;head&gt;</p>
<p>&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;</p>
<p>&lt;title&gt;Upload Image&lt;/title&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;form action="" method="post" enctype="multipart/form-data" name="form1"&gt;</p>
<p>&lt;p&gt;</p>
<p>&lt;input name="fileImage" type="file" id="fileImage"&gt;</p>
<p>&lt;/p&gt;</p>
<p>&lt;p&gt;</p>
<p>&lt;input name="save-image" type="submit" id="save-image" value="Upload Image"&gt;</p>
<p>&lt;/p&gt;</p>
<p>&lt;/form&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
<p></code><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/" title="10 Simple PHP Login Sytem Tutorial ">10 Simple PHP Login Sytem Tutorial </a></li>
<li><a href="http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/" title="An Introduction to Object Oriented PHP">An Introduction to Object Oriented PHP</a></li>
<li><a href="http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/" title="PHP Redirect to another Page/URL Script">PHP Redirect to another Page/URL Script</a></li>
<li><a href="http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/" title="Delete Multiple Records Using Checkbox With Select All Buttons">Delete Multiple Records Using Checkbox With Select All Buttons</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=buYpY5mY8mk:GrdlzZLE3b8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=buYpY5mY8mk:GrdlzZLE3b8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=buYpY5mY8mk:GrdlzZLE3b8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/buYpY5mY8mk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/</feedburner:origLink></item>
		<item>
		<title>jQuery addClass(), removeClass(), toggleClass() Tutorial</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/mviJ0bo7KIE/</link>
		<comments>http://www.themeheven.com/2009/09/jquery-addclass-removeclass-toggleclass-tutorial/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 09:17:41 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=266</guid>
		<description><![CDATA[Adding and removing and toggle CSS classes is a effective method to highlight changes in web pages. jQuery provides different Attributes for .addClass(), .removeClass() and toggleClass methods.
addClass():
jQuery:
&#60;script type="text/javascript"&#62;
$(document).ready(function(){
$("p.list").click(function(){
$(this).addClass("active");
});
});
&#60;/script&#62;
The CSS:
&#60;style type="text/css"&#62;
p{
float: left;
width: 33.3%;
padding: 0;
margin: 0;
}
.block {
margin-right: 10px;
padding: 20px;
background: #fff;
}
.active {background: #ccc;}
&#60;/style&#62;
removeClass():
jQuery:
$(document).ready(function(){
$("p.list").click(function(){
$(this).removeClass("list");
});
});
The CSS:
&#60;style type="text/css"&#62;
p {
float: left;
width: 33.3%;
padding: 0;
margin: 0;
margin-right: 10px;
padding: 20px;
}
.list{
margin-right: 10px;
padding: 20px;
background: #CCCCCC;
}
&#60;/style&#62;
toggleClass():
jQuery:
&#60;script&#62;
$(document).ready(function(){
$("p.list").click(function(){
$(this).toggleClass("active");
});
});
&#60;/script&#62;
The CSS:
&#60;style type="text/css"&#62;
p{
float: left;
width: [...]]]></description>
			<content:encoded><![CDATA[<p>Adding and removing and toggle CSS classes is a effective method to highlight changes in web pages. jQuery provides different Attributes for .addClass(), .removeClass() and toggleClass methods.</p>
<p><strong>addClass():</strong></p>
<p>jQuery:</p>
<pre>&lt;script type="text/javascript"&gt;
$(document).ready(function(){
$("p.list").click(function(){
$(this).addClass("active");
});
});
&lt;/script&gt;</pre>
<p>The CSS:</p>
<pre>&lt;style type="text/css"&gt;
p{
float: left;
width: 33.3%;
padding: 0;
margin: 0;
}
.block {
margin-right: 10px;
padding: 20px;
background: #fff;
}
.active {background: #ccc;}
&lt;/style&gt;</pre>
<p><strong>removeClass():</strong></p>
<p>jQuery:</p>
<pre>$(document).ready(function(){
$("p.list").click(function(){
$(this).removeClass("list");
});
});</pre>
<p>The CSS:</p>
<pre>&lt;style type="text/css"&gt;
p {
float: left;
width: 33.3%;
padding: 0;
margin: 0;
margin-right: 10px;
padding: 20px;
}
.list{
margin-right: 10px;
padding: 20px;
background: #CCCCCC;
}
&lt;/style&gt;</pre>
<p><strong>toggleClass():</strong></p>
<p>jQuery:</p>
<pre>&lt;script&gt;
$(document).ready(function(){
$("p.list").click(function(){
$(this).toggleClass("active");
});
});
&lt;/script&gt;</pre>
<p>The CSS:</p>
<pre>&lt;style type="text/css"&gt;
p{
float: left;
width: 33.3%;
padding: 0;
margin: 0;
}
.block {
margin-right: 10px;
padding: 20px;
background: #fff;
}
.active {background: #ccc;}
&lt;/style&gt;</pre>
<h3>Most Commented Posts</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/03/display-wordpress-content-outside-of-your-blog/" title="Display Wordpress content outside of your blog">Display Wordpress content outside of your blog</a></li>
<li><a href="http://www.themeheven.com/2009/03/top-10-magazine-wordpress-themes-from-premiumthemes/" title="Top 10 Magazine WordPress Themes from Premiumthemes">Top 10 Magazine WordPress Themes from Premiumthemes</a></li>
<li><a href="http://www.themeheven.com/2009/04/wordpress-meta-tags-plugin/" title="WordPress Meta-Tags Plugin">WordPress Meta-Tags Plugin</a></li>
<li><a href="http://www.themeheven.com/2009/06/simple-jquery-image-slide-show-with-semi-transparent-caption/" title="Simple JQuery Image Slide Show with Semi-Transparent Caption">Simple JQuery Image Slide Show with Semi-Transparent Caption</a></li>
<li><a href="http://www.themeheven.com/2009/06/web-2-0-and-seo/" title="Web 2.0 and SEO">Web 2.0 and SEO</a></li>
<li><a href="http://www.themeheven.com/2009/03/photoshop-tutorial-sites/" title="Photoshop Tutorial Sites">Photoshop Tutorial Sites</a></li>
<li><a href="http://www.themeheven.com/2009/04/how-to-embed-google-ad-in-your-post/" title="How to: Embed Google Ad in your post">How to: Embed Google Ad in your post</a></li>
<li><a href="http://www.themeheven.com/2009/04/wordpress-tips-and-tricks/" title="Wordpress Tips and Tricks">Wordpress Tips and Tricks</a></li>
<li><a href="http://www.themeheven.com/2009/04/digital-photography-tutorial-and-tips/" title="Digital Photography Tutorial and Tips">Digital Photography Tutorial and Tips</a></li>
<li><a href="http://www.themeheven.com/2009/05/useful-wordpress-tricks-to-make-your-theme-even-better/" title="Useful Wordpress Tricks to Make Your Theme Even Better">Useful Wordpress Tricks to Make Your Theme Even Better</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=mviJ0bo7KIE:N31XkF2XIfQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=mviJ0bo7KIE:N31XkF2XIfQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=mviJ0bo7KIE:N31XkF2XIfQ:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/mviJ0bo7KIE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/09/jquery-addclass-removeclass-toggleclass-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/09/jquery-addclass-removeclass-toggleclass-tutorial/</feedburner:origLink></item>
		<item>
		<title>Understanding Search Engine Models</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/NbWpEYK69cs/</link>
		<comments>http://www.themeheven.com/2009/09/understanding-search-engine-models/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 17:40:06 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=264</guid>
		<description><![CDATA[To understand search engines and search engine marketing, one must first understand the search engine model. There are two fundamentally different types of search engine back ends: site directories and spidering search engines. Site directory databases are built by a person manually inputting data about websites. Most directories include a site’s url, title, and description [...]]]></description>
			<content:encoded><![CDATA[<p>To understand search engines and search engine marketing, one must first understand the search engine model. There are two fundamentally different types of search engine back ends: site directories and spidering search engines. Site directory databases are built by a person manually inputting data about websites. Most directories include a site’s url, title, and description in their database. Some directories include more information, such as keywords, owner’s name, visitor rankings and so on. Some directories will allow you to control your website’s information yourself others rely on editors that write the information to conform to the directory standards.</p>
<p>It is important to note that most directories include directory listings as an alterative to the search box for finding websites. A directory listing uses hierarchal groupings from general to specific to categorize a site.</p>
<p>Spidering search engines take a very different approach. They automate the updating of information in their database by using robots to continually read web pages. A search engine robot/spider/crawler acts much like a web browser, except that instead of a human looking at the web pages, the robot parses the page and adds the page’s content it’s database.</p>
<p>Many of the larger search engines will have both a directory and spidering search engine, e.g. yahoo.com, google.com, and allow visitors to select which they want to search. Note that many search engines do not have their own search technology and are contracting services from elsewhere. For example, Google’s spider SE is their own, but their directory is and Open Directory; additionally aol.com and netscape.com both use Google’s spider SE for their results.</p>
<p>There are a few other search engine models of interest. There are some search engines that combine results from other engines such as dogpile.com and mamma.com. There are also search engines that add extra information to searches such as Amazon’s alexa.com, which uses Google’s backend but adds data from its search bar regarding tracking traffic to the site.</p>
<p>Source: http://www.searchenginejournal.com/<br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/07/search-engine-optimization-strategies/" title="Search Engine Optimization Strategies">Search Engine Optimization Strategies</a></li>
<li><a href="http://www.themeheven.com/2009/06/web-2-0-and-seo/" title="Web 2.0 and SEO">Web 2.0 and SEO</a></li>
<li><a href="http://www.themeheven.com/2009/06/seo-tips-and-tricks/" title="SEO Tips and Tricks">SEO Tips and Tricks</a></li>
<li><a href="http://www.themeheven.com/2009/05/understanding-search-engine-developing-seo-friendly-site/" title="Understanding Search Engine, Developing SEO Friendly Site">Understanding Search Engine, Developing SEO Friendly Site</a></li>
<li><a href="http://www.themeheven.com/2009/03/wordpress-seo-expert-plugins/" title="WordPress SEO Expert Plugins">WordPress SEO Expert Plugins</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=NbWpEYK69cs:hYPBSEq8dg0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=NbWpEYK69cs:hYPBSEq8dg0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=NbWpEYK69cs:hYPBSEq8dg0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/NbWpEYK69cs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/09/understanding-search-engine-models/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/09/understanding-search-engine-models/</feedburner:origLink></item>
		<item>
		<title>Inspiration Windows 7 Wallpapers</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/2rNJAu1vU3s/</link>
		<comments>http://www.themeheven.com/2009/09/inspiration-windows-7-wallpapers-2/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 17:27:38 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Wallpaper]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=262</guid>
		<description><![CDATA[1. Nature leaves wallpaper

2. The Falls 

3. Windows 7 Energize

4. Character
 
5. Ferrai

6. Barren Border

7. Colors of New England 

8. Mystic Forest

9. Energy Flow

10. Blue Sky

11. Lough Key Forest Park

12. Grasmere Village

13. Washington Azaleas

14. Windows 7 

15. Landscape 

16. Windows 7

17. Natural Windows
 
18. Vista Inspiration in Windows 7
 
19. Windows 7
 
20. The Energy
 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1. Nature leaves wallpaper</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/windows-7-wallpaper-34.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>2. The Falls </strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/img10.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>3. Windows 7 Energize</strong></p>
<p><strong><a href="http://windowsnet.deviantart.com/art/Windows-7-Energize-77628450" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/Windows_7_Energize_by_WindowsNET.jpg" border="0" alt="" width="500" height="375" /></a></strong></p>
<p><strong>4. Character</strong></p>
<p><strong><a href="http://wparena.com/http://www.jagadishwor.com.np/wp-content/uploads/2009/09/uploads/2009/09/img20.jpg" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/img20.jpg" border="0" alt="" width="500" height="313" /></a> </strong></p>
<p><strong>5. Ferrai</strong></p>
<p><strong><a href="http://windows7news.com/nggallery/page-600/album-11/gallery-49/page/1061/" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/bg_5.jpg" border="0" alt="" width="500" height="300" /></a></strong></p>
<p><strong>6. Barren Border</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/barren_border-800x600.jpg" alt="" width="500" height="375" /></strong></p>
<p><strong>7. Colors of New England </strong></p>
<p><strong><a href="http://www.windows7wallpapers.org/index.php?g2_view=downloadlink.OfferDownload&amp;g2_itemId=3068" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/Colors-of-New-England-1.jpeg" border="0" alt="" width="500" height="375" /></a></strong></p>
<p><strong>8. Mystic Forest</strong></p>
<p><strong><a href="http://www.windows-7-wallpapers.com/view/mystic-forest-852x480.html" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/mystic-forest-852x480.jpg" border="0" alt="" width="500" height="282" /></a></strong></p>
<p><strong>9. Energy Flow</strong></p>
<p><strong><a href="http://gyppi.deviantart.com/art/Energy-Flow-Windows-7-106348828" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/Energy_Flow__Windows_7_by_Gyppi.jpg" border="0" alt="" width="500" height="313" /></a></strong></p>
<p><strong>10. Blue Sky</strong></p>
<p><strong><a href="http://windows7wallpapers.net/view/bluesky-800x600.html" target="_blank"><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/bluesky-800x600.jpg" border="0" alt="" width="500" height="375" /></a></strong></p>
<p><strong>11. Lough Key Forest Park</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/lough-key-forest-park-ireland-----id--800x600.jpg" alt="" width="500" height="375" /></strong></p>
<p><strong>12. Grasmere Village</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/Grasmere%20Village.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>13. Washington Azaleas</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/Washington%20Azaleas.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>14. Windows 7 </strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/windows-7-wallpaper.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>15. Landscape </strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/img7.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>16. Windows 7</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/Windows_7_by_rehsup.jpg" alt="" width="500" height="313" /></strong></p>
<p><strong>17. Natural Windows</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/nature-windows-7-wallpaper.jpg" alt="" width="500" height="313" /> </strong></p>
<p><strong>18. Vista Inspiration in Windows 7</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/windows_vista_inspirant_4___w7_by_obi_s4n.jpg" alt="" width="500" height="400" /> </strong></p>
<p><strong>19. Windows 7</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/windows%207.jpg" alt="" width="500" height="313" /> </strong></p>
<p><strong>20. The Energy</strong></p>
<p><strong><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/09/windows%20seven.jpg" alt="" width="500" height="313" /> </strong><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/07/inspiration-windows-7-wallpapers/" title="Inspiration Windows 7 Wallpapers">Inspiration Windows 7 Wallpapers</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=2rNJAu1vU3s:pi-0dJFyeE8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=2rNJAu1vU3s:pi-0dJFyeE8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=2rNJAu1vU3s:pi-0dJFyeE8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/2rNJAu1vU3s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/09/inspiration-windows-7-wallpapers-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/09/inspiration-windows-7-wallpapers-2/</feedburner:origLink></item>
		<item>
		<title>JavaScript Built in Object, Method, Properties &amp; Handling Events in browser</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/sP6kKOJaosM/</link>
		<comments>http://www.themeheven.com/2009/08/javascript-built-in-object-method-properties-handling-events-in-browser/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 06:23:43 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=259</guid>
		<description><![CDATA[JavaScript is an Object Oriented Programming Language. It  is completely centered around objects. May if you are newer you have question about What is an object? so the very short answer is everything is object.
In the context of a web page, a JavaScript object is any scriptable HTML element &#8211; that is any HTML [...]]]></description>
			<content:encoded><![CDATA[<p>JavaScript is an Object Oriented Programming Language. It  is completely centered around objects. May if you are newer you have question about What is an object? so the very short answer is everything is <em>object</em>.</p>
<p>In the context of a web page, a JavaScript object is any scriptable HTML element &#8211; that is any HTML element within a document that may be accessed through the JavaScript language. Scriptable HTML elements are associated with the Document Object Model, also known as the DOM.</p>
<p><strong>Object:</strong></p>
<p>In JavaScript, you interact with the browser throught the use of built in <em>objects</em>; these objects exist already, and can be accessed from your JavaScript code by name. The built-in objects are Date, Math, String, Array, and Object. Each is used in a unique and not-quite-consistent way. Objects have properties, which you can think of as characteristics of an object. Here are the four most commoly used objects:</p>
<p><strong>1. The String Object:</strong></p>
<p>The String object is used to manipulate a stored piece of text. The String object of JavaScript allows you to perform manipulations on a stored piece of text, such as extracting a substring, searching for the occurrence of a certain character within it etc. General method of using String Object is to declare a variable and assign a string, in other words a text to the variable.</p>
<p>String Object Properties:</p>
<p><em>length</em> &#8211; The number of characters in the string. (# characters)</p>
<p><em>prototype</em> &#8211; For creating more properties</p>
<p>String Object Methods for HTML Formatting:</p>
<table border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr bgcolor="#cccccc">
<td width="129" valign="top">
<p align="center"><strong> Method Name</strong></p>
</td>
<td width="346" valign="top">
<p align="center"><strong> Returned Value</strong></p>
</td>
</tr>
<tr>
<td width="129" valign="top">anchor</td>
<td width="346" valign="top">&lt;A NAME=&#8221;anchortext&#8221;&gt;foo&lt;/A&gt;</td>
</tr>
<tr>
<td width="129" valign="top">big</td>
<td width="346" valign="top">&lt;BIG&gt;foo&lt;/BIG&gt;</td>
</tr>
<tr>
<td width="129" valign="top">blink</td>
<td width="346" valign="top">&lt;BLINK&gt;foo&lt;/BLINK&gt;</td>
</tr>
<tr>
<td width="129" valign="top">bold</td>
<td width="346" valign="top">&lt;B&gt;foo&lt;/B&gt;</td>
</tr>
<tr>
<td width="129" valign="top">fixed</td>
<td width="346" valign="top">&lt;TT&gt;foo&lt;/TT&gt;</td>
</tr>
<tr>
<td width="129" valign="top">fontcolor</td>
<td width="346" valign="top">&lt;FONT COLOR=&#8221;green&#8221;&gt;foo&lt;/</td>
</tr>
<tr>
<td width="129" valign="top">fontsize</td>
<td width="346" valign="top">&lt;FONT SIZE=&#8221;-1&#8243;&gt;foo&lt;/FONT&gt;</td>
</tr>
<tr>
<td width="129" valign="top">italics</td>
<td width="346" valign="top">&lt;I&gt;foo&lt;/I&gt;</td>
</tr>
<tr>
<td width="129" valign="top">link</td>
<td width="346" valign="top">&lt;A HREF=&#8221;linktext&#8221;&gt;foo&lt;/A&gt;</td>
</tr>
<tr>
<td width="129" valign="top">small</td>
<td width="346" valign="top">&lt;SMALL&gt;foo&lt;/SMALL&gt;</td>
</tr>
<tr>
<td width="129" valign="top">strike</td>
<td width="346" valign="top">&lt;STRIKE&gt;foo&lt;/STRIKE&gt;</td>
</tr>
<tr>
<td width="129" valign="top">sub</td>
<td width="346" valign="top">&lt;SUB&gt;foo&lt;/SUB&gt;</td>
</tr>
<tr>
<td width="129" valign="top">sup</td>
<td width="346" valign="top">&lt;SUP&gt;foo&lt;/SUP&gt;</td>
</tr>
<tr>
<td width="129" valign="top">toLowerCase</td>
<td width="346" valign="top">uppercase</td>
</tr>
<tr>
<td width="129" valign="top">toUpperCase</td>
<td width="346" valign="top">UPPERCASE</td>
</tr>
</tbody>
</table>
<p><a href="http://www.javascriptkit.com/jsref/string.shtml" target="_blank">See more methods</a></p>
<p><strong>2. The Math Object : </strong></p>
<p>The Math object allows you to perform mathematical tasks. The JavaScript math object can be invoked without creating an instance of it. But unlike the String and the Date object which requires defining the object, Math object need not be defined. So in conclusion The Math object of JavaScript allows you to perform certain calculations by using method functions of the Math object.</p>
<p>JavaScript Math Object Properties:</p>
<p><em>E</em> &#8211; Euler&#8217;s constant</p>
<p><em>LN2</em> &#8211; Natural log of 2</p>
<p><em>LN10</em> &#8211; Natural log of 10</p>
<p><em>LOG2E</em> &#8211;  Base 2 logarithm of E.</p>
<p><em>LOG10E</em> &#8211;  Base 10 logarithm of E.</p>
<p><em>PI</em> &#8211;  Value of Pi</p>
<p><em>SQRT1_2</em> &#8211; Square root of 1/2.</p>
<p><em>SQRT2</em> &#8211; Square root of 2</p>
<p>Math Object Method:</p>
<table border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr bgcolor="#cccccc">
<td valign="top">
<p align="center"><strong> Method</strong></p>
</td>
<td valign="top">
<p align="center"><strong> Description</strong></p>
</td>
</tr>
<tr>
<td valign="top">abs(a)</td>
<td valign="top">Supplies the absolute value of a number</td>
</tr>
<tr>
<td valign="top">acos(a)</td>
<td valign="top">Supplies the arccosine of a number</td>
</tr>
<tr>
<td valign="top">asin(a)</td>
<td valign="top">Supplies the arcsine of a number</td>
</tr>
<tr>
<td valign="top">atan(a)</td>
<td valign="top">Supplies the arctangent of a as a numeric value between -PI/2 and PI/2 radians</td>
</tr>
<tr>
<td valign="top">atan2(a,b)</td>
<td valign="top">Supplies the angle theta of a point as a numeric value between -PI and PI radians</td>
</tr>
<tr>
<td valign="top">ceil(a)</td>
<td valign="top">Supplies the value of a number rounded up to the nearest number</td>
</tr>
<tr>
<td valign="top">cos(a)</td>
<td valign="top">Supplies the cosine of a number</td>
</tr>
<tr>
<td valign="top">exp(a)</td>
<td valign="top">Supplies the exponential value of a number</td>
</tr>
<tr>
<td valign="top">floor(a)</td>
<td valign="top">Supplies the value of a number rounded down to the nearest number</td>
</tr>
<tr>
<td valign="top">log(a)</td>
<td valign="top">Supplies the logarithm of a number</td>
</tr>
<tr>
<td valign="top">max(a,b)</td>
<td valign="top">Supplies the number with the highest value</td>
</tr>
<tr>
<td valign="top">min(a,b)</td>
<td valign="top">Supplies the number with the lowest value</td>
</tr>
<tr>
<td valign="top">pow(a,b)</td>
<td valign="top">Supplies the value of one number (a) to the power of the second number (b)</td>
</tr>
<tr>
<td valign="top">random( )</td>
<td valign="top">Supplies a random number between 0 and 9</td>
</tr>
<tr>
<td valign="top">round(a)</td>
<td valign="top">Supplies a number rounded to the nearest number</td>
</tr>
<tr>
<td valign="top">sin(a)</td>
<td valign="top">Supplies the sine of a number</td>
</tr>
<tr>
<td valign="top">sqrt(a)</td>
<td valign="top">Supplies the square root of a number</td>
</tr>
<tr>
<td valign="top">tan(a)</td>
<td valign="top">Supplies the tangent of an angle</td>
</tr>
<tr>
<td valign="top">toSource(a)</td>
<td valign="top">Refers to the source code of an object</td>
</tr>
<tr>
<td valign="top">valueOf( )</td>
<td valign="top">Supplies the primitive value of a math object</td>
</tr>
</tbody>
</table>
<p><strong>3. The Date Object: </strong></p>
<p>The Date object is used to work with dates and times. Generally in web page the Date object provides information about the current date and time on the client&#8217;s machine. The Date object is similar to the String object in that you create new instances of the object when you assign it to a variable. It differs from the String object in that you use a statement called new to create it.</p>
<p>JavaScript Date Object Properties:</p>
<p><em>constructor</em> &#8211;  Returns a reference to the Date function that created the object .</p>
<p><em>prototype</em> &#8211; Allows you to add properties and methods to the object.</p>
<p>Instantiating a date object:</p>
<p><em>new Date()</p>
<p>new Date(milliseconds)</p>
<p>new Date(dateString)</p>
<p>new Date(year, month, day, hours, minutes, seconds, milliseconds) </em></p>
<p>JavaScript Date Object Properties:</p>
<table border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr bgcolor="#cccccc">
<td width="17%"><strong> Method </strong></td>
<td width="83%"><strong> Description </strong></td>
</tr>
<tr>
<td valign="top">Date()</td>
<td valign="top">Returns today&#8217;s date and time</td>
</tr>
<tr>
<td valign="top">getDate()</td>
<td valign="top">Returns the day of the month from a Date object (from 1-31)</td>
</tr>
<tr>
<td valign="top">getDay()</td>
<td valign="top">Returns the day of the week from a Date object (from 0-6)</td>
</tr>
<tr>
<td valign="top">getMonth()</td>
<td valign="top">Returns the month from a Date object (from 0-11)</td>
</tr>
<tr>
<td valign="top">getFullYear()</td>
<td valign="top">Returns the year, as a four-digit number, from a Date object</td>
</tr>
<tr>
<td valign="top">getYear()</td>
<td valign="top">Returns the year, as a two-digit or a four-digit number, from a Date object. Use getFullYear() instead !!</td>
</tr>
<tr>
<td valign="top">getHours()</td>
<td valign="top">Returns the hour of a Date object (from 0-23)</td>
</tr>
<tr>
<td valign="top">getMinutes()</td>
<td valign="top">Returns the minutes of a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">getSeconds()</td>
<td valign="top">Returns the seconds of a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">getMilliseconds()</td>
<td valign="top">Returns the milliseconds of a Date object (from 0-999)</td>
</tr>
<tr>
<td valign="top">getTime()</td>
<td valign="top">Returns the number of milliseconds since midnight Jan 1, 1970</td>
</tr>
<tr>
<td valign="top">getTimezoneOffset()</td>
<td valign="top">Returns the difference in minutes between local time and Greenwich Mean Time (GMT)</td>
</tr>
<tr>
<td valign="top">getUTCDate()</td>
<td valign="top">Returns the day of the month from a Date object according to universal time (from 1-31)</td>
</tr>
<tr>
<td valign="top">getUTCDay()</td>
<td valign="top">Returns the day of the week from a Date object according to universal time (from 0-6)</td>
</tr>
<tr>
<td valign="top">getUTCMonth()</td>
<td valign="top">Returns the month from a Date object according to universal time (from 0-11)</td>
</tr>
<tr>
<td valign="top">getUTCFullYear()</td>
<td valign="top">Returns the four-digit year from a Date object according to universal time</td>
</tr>
<tr>
<td valign="top">getUTCHours()</td>
<td valign="top">Returns the hour of a Date object according to universal time (from 0-23)</td>
</tr>
<tr>
<td valign="top">getUTCMinutes()</td>
<td valign="top">Returns the minutes of a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">getUTCSeconds()</td>
<td valign="top">Returns the seconds of a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">getUTCMilliseconds()</td>
<td valign="top">Returns the milliseconds of a Date object according to universal time (from 0-999)</td>
</tr>
<tr>
<td valign="top">parse()</td>
<td valign="top">Takes a date string and returns the number of milliseconds since midnight of January 1, 1970</td>
</tr>
<tr>
<td valign="top">setDate()</td>
<td valign="top">Sets the day of the month in a Date object (from 1-31)</td>
</tr>
<tr>
<td valign="top">setMonth()</td>
<td valign="top">Sets the month in a Date object (from 0-11)</td>
</tr>
<tr>
<td valign="top">setFullYear()</td>
<td valign="top">Sets the year in a Date object (four digits)</td>
</tr>
<tr>
<td valign="top">setYear()</td>
<td valign="top">Sets the year in the Date object (two or four digits). Use setFullYear() instead !!</td>
</tr>
<tr>
<td valign="top">setHours()</td>
<td valign="top">Sets the hour in a Date object (from 0-23)</td>
</tr>
<tr>
<td valign="top">setMinutes()</td>
<td valign="top">Set the minutes in a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">setSeconds()</td>
<td valign="top">Sets the seconds in a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">setMilliseconds()</td>
<td valign="top">Sets the milliseconds in a Date object (from 0-999)</td>
</tr>
<tr>
<td valign="top">setTime()</td>
<td valign="top">Calculates a date and time by adding or subtracting a specified number of milliseconds to/from midnight January 1, 1970</td>
</tr>
<tr>
<td valign="top">setUTCDate()</td>
<td valign="top">Sets the day of the month in a Date object according to universal time (from 1-31)</td>
</tr>
<tr>
<td valign="top">setUTCMonth()</td>
<td valign="top">Sets the month in a Date object according to universal time (from 0-11)</td>
</tr>
<tr>
<td valign="top">setUTCFullYear()</td>
<td valign="top">Sets the year in a Date object according to universal time (four digits)</td>
</tr>
<tr>
<td valign="top">setUTCHours()</td>
<td valign="top">Sets the hour in a Date object according to universal time (from 0-23)</td>
</tr>
<tr>
<td valign="top">setUTCMinutes()</td>
<td valign="top">Set the minutes in a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">setUTCSeconds()</td>
<td valign="top">Set the seconds in a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">setUTCMilliseconds()</td>
<td valign="top">Sets the milliseconds in a Date object according to universal time (from 0-999)</td>
</tr>
<tr>
<td valign="top">toSource()</td>
<td valign="top">Represents the source code of an object</td>
</tr>
<tr>
<td valign="top">toString()</td>
<td valign="top">Converts a Date object to a string</td>
</tr>
<tr>
<td valign="top">toGMTString()</td>
<td valign="top">Converts a Date object, according to Greenwich time, to a string. Use toUTCString() instead !!</td>
</tr>
<tr>
<td valign="top">toUTCString()</td>
<td valign="top">Converts a Date object, according to universal time, to a string</td>
</tr>
<tr>
<td valign="top">toLocaleString()</td>
<td valign="top">Converts a Date object, according to local time, to a string</td>
</tr>
<tr>
<td valign="top">UTC()</td>
<td valign="top">Takes a date and returns the number of milliseconds since midnight of January 1, 1970 according to universal time</td>
</tr>
<tr>
<td valign="top">valueOf()</td>
<td valign="top">Returns the primitive value of a Date object</td>
</tr>
</tbody>
</table>
<h3>JavaScript Object, Method, propeties for Ajax:</h3>
<ul>
<li>history: Represents the list of URLs that the browser had already been to.</li>
<li>window: Represents the browser itself.</li>
<li>XMLHttpRequest: The object that you use in Ajax to communicate with the server.</li>
</ul>
<p>In JavaScript, Objects have methods and properties. A <em>method</em> is a chunk of code built into the object that performs some action. For example: you use the document object&#8217;s write method, which you access as document.write, to write to the document (in the current web page).</p>
<ul>
<li>document.write: Lets you write text to the current web page</li>
<li>history.go: Moves the browser to a page in the browser&#8217;s history</li>
<li>window.open: Opens a new browser window</li>
</ul>
<p><em>Properties,</em> on the other hand, are just settings that you can place data into. JavaScript properties often take their names from the attributes of HTML elements, such as the bgcolor attribute of the &lt;body&gt; element.</p>
<ul>
<li>document.bgcolor: Holds the background color of the current page.</li>
<li>document.fgcolor: Holds the foreground color of the current page.</li>
<li>document.lastmodified: Holds the data the page was last modified.</li>
<li>document.title: Holds the title of the page</li>
<li>location.hostname: Holds the name of the page&#8217;s host.</li>
<li>navigator.appName: Holds the type of the browser</li>
</ul>
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/05/various-method-javascript-form-validation/" title="Various Method JavaScript Form Validation">Various Method JavaScript Form Validation</a></li>
<li><a href="http://www.themeheven.com/2009/04/javascript-effect/" title="Javascript Effect">Javascript Effect</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=sP6kKOJaosM:NPHavMNStEk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=sP6kKOJaosM:NPHavMNStEk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=sP6kKOJaosM:NPHavMNStEk:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/sP6kKOJaosM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/javascript-built-in-object-method-properties-handling-events-in-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.themeheven.com/2009/08/javascript-built-in-object-method-properties-handling-events-in-browser/</feedburner:origLink></item>
		<item>
		<title>How to Create a MovieClip Rotating around the Center Continiously</title>
		<link>http://feedproxy.google.com/~r/themeheven/~3/QG-6UL3BCy4/</link>
		<comments>http://www.themeheven.com/2009/08/how-to-create-a-movieclip-rotating-around-the-center-continiously/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:30:37 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Flash AS]]></category>
		<category><![CDATA[Rotate Circle]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=256</guid>
		<description><![CDATA[This  article explain you how to create an object which rotate around the center continiously. In this tutorial you will learn more about the center and math, sine/cos/degrees/radians. Here I am going to explain you with the action script:
First Create an object of any shape which you want to rotate around the circle. And [...]]]></description>
			<content:encoded><![CDATA[<p>This  article explain you how to create an object which rotate around the center continiously. In this tutorial you will learn more about the center and math, sine/cos/degrees/radians. Here I am going to explain you with the action script:</p>
<p>First Create an object of any shape which you want to rotate around the circle. And give a instance name for the object. In this example I have used a circle shape having circ instance name &amp; I will describe you using the same instance name in this tutorial.</p>
<p>Here I want to start right now. First I will divide the stage from X &amp; Y by 2 show that I can find the center position of the stage.</p>
<p>circ.centerX = Stage.width / 2;</p>
<p>circ.centerY = Stage.height / 2;</p>
<p>Now set the starting point on the circle, in degrees.</p>
<p>circ.angle = 0;</p>
<p>Define the radius of the circle.</p>
<p>circ.radius = 100;</p>
<p>Here I declare the  amount of change in the angle (You know angle change will be in degree) for each iteration of the animation. Here I have used 20 degree for angle change. This will effect the rotation speed. If you need to increase speed you should increase angleChange and decrease for low speed.</p>
<p>circ.angleChange = 10;</p>
<p>Now write a  function to convert degrees to radians. This function accepts degrees and returns radians.</p>
<p>function degreetoradian(degree) {</p>
<p>return degree * (Math.PI / 180);</p>
<p>}</p>
<p>Ok We got the radians.</p>
<p>Now I start AS to rotate the circle.</p>
<p>function animateCircle() {</p>
<p>Here I store the radian conversion of the degree</p>
<p>var radian = degreetoradian(this.angle);</p>
<p>Now set the x and y cordinate for this movieClip, based on the clip-specific. And variables storing the circle center and radius, determining x and y coordinates using cosine and sine, respectively.</p>
<p>this._x = this.centerX + this.radius * Math.cos(radian);</p>
<p>this._y = this.centerY + this.radius * Math.sin(radian);</p>
<p>Here I add the angle change to the master angle for this clip with each  iteration, so we know how to determine the next x,y point.</p>
<p>this.angle += this.angleChange;</p>
<p>And now modulus to determine the correct angle for any angle which is greater  than 360-degrees.</p>
<p>this.angle+= 3;</p>
<p>}</p>
<p>You can give required value for angle change.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.swf" /><embed type="application/x-shockwave-flash" width="300" height="350" src="http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.swf" quality="high"></embed></object></p>
<p>And in the final assign a funcion to be called on every EnterFrame event for this clip to play movie continiously.</p>
<p>circ.onEnterFrame = animateCircle;</p>
<p>The Action Script Code:</p>
<pre>//Define the stage for orbit and finding the center.

  circ.centerX = Stage.width / 2;

  circ.centerY = Stage.height / 2;

  //Define the starting anlge point on the circle, in degrees.

  circ.angle = 0;

  //Set the radius of the circle

  circ.radius = 110;

  //Set the angle change amount value.

  circ.angleChange = 10;

  //function to convert degrees to radians

  function degreetoradian(degree) {

return degree * (Math.PI / 180);

}

//Create function to animate circle

function animateCircle() {

//use a local variable to store the radian conversion of the degree

// value more familiar to most of us. See notes on Flash angles.

var radian = degreetoradian(this.angle);

//set the x and y cordinate for this slip, based on the clip-specific

// variables storing the circle center and radius. See notes for

// determining x and y coordinates using cosine and sine, respectively.

this._x = this.centerX + this.radius * Math.cos(radian);

this._y = this.centerY + this.radius * Math.sin(radian);

//add the angle change to the master angle for this clip with each 

// iteration, so we know how to determine the next x,y point.

this.angle += this.angleChange;

//use modulus to determine the correct angle for any angle greater

// than 360-degrees. See notes for an explanation of modulus.

this.angle+= 3;

}

//Now animate circle on onEnterFrame

circ.onEnterFrame = animateCircle</pre>
<p><a href="http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.rar">Download Zip</a><br />
<h3>Most Commented Posts</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/03/display-wordpress-content-outside-of-your-blog/" title="Display Wordpress content outside of your blog">Display Wordpress content outside of your blog</a></li>
<li><a href="http://www.themeheven.com/2009/03/top-10-magazine-wordpress-themes-from-premiumthemes/" title="Top 10 Magazine WordPress Themes from Premiumthemes">Top 10 Magazine WordPress Themes from Premiumthemes</a></li>
<li><a href="http://www.themeheven.com/2009/04/wordpress-meta-tags-plugin/" title="WordPress Meta-Tags Plugin">WordPress Meta-Tags Plugin</a></li>
<li><a href="http://www.themeheven.com/2009/06/simple-jquery-image-slide-show-with-semi-transparent-caption/" title="Simple JQuery Image Slide Show with Semi-Transparent Caption">Simple JQuery Image Slide Show with Semi-Transparent Caption</a></li>
<li><a href="http://www.themeheven.com/2009/06/web-2-0-and-seo/" title="Web 2.0 and SEO">Web 2.0 and SEO</a></li>
<li><a href="http://www.themeheven.com/2009/03/photoshop-tutorial-sites/" title="Photoshop Tutorial Sites">Photoshop Tutorial Sites</a></li>
<li><a href="http://www.themeheven.com/2009/04/how-to-embed-google-ad-in-your-post/" title="How to: Embed Google Ad in your post">How to: Embed Google Ad in your post</a></li>
<li><a href="http://www.themeheven.com/2009/04/wordpress-tips-and-tricks/" title="Wordpress Tips and Tricks">Wordpress Tips and Tricks</a></li>
<li><a href="http://www.themeheven.com/2009/04/digital-photography-tutorial-and-tips/" title="Digital Photography Tutorial and Tips">Digital Photography Tutorial and Tips</a></li>
<li><a href="http://www.themeheven.com/2009/05/useful-wordpress-tricks-to-make-your-theme-even-better/" title="Useful Wordpress Tricks to Make Your Theme Even Better">Useful Wordpress Tricks to Make Your Theme Even Better</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/themeheven?a=QG-6UL3BCy4:HJucGW8tyGY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/themeheven?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/themeheven?a=QG-6UL3BCy4:HJucGW8tyGY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/themeheven?i=QG-6UL3BCy4:HJucGW8tyGY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/themeheven/~4/QG-6UL3BCy4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/how-to-create-a-movieclip-rotating-around-the-center-continiously/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/themeheven/~5/jnPNwyn_9MQ/cirRot.rar" fileSize="5960" type="application/x-rar-compressed" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>This article explain you how to create an object which rotate around the center continiously. In this tutorial you will learn more about the center and math, sine/cos/degrees/radians. Here I am going to explain you with the action script: First Create an </itunes:subtitle><itunes:summary>This article explain you how to create an object which rotate around the center continiously. In this tutorial you will learn more about the center and math, sine/cos/degrees/radians. Here I am going to explain you with the action script: First Create an object of any shape which you want to rotate around the circle. And [...]</itunes:summary><itunes:keywords>Flash AS, Rotate Circle</itunes:keywords><feedburner:origLink>http://www.themeheven.com/2009/08/how-to-create-a-movieclip-rotating-around-the-center-continiously/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/themeheven/~5/jnPNwyn_9MQ/cirRot.rar" length="5960" type="application/x-rar-compressed" /><feedburner:origEnclosureLink>http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.rar</feedburner:origEnclosureLink></item>
	<media:rating>nonadult</media:rating></channel>
</rss>
