<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>TechieDrill &#187; Beginner</title>
	<atom:link href="http://techiedrill.com/tag/beginner/feed/" rel="self" type="application/rss+xml" />
	<link>http://techiedrill.com</link>
	<description>Your World Of Technical Tutorials</description>
	<lastBuildDate>Tue, 05 Jan 2010 16:50:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vertically Center With JQuery</title>
		<link>http://techiedrill.com/2009/11/vertically-center-with-jquery/</link>
		<comments>http://techiedrill.com/2009/11/vertically-center-with-jquery/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:17:13 +0000</pubDate>
		<dc:creator>bprashanth</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[center]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[vertically]]></category>

		<guid isPermaLink="false">http://techiedrill.com/?p=22</guid>
		<description><![CDATA[
This lesson, I&#8217;ll show you how you can vertically center elements or images by using just a bit of jQuery (javascript library).
To Download this youtube video, Click Here
Text Content:
This video is to show how to vertically center an element using jQuery library.
Horizontal centering can be achieved easily by specifying margins to &#8220;auto&#8221; in CSS.
The img [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="445" height="364" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/qnSzOUaDdx8&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="445" height="364" src="http://www.youtube.com/v/qnSzOUaDdx8&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>This lesson, I&#8217;ll show you how you can vertically center elements or images by using just a bit of jQuery (javascript library).</p>
<p>To Download this youtube video, <a href="http://www.keephd.com/watch?v=qnSzOUaDdx8">Click Here</a></p>
<p>Text Content:</p>
<p>This video is to show how to vertically center an element using jQuery library.</p>
<p>Horizontal centering can be achieved easily by specifying margins to &#8220;auto&#8221; in CSS.</p>
<p>The img tag and the script tag (jQuery reference) are added to the plain HTML page. Now, the image will not be centered anyway.</p>
<p>To code with jQuery, first start with standard &lt;script type=&#8221;text/javascript&#8221;&gt; tag.</p>
<p>Then enter the following code within the script tag:</p>
<p>$(document).ready(function(){<br />
var height = $(document).height();<br />
var imageHeight = $(&#8221;img&#8221;).height();<br />
console.log(imageHeight);<br />
});</p>
<p>The console.log statement has been used to get the image height during debugging session.</p>
<p>Now, the CSS of the image is going to be edited.</p>
<p>Replace the console.log statement with the following:</p>
<p>$(&#8221;img&#8221;).css({&#8221;position&#8221; : &#8220;relative&#8221;; &#8220;top&#8221; : height/2 &#8211; imageHeight/2});</p>
<p>Now, the image is centered vertically in the page.</p>
<p>In this way, multiple values of image properties in CSS can be specified with a single $ in jQuery &#8211; (to include the properties within curly braces)</p>
<p>A single CSS property can be set like this:  $(&#8221;img&#8221;).css(&#8221;position&#8221; : &#8220;relative&#8221;);</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedrill.com/2009/11/vertically-center-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery For Absolute Beginners &#8211; Part 2</title>
		<link>http://techiedrill.com/2009/11/jquery-for-absolute-beginners-part-2/</link>
		<comments>http://techiedrill.com/2009/11/jquery-for-absolute-beginners-part-2/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 17:34:29 +0000</pubDate>
		<dc:creator>bprashanth</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://techiedrill.com/?p=9</guid>
		<description><![CDATA[
This video tutorial will show beginners exactly how to get started with JQuery.
To download this video, Click Here
Text Content:
In the last episode, our aim was to display the paragraph on clicking the anchor tag.
Create a new line after $(&#8221;p#paragraph1&#8243;).hide(); statement and enter the following lines
$(&#8221;a#paragraphAnchor&#8221;).click(function()
{
$(&#8221;p#paragraph1&#8243;).show();
});
In the above code, the anchor tag with the id &#8220;paragraphAnchor&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="445" height="364" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/J64Pmi_jEiQ&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="445" height="364" src="http://www.youtube.com/v/J64Pmi_jEiQ&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>This video tutorial will show beginners exactly how to get started with JQuery.</p>
<p>To download this video, <a href="http://www.keephd.com/watch?v=J64Pmi_jEiQ">Click Here</a></p>
<p>Text Content:</p>
<p>In the last episode, our aim was to display the paragraph on clicking the anchor tag.</p>
<p>Create a new line after $(&#8221;p#paragraph1&#8243;).hide(); statement and enter the following lines</p>
<p>$(&#8221;a#paragraphAnchor&#8221;).click(function()<br />
{<br />
$(&#8221;p#paragraph1&#8243;).show();</p>
<p>});</p>
<p>In the above code, the anchor tag with the id &#8220;paragraphAnchor&#8221; is coded. The click function of the anchor tag is accessed and a statement is written to make the paragraph visible.<br />
The paragraph can be made visible by using the show() method.</p>
<p>On trying in the browser, it can be observed that the appearance of first paragraph is sudden. To make it more attractive and easy to visualize, a little bit of animation is necessary.</p>
<p>The show() method accepts a string argument: &#8220;slow&#8221;, &#8220;medium&#8221; and &#8220;fast&#8221; &#8211; which corresponds to how quickly the paragraph is displayed.<br />
The show() method can also accept a numeric argument: the number of milliseconds over which the function is executed (1000 &#8211; one second, 5000 &#8211; five seconds)</p>
<p>Here, we use show(&#8221;slow&#8221;) to display the paragraph in an animated fashion.</p>
<p>Also, when observed when show(5000) is used, the display seems to be strange. This is because, the show() method is altering three different properties : height, width and opacity at the same time.</p>
<p>The show() method can also be replaced with a slideDown() method. This will just slide down the invisible paragraph to visibility. The slideDown() method just changes only the height property.</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedrill.com/2009/11/jquery-for-absolute-beginners-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery For Absolute Beginners &#8211; Part 1</title>
		<link>http://techiedrill.com/2009/11/jquery-for-absolute-beginners-part-1/</link>
		<comments>http://techiedrill.com/2009/11/jquery-for-absolute-beginners-part-1/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 17:28:47 +0000</pubDate>
		<dc:creator>bprashanth</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://techiedrill.com/?p=6</guid>
		<description><![CDATA[
This video tutorial will show beginners exactly how to get started with jQuery.
To Download this video, Click Here
Text Content:
This tutorial is aimed at complete beginners. An assumption is made that you have a basic working knowledge of JavaScript syntax.
JQuery library can be downloaded at www.jquery.com. Here, we use the uncompressed version since this is for [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="445" height="364" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Hk5oXFtYLwE&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="445" height="364" src="http://www.youtube.com/v/Hk5oXFtYLwE&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>This video tutorial will show beginners exactly how to get started with jQuery.</p>
<p>To Download this video, <a href="http://www.keephd.com/watch?v=Hk5oXFtYLwE">Click Here</a></p>
<p>Text Content:</p>
<p>This tutorial is aimed at complete beginners. An assumption is made that you have a basic working knowledge of JavaScript syntax.</p>
<p>JQuery library can be downloaded at www.jquery.com. Here, we use the uncompressed version since this is for only learning purposes. The compressed version is to be used in actual website designs.</p>
<p>Visual Web Developer is used to develop.</p>
<p>First, the library is added to the solution. Add page &#8220;index.htm&#8221; to the solution. Delete the &#8220;Default.aspx&#8221; and &#8220;Web.Config&#8221; files in the solution.</p>
<p>Change the title to &#8220;JQuery for Absolute Beginners&#8221;. Click and drag the jQuery Library from Solution Explorer to add the script tag in the head section of the page.</p>
<p>Lets create a paragraph which we don&#8217;t want to display unless the user clicks a button.<br />
Just create a paragraph with some data in it.<br />
Create an Anchor tag to perform an operation on it. The anchor tag points to nowhere (href=&#8221;#&#8221;), has the id &#8220;paragraphAnchor&#8221; and Inner Text &#8220;Click To Read Paragraph&#8221;.<br />
To achieve the aimed functionality, javascript code is added to the header tag.<br />
&lt;script type=&#8221;text/javascript&#8221;&gt; tag is added to the head section.</p>
<p>The very first thing that needs to be done in jQuery is to add an abbreviation of the jQuery symbol &#8211; the DOLLAR ($) sign.<br />
After dollar sign, type:</p>
<p>$(document).ready(function()  &#8211; this is same as in .NET kind-of functionality with &#8220;.&#8221;. This line tells that jQuery, when the page is ready to be manipulated, a function is going to be executed (without any parameters). A function is just lines of code that is going to instruct what to do.</p>
<p>Then, include a Javascript block with &#8220;{&#8221; and &#8220;}&#8221; and then close the paranthesis with &#8220;)&#8221;. &#8211; (this was opened after &#8220;ready&#8221; keyword)</p>
<p>Now, within the block, some code is written to hide the paragraph we created previously.</p>
<p>$(&#8221;p&#8221;).hide();<br />
This code is used to get the paragraph. p can be in single or double quotes.</p>
<p>When this code is executed in the browser, the paragraph is invisible (i.e. hidden).</p>
<p>Also, when multiple paragraphs are there in the document, the code is going to hide all of them. To avoid this and target the functionality to a single paragraph, an id=&#8221;paragraph1&#8243; is added to the required paragraph. And accordingly, in the jQuery code, the $(&#8221;p&#8221;).hide(); code is replaced with:</p>
<p>$(&#8221;p#paragraph1&#8243;).hide();</p>
<p>Note that the selector is as same as CSS syntax. This is why jQuery is so attractive.</p>
<p>We can make the paragraph visible in the next part of this tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedrill.com/2009/11/jquery-for-absolute-beginners-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
