<?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>Web Development and Design Tutorials - dremi.info &#187; jQuery</title>
	<atom:link href="http://www.dremi.info/category/tutorials/jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dremi.info</link>
	<description>Web development tutorials, including Photoshop tutorials, jQuery tutorials, PHP tutorials, JAVA tutorials, JavaScript tutorials, PSD to HTML tutorials, CSS tutorials and more. Learn how to code and design like a pro.</description>
	<lastBuildDate>Sun, 15 Jan 2012 21:18:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>dreLogin v.2.0 Has Release</title>
		<link>http://www.dremi.info/tutorials/jquery/drelogin-v20-has-release.html</link>
		<comments>http://www.dremi.info/tutorials/jquery/drelogin-v20-has-release.html#comments</comments>
		<pubDate>Thu, 12 Nov 2009 01:33:55 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Free Download Script]]></category>
		<category><![CDATA[PHP login]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=975</guid>
		<description><![CDATA[I has release dreLogin V.2.0, it&#8217;s available to download and distributed under common license 3.0 Update bug notice: - Clearing string username and password before login action - Fixing CSS bug for IE 5 and IE 6 - Change from $_GET to $_REQUEST for URL parameter - More secure and custom user password encryption - [...]]]></description>
			<content:encoded><![CDATA[<p><img class="imgheader" src="http://i409.photobucket.com/albums/pp172/psdremi/images-header200/dreloginv2.png" alt="jQuery PHP User Form Login" />I has release dreLogin V.2.0, it&#8217;s available to download and distributed under common license 3.0<br />
<span id="more-975"></span></p>
<div class="clear"></div>
<p><strong>Update bug notice:</strong><br />
- Clearing string username and password before login action<br />
- Fixing CSS bug for IE 5 and IE 6<br />
- Change from $_GET to $_REQUEST for URL parameter<br />
- More secure and custom user password encryption<br />
- Change jQuery JS Lib to jquery-1.3.2.min.js<br />
- Fixing HTML TAG for Ajax Spinner Display</p>
<p><strong>Enjoy it friends!! </strong></p>
<p>If you want to download the old version, it&#8217;s still available at:<br />
<a target="blank" title="jquery php tutorial" href="http://dremi.info/articles/drelogin-v10-a-simple-jquery-php-login.html">http://dremi.info/articles/drelogin-v10-a-simple-jquery-php-login.html</a></p>
<p><strong>Report and Bug:</strong><br />
Please contact me for report and bug.</p>
<p><strong>Demo:</strong><br />
Username: dremi<br />
Password: terusberjuang</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/jquery/drelogin-v20-has-release.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/jquery/drelogin-v20-has-release.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=975&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/tutorials/jquery/drelogin-v20-has-release.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How to Check Username Availability using jQuery + PHP</title>
		<link>http://www.dremi.info/tutorials/jquery/how-to-check-username-availability-using-jquery-php.html</link>
		<comments>http://www.dremi.info/tutorials/jquery/how-to-check-username-availability-using-jquery-php.html#comments</comments>
		<pubDate>Mon, 02 Nov 2009 20:54:26 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Check Username]]></category>
		<category><![CDATA[PHP Advance]]></category>
		<category><![CDATA[PHP validate]]></category>
		<category><![CDATA[string Availability]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=955</guid>
		<description><![CDATA[Hi! dude! how are you today ? I hope all of you will fine Today is our nice day, it&#8217;s time to party. Let&#8217;s learn again about jQuery and PHP. How to create safety validation of username checker for your member register using jQuery and PHP ? Check it now! However we still need : [...]]]></description>
			<content:encoded><![CDATA[<p><img class="imgheader" src="http://i409.photobucket.com/albums/pp172/psdremi/check-username-dremi.png" alt="" />Hi! dude! how are you today ? I hope all of you will fine <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Today is our nice day, it&#8217;s time to party. Let&#8217;s learn again about jQuery and PHP. How to create safety validation of username checker for your member register using jQuery and PHP ? Check it now!<br />
<span id="more-955"></span></p>
<div class="clear"></div>
<p>However we still need :</p>
<p>Member register form, just a simple HTML code</p>
<p>jQuery library, the Ajax Masterpiece</p>
<p>PHP Script, basic validation script</p>
<p>Little bit of member sql table, we will create it using PHPMyAdmin</p>
<p>Now, open your Dreamweaver, or any Code Editor, Notepad++ are welcome!</p>
<p>First, we will create HTML code for member register form. Remember, this form is just for illustrate the real form.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;form id=&quot;form1&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;&quot;&gt;
&lt;fieldset&gt;
	&lt;legend&gt;Check Username Availability&lt;/legend&gt;
	&lt;label&gt;Username &lt;span class=&quot;require&quot;&gt;(* requiered: alphanumeric, without white space, and minimum 4 char&lt;/span&gt;&lt;/label&gt;
    &lt;input type=&quot;text&quot; name=&quot;username&quot; id=&quot;username&quot; size=&quot;15&quot; maxlength=&quot;15&quot; onchange=&quot;loadContentResult(this.value)&quot; /&gt;
	&lt;div id=&quot;spinner&quot;&gt;&lt;/div&gt;
    &lt;div id=&quot;actionresult&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
	&lt;label&gt;Email:&lt;/label&gt;
	&lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; size=&quot;30&quot; maxlength=&quot;255&quot; /&gt;
	&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
	&lt;input type=&quot;submit&quot; name=&quot;submit&quot; id=&quot;submit&quot; value=&quot;Register&quot; /&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
</pre>
<p>On my input code, I use onchange=&#8221;loadContentResult(this.value)&#8221; to handle username field value while onChange event. So, where is come from the loadContentResult() ?</p>
<p>Here are the Javascript code, include for jQuery preloader.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.3.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
// Count the number of times a substring is in a string.
String.prototype.substrCount =
  function(s) {
    return this.length &amp;&amp; s ? (this.split(s)).length - 1 : 0;
  };

// Return a new string without leading and trailing whitespace
// Double spaces whithin the string are removed as well
String.prototype.trimAll =
  function() {
    return this.replace(/^\s+|(\s+(?!\S))/mg,&quot;&quot;);
  };

//event handler
function loadContentResult(username) {
	if(username.substrCount(' ') &gt; 0)
	{
		$(&quot;#actionresult&quot;).hide();
		$(&quot;#actionresult&quot;).load(&quot;user.php?msg=whitespace&quot;, '', callbackResult);
	}
	else
	{
		$(&quot;#actionresult&quot;).hide();
		$(&quot;#actionresult&quot;).load(&quot;user.php?username=&quot;+username.trimAll()+&quot;&quot;, '', callbackResult);
	}
}

//callback
function callbackResult() {
	$(&quot;#actionresult&quot;).show();
}

//ajax spinner
$(function(){
	$(&quot;#spinner&quot;).ajaxStart(function(){
		$(this).html('&lt;img src=&quot;image/wait.gif&quot; /&gt;');
	});
	$(&quot;#spinner&quot;).ajaxSuccess(function(){
		$(this).html('');
 	});
	$(&quot;#spinner&quot;).ajaxError(function(url){
		alert('Error: server was not respond, communication interrupt. Please try again in a few moment.');
 	});
});
&lt;/script&gt;
</pre>
<p>To call jQuery library, use </p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.3.2.min.js&quot;&gt;&lt;/script&gt;
</pre>
<p>You must carefull to validate string from username field before send it into PHP script. The problem is if you enter white space string from username field then send it into PHP script without validate it before, you will trouble while accessing user.php as PHP Script. So I need to add this javascript before validated by PHP script.</p>
<pre class="brush: jscript; title: ; notranslate">
// Count the number of times a substring is in a string.
String.prototype.substrCount =
  function(s) {
    return this.length &amp;&amp; s ? (this.split(s)).length - 1 : 0;
  };

// Return a new string without leading and trailing whitespace
// Double spaces whithin the string are removed as well
String.prototype.trimAll =
  function() {
    return this.replace(/^\s+|(\s+(?!\S))/mg,&quot;&quot;);
  };
</pre>
<p>How about jquery as script loader? To load user.php and attempt it into DIV ID for #actionresult, we can use this script:</p>
<pre class="brush: jscript; title: ; notranslate">
//event handler
function loadContentResult(username) {
	if(username.substrCount(' ') &gt; 0)
	{
		$(&quot;#actionresult&quot;).hide();
		$(&quot;#actionresult&quot;).load(&quot;user.php?msg=whitespace&quot;, '', callbackResult);
	}
	else
	{
		$(&quot;#actionresult&quot;).hide();
		$(&quot;#actionresult&quot;).load(&quot;user.php?username=&quot;+username.trimAll()+&quot;&quot;, '', callbackResult);
	}
}

//callback
function callbackResult() {
	$(&quot;#actionresult&quot;).show();
}
</pre>
<p>Don&#8217;t worry about ajax loading animation, I use simple GIF animation as spinner:</p>
<pre class="brush: jscript; title: ; notranslate">
//ajax spinner
$(function(){
	$(&quot;#spinner&quot;).ajaxStart(function(){
		$(this).html('&lt;img src=&quot;image/wait.gif&quot; /&gt;');
	});
	$(&quot;#spinner&quot;).ajaxSuccess(function(){
		$(this).html('');
 	});
	$(&quot;#spinner&quot;).ajaxError(function(url){
		alert('Error: server was not respond, communication interrupt. Please try again in a few moment.');
 	});
});
</pre>
<p>So, what netxt!? It&#8217;s time to make cool PHP Script to validate our username string (in this case, I just use username field as POST variable. But before it, let&#8217;s create our mysql table:</p>
<pre class="brush: sql; title: ; notranslate">
CREATE TABLE `member2` (
`member_id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`username` varchar( 15 ) NOT NULL ,
`email` varchar( 255 ) NOT NULL ,
PRIMARY KEY ( `member_id` )
);
INSERT INTO `member` VALUES (1, 'dremi', 'webmaster@dremi.info');
</pre>
<p>This script for user.php file as response validator. Remember this is main function only, you may add some connection script.</p>
<pre class="brush: php; title: ; notranslate">
function clearString($value)
{
	if (get_magic_quotes_gpc())
	{
		$value = stripslashes($value);
	}
	if (!is_numeric($value))
	{
		$value = mysql_real_escape_string($value);
	}
	$value = trim(strip_tags($value));
	return $value;
}

function validStr($str, $num_chars, $behave) //alpha numeric only for entire of string width
{
	if($behave==&quot;min&quot;)
	{
		$pattern=&quot;^[0-9a-zA-Z]{&quot;.$num_chars.&quot;,}$&quot;;
	}
	elseif($behave==&quot;max&quot;)
	{
		$pattern=&quot;^[0-9a-zA-Z]{0,&quot;.$num_chars.&quot;}$&quot;;
	}
	elseif($behave==&quot;exactly&quot;)
	{
		$pattern=&quot;^[0-9a-zA-Z]{&quot;.$num_chars.&quot;,&quot;.$num_chars.&quot;}$&quot;;
	}

	if(ereg($pattern,$str))
	{
		return true;
	}
	else
	{
		return false;
	}
}
</pre>
<p>And this is for validate condition.</p>
<pre class="brush: php; title: ; notranslate">
$username	= $_REQUEST['username'];
$msg		= $_REQUEST['msg'];

if(isset($username) &amp;&amp; $username != '')
{
	if(validStr($username, 4, 'min') == false)
	{
		?&gt;
		&lt;span style=&quot;color:red&quot;&gt;You enter invalid username&lt;/span&gt;
		&lt;?php
	}
	else
	{
		connect(_HOST, _USER, _PASS, _DB);
		$jCekMember = numrows(query(&quot;SELECT * FROM member WHERE username = '&quot;.clearString($username).&quot;'&quot;));
		if($jCekMember != 0)
		{
			?&gt;
			&lt;span style=&quot;color:blue&quot;&gt;Username &lt;?php echo $username; ?&gt; was unavailable, another people has taken.&lt;/span&gt;
			&lt;?php
		}
		else
		{
			?&gt;
			&lt;span style=&quot;color:green&quot;&gt;Username &lt;?php echo $username; ?&gt; available.&lt;/span&gt;
			&lt;?php
		}
		close();
	}
}
elseif($msg == 'whitespace')
{
	?&gt;
	&lt;span style=&quot;color:red&quot;&gt;Username cannot contain of white space&lt;/span&gt;
    &lt;?php
}
else
{
	?&gt;
	&lt;span style=&quot;color:red&quot;&gt;Insert username&lt;/span&gt;
    &lt;?php
}
</pre>
<p>While username is valid string, PHP script will check availablility on member table using this code:</p>
<pre class="brush: php; title: ; notranslate">
$jCekMember = numrows(query(&quot;SELECT * FROM member WHERE username = '&quot;.clearString($username).&quot;'&quot;));
</pre>
<p>So, as showed on next line, if username is not available to register in member table, it&#8217;s mean the username has taken by another people, and message will say :</p>
<pre class="brush: php; title: ; notranslate">
Username &lt;?php echo $username; ?&gt; was unavailable, another people has taken.
</pre>
<p>Well, everything is gonna be Allright <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Now let&#8217;s see the result by click on Demo Button or you can Download full code to learn.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/jquery/how-to-check-username-availability-using-jquery-php.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/jquery/how-to-check-username-availability-using-jquery-php.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=955&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/tutorials/jquery/how-to-check-username-availability-using-jquery-php.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Password Founded for GnomePM.XLS</title>
		<link>http://www.dremi.info/articles/password-founded-for-gnomepmxls.html</link>
		<comments>http://www.dremi.info/articles/password-founded-for-gnomepmxls.html#comments</comments>
		<pubDate>Wed, 07 Oct 2009 17:50:52 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[crack password]]></category>
		<category><![CDATA[gnomepm]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=911</guid>
		<description><![CDATA[Password founded for GnomePM.xls from Civil and Environment Departement of ITB Bandung. GnomePM Application is simple XLS file that build in Macro and Visual Basic. With GnomePM, you can manage Construction Project in Worksheet are. As you read on this link, GnomePM was last updated in 17/09/2007 http://si.itb.ac.id/~abduh/GnomePM/download.html Contact me to get password list! and [...]]]></description>
			<content:encoded><![CDATA[<p>Password founded for GnomePM.xls from Civil and Environment Departement of ITB Bandung. GnomePM Application is simple XLS file that build in Macro and Visual Basic. With GnomePM, you can manage Construction Project in Worksheet are.</p>
<div id="img"><a title="Enlarge Picture" href="http://i409.photobucket.com/albums/pp172/psdremi/shoot-gnomepm.jpg" target="_blank"><img class="alignnone" title="GnomePM.XLS Screen Shoot- Construction Project Manager Application" src="http://i409.photobucket.com/albums/pp172/psdremi/shoot-gnomepm.jpg" border="0" alt="" width="448" height="252" /></a></div>
<p>As you read on this link, GnomePM was last updated in 17/09/2007</p>
<p><a href="http://si.itb.ac.id/~abduh/GnomePM/download.html" target="blank">http://si.itb.ac.id/~abduh/GnomePM/download.html</a></p>
<p>Contact me to get password list! and unprotected GnomePM.xls</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/password-founded-for-gnomepmxls.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/password-founded-for-gnomepmxls.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=911&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/articles/password-founded-for-gnomepmxls.html/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Download PHP Script: Backup and Restore Database</title>
		<link>http://www.dremi.info/articles/download-php-script-backup-and-restore-database.html</link>
		<comments>http://www.dremi.info/articles/download-php-script-backup-and-restore-database.html#comments</comments>
		<pubDate>Thu, 01 Oct 2009 07:34:28 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[database management]]></category>
		<category><![CDATA[PHP Advance]]></category>
		<category><![CDATA[php class]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=906</guid>
		<description><![CDATA[Hi guys! This is PHP Script to backup or restore your SQL Database. It&#8217;s Free to download! Just visit my PHPClasses Page: http://www.phpclasses.org/browse/package/5720.html Or let&#8217;s discuss about something bug or report on: http://www.phpclasses.org/discuss/package/5720/ Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>Hi guys!</p>
<div id="img">
<img src="http://i175.photobucket.com/albums/w126/hairulazami/scr.jpg" alt="" />
</div>
<p>This is PHP Script to backup or restore your SQL Database. It&#8217;s Free to download!</p>
<p>Just visit my PHPClasses Page:<br />
<a target="blank" href="http://www.phpclasses.org/browse/package/5720.html">http://www.phpclasses.org/browse/package/5720.html</a></p>
<p>Or let&#8217;s discuss about something bug or report on:<br />
<a target="blank" href="http://www.phpclasses.org/discuss/package/5720/">http://www.phpclasses.org/discuss/package/5720/</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/download-php-script-backup-and-restore-database.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/download-php-script-backup-and-restore-database.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=906&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/articles/download-php-script-backup-and-restore-database.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Creating Auto Checker for IP Network Lifetime</title>
		<link>http://www.dremi.info/tutorials/jquery/creating-auto-checker-for-ip-network-lifetime.html</link>
		<comments>http://www.dremi.info/tutorials/jquery/creating-auto-checker-for-ip-network-lifetime.html#comments</comments>
		<pubDate>Sat, 27 Jun 2009 00:47:36 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[fsockopen]]></category>
		<category><![CDATA[ip checker]]></category>
		<category><![CDATA[PHP Advance]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=844</guid>
		<description><![CDATA[Hi! I have a tutorial to check lifetime connectivity for IP and PORT in your Network. You may use it as component of enterpise application to check IP and PORT. So, what next ??? &#160; Offcourse, we need this files: ipchecker.php, frame_ip.php, index.php, and jquery framework. First create ipchecker.php for function handler: Code: The function [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://s175.photobucket.com/albums/w126/hairulazami/ipchecker/ipchecker200.png" alt="" class="imgheader" />Hi! I have a tutorial to check lifetime connectivity for IP and PORT in your Network. You may use it as component of enterpise application to check IP and PORT.</p>
<p>So, what next ???</p>
<p><span id="more-844"></span></p>
<div class="clear">&nbsp;</div>
<p>Offcourse, we need this files:  ipchecker.php, frame_ip.php, index.php,  and jquery framework.</p>
<p>First create  ipchecker.php for function handler:</p>
<p>Code:</p>
<pre class="brush: php; title: ; notranslate">

&lt;?
/**

#
# Auto Checker for IP Network Lifetime
# Author  hairul azami a.k.a dr.emi &lt;webmaster@dremi.info&gt;
# Website http://dremi.info
# License: GPL
#

**/

error_reporting(0);
define(&quot;_IMAGES&quot;, &quot;images/&quot;);
define(&quot;_IPROUTER&quot;, &quot;192.168.1.1&quot;);

function checkIP($ip, $p)
{

//error_reporting(E_ALL);
@set_time_limit(0);

$address = &quot;$ip&quot;; //your public IP
$port = $p; // your IP open port

$fp = @fsockopen($address,$port,$errno,$errstr,10);
stream_set_timeout($fp, 1);
if ($fp)
{
$statusIPport =  &quot;&lt;font color=green&gt;Connected&lt;/font&gt;&quot;;
$imgTitle = &quot;Connected&quot;;
$imgStats = &quot;accepted_32.png&quot;;
}
else
{
$statusIPport =  &quot;&lt;font color=#CCCCCC&gt;Disconnect&lt;/font&gt;&quot;;
$imgTitle = &quot;Disconnect&quot;;
$imgStats = &quot;warning_32.png&quot;;
}
$info = stream_get_meta_data($fp);
if($info['timed_out'])
{
$statusIPport =  &quot;&lt;font color=#CCCCCC&gt;Time Out&lt;/font&gt;&quot;;
$imgTitle = &quot;Time Out&quot;;
$imgStats = &quot;cancel_32.png&quot;;
}

flush();
$checkID = strtoupper(gethostbyaddr($address));
if($checkID != $address)
{
$comname = $checkID;
}
elseif($checkID == _IPROUTER)
{
$comname = &quot;ROUTER&quot;;
}
else
{
$comname = &quot;NONAME&quot;;
}
echo &quot;
&lt;div style='text-align:center;'&gt;
&lt;img src='&quot;._IMAGES . $imgStats.&quot;' alt='$imgTitle' title='$imgTitle' border=0&gt;&lt;br&gt;
&lt;strong&gt;$imgTitle&lt;/strong&gt;&lt;br&gt;
$address:$port&lt;br&gt;
$comname
&lt;/dvi&gt;&quot;;

}

checkIP($_GET['ip'], $_GET['port']);
?&gt;
</pre>
<p>The function will used as checker for each of variable IP and PORT</p>
<p>Second, create an jQuery Auto Load for file, called as frame_ip.php</p>
<p>In this file, you must load jQuery framework to complete javascript function bellow</p>
<p>Code:</p>
<pre class="brush: jscript; title: ; notranslate">

&lt;script language=&quot;javascript&quot; src=&quot;jquery-1.2.6.min.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot;&gt;
//show animation
$(function(){
$(&quot;#ajax_display&quot;).ajaxStart(function(){
$(this).html('&lt;div style=&quot;text-align:center&quot;&gt;&lt;img src=&quot;images/ajax-loader-trans.gif&quot;/&gt;&lt;br&gt;Checking Target...&lt;/div&gt;');
});
$(&quot;#ajax_display&quot;).ajaxSuccess(function(){
$(this).html('');
});
$(&quot;#ajax_display&quot;).ajaxError(function(url){
alert('jqSajax is error ');
});
});
&lt;/script&gt;
</pre>
<p>Then to load ipchecker.php, I use this code:</p>
<pre class="brush: xml; title: ; notranslate">

&lt;div id=&quot;ajax_display&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
function getRandom() {
$(&quot;#random&quot;).hide(&quot;slow&quot;);
$(&quot;#random&quot;).load(&quot;ipchecker.php?ip=&lt;? echo $_GET['ip']; ?&gt;&amp;port=&lt;? echo $_GET['port']; ?&gt;&quot;, '', callback);
}
function callback() {
$(&quot;#random&quot;).show(&quot;slow&quot;);
setTimeout(&quot;getRandom();&quot;, 10000*2);
}
$(document).ready(getRandom);
&lt;/script&gt;
&lt;div id=&quot;random&quot;&gt;&lt;/div&gt;
</pre>
<p>While ip and port was defined in iframe URL, PHP function checkIP($ip, $p) will work.</p>
<p>I use this line for set the time while load ipchecker.php from first time to next load progress.</p>
<pre class="brush: jscript; title: ; notranslate">setTimeout(&quot;getRandom();&quot;, 10000*2);</pre>
<p>The last is index.php</p>
<p>This file will give you GUI of all process</p>
<pre class="brush: php; title: ; notranslate">

&lt;?
for($i=1;$i&lt;=10;$i++)
{
?&gt;
&lt;div id=&quot;ipslot&quot;&gt;
&lt;iframe scrolling=&quot;No&quot; frameborder=&quot;0&quot; class=&quot;frameloader&quot; width=&quot;100px&quot; height=&quot;100px&quot; name=&quot;ajax_ipchecker&quot; src=&quot;frame_ip.php?ip=192.168.1.&lt;? echo $i; ?&gt;&amp;port=80&quot;&gt;
&lt;/iframe&gt;
&lt;/div&gt;
&lt;?
}
?&gt;
</pre>
<p>While index.php loaded, frame_ip.php will work as &#8220;data sender&#8221; from URL, so we can check it in checkIP function.</p>
<p>Well this is screenshoot while you access index.php from http://localhost/[foldername]/index.php</p>
<div id="img"><img src="http://s175.photobucket.com/albums/w126/hairulazami/ipchecker/preview.png" alt="" width="335" height="252" /></div>
<p>OK, I think it&#8217;s really good time to see you here, thanks for read <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you find any bug / report, just comment here ..</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/jquery/creating-auto-checker-for-ip-network-lifetime.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/jquery/creating-auto-checker-for-ip-network-lifetime.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=844&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/tutorials/jquery/creating-auto-checker-for-ip-network-lifetime.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Web Design Layout Plus Implementasi jQuery Tab Content</title>
		<link>http://www.dremi.info/tutorials/photoshop/web-design-layout-plus-implementasi-jquery-tab-content.html</link>
		<comments>http://www.dremi.info/tutorials/photoshop/web-design-layout-plus-implementasi-jquery-tab-content.html#comments</comments>
		<pubDate>Wed, 26 Nov 2008 01:22:20 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CSS tutorials]]></category>
		<category><![CDATA[handcoded HTML]]></category>
		<category><![CDATA[tab link]]></category>
		<category><![CDATA[web layout]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=87</guid>
		<description><![CDATA[Welcome back friend ! tutorial ini menjelaskan bagaimana membuat sebuah layout yang interaktif. Penggabungan dari designing web layout menggunakan photoshop dan Editing dengan HTML+CSS. Kemudian mengimplementasikannya menggunakan jQuery Ajax saat meload PHP Content &#160; Yang lu perlukan adalah: -Photoshop -HTML+CSS -jQuery Ajax -PHP Part I Designing Website Layout Buka Photoshop lu, bikin ukuran kanvas kaya [...]]]></description>
			<content:encoded><![CDATA[<p><img class="imgheader" src="http://i175.photobucket.com/albums/w126/hairulazami/images-header200/jQuery-tab.png" alt="" /> Welcome back friend ! tutorial ini menjelaskan bagaimana membuat sebuah layout yang interaktif. Penggabungan dari designing web layout menggunakan photoshop dan Editing dengan HTML+CSS. Kemudian mengimplementasikannya menggunakan jQuery Ajax saat meload PHP Content<span id="more-87"></span></p>
<div class="clear">&nbsp;</div>
<p>Yang lu perlukan adalah:</p>
<p>-Photoshop<br />
-HTML+CSS<br />
-jQuery Ajax<br />
-PHP</p>
<h3>Part I Designing Website Layout</h3>
<p>Buka Photoshop lu, bikin ukuran kanvas kaya gini:</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs31.png" alt="" width="530" height="323" /></div>
<p>Pilih Rectangle Marquee Tool, bikin objek header ke gini:</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs1.png" alt="" width="498" height="82" /></div>
<p>Apply beberapa layer style :</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs32.png" alt="" width="278" height="293" /></div>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs33.png" alt="" width="300" height="206" /></div>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs34.png" alt="" width="422" height="488" /></div>
<p>Liat dlu hasilna</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs2.png" alt="" width="299" height="149" /></div>
<p>Sekarang bikin garis berwarna putih make single row marquee tool, antara gradien dan drop shadow. fill line make warna putih</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs35.png" alt="" width="348" height="266" /></div>
<p>Gunakan rounded rectangle tool bwat mbikin navigation button, gunakan radius sesuai keinginan lu</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs36.png" alt="" width="232" height="338" /></div>
<p>apply layer style</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs37.png" alt="" width="268" height="300" /></div>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs38.png" alt="" width="262" height="204" /></div>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs39.png" alt="" width="423" height="486" /></div>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs40.png" alt="" width="262" height="278" /></div>
<p>Semua gradien ada dalam paket download tutorial na</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs5.png" alt="" width="177" height="106" /></div>
<p>Pencet [CTRL+Click] pada layer navigation button, bwat mbikin seleksi sekitar button.</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs41.png" alt="" width="143" height="57" /></div>
<p>Pilih seleksi Eliptical Marquee Tool dengan option option : Intersect with selection. Truzzz buat seleksi oval diatas seleksi sebelumna</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs7.png" alt="" width="236" height="84" /></div>
<p>Lu bakalan dapet hasil seleksi ke gini</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs8.png" alt="" width="256" height="85" /></div>
<p>Pencet [CTRL+D] bwat Deselect</p>
<p>Tros transform objek na vertikal, dengan mencet [CTRL+T] -&gt; Flip Vertical</p>
<p>Pilih menu Filter &gt; Blur &gt; Gaussian Blur. Kasiin 2 px radius.</p>
<p>dan ubah blending layerna menjadi Overlay</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs6.png" alt="" width="171" height="87" /></div>
<p>Kasi text button na juga</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs9.png" alt="" width="159" height="67" /></div>
<p>Lu bisa group ksmua layer navigasi ke dalam satu group, dan duplikat gorup na mnjadi beberapa group</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs10.png" alt="" width="360" height="75" /></div>
<p>Hampir selesai layoutna, kasiin objek icon dan text sebagai title web na</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs11.png" alt="" width="199" height="119" /></div>
<p>Terakhir bikinin footer dengan cara sederhana kaya mbikin header</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs14.png" alt="" width="487" height="86" /></div>
<p>Review dlo hasil akhir layout na</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs142.png" alt="" width="478" height="300" /></div>
<h3>Part II Slicing Images</h3>
<p>Bagian ini kita bakalan ambil gambar tertentu saja, ambil bagian na dengan slicing tool yang nantina bakalan diperlukan bwat bikin code CSS na</p>
<p>Pertama adlah slice navigasi</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs15.png" alt="" width="593" height="329" /></div>
<p>Pilih  File &gt; Save for Web and Device</p>
<div id="img"><a href="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs16.png" target="_blank"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs16400.png" border="0" alt="" width="400" height="282" /></a></div>
<p>Inget ye: pilihna nyang Selected Slice dowank</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs17.png" alt="" width="368" height="127" /></div>
<p>Selanjutna terusin ke slice berikutna, kaya bg-header, bg-footer dan logo</p>
<p>Jadi lu bakalan dapet beberapa images yang dibutuhkan dalam coding CSS na</p>
<div id="img"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs42.png" alt="" width="367" height="267" /></div>
<h3>Part III Make HTML+CSS Code</h3>
<p>Bwat mbikin web lu knceng di load saat dibuka di browser, Less Table adaalh salah satu cra terbaik <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Gw paling suka bagian ini, buka Dreamweaver lu, bikin file CSS</p>
<p>Nah ini code CSS na:</p>
<pre class="brush: css; title: ; notranslate">  &lt;style type=&quot;text/css&quot;&gt;
html,body{
margin:0;
padding:0;
border:0;
/* \*/
height:100%;
/* Last height declaration hidden from Mac IE 5.x */
}
body {
background:#ffffff url(images/bg-header.gif) 0 0 repeat-x;
color:#000000;
min-width:960px;
}
#mainPan {
width:960px;
position:relative;
margin:0 auto;
}
#bodyPan {
width:960px;
margin:0 auto;
}
#headerPan {
width:960px;
height:127px;
margin:0px;
padding:0px;
}
#headerPan img.logo {
border:0px;
width:148px;
height:69px;
margin-left:20px;
margin-top:10px;
}
/* MENU TAB NAVIGATION */
#tabs {
line-height:normal;
top: 25px;
right:10px;
position:absolute;
}
#tabs ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}
#tabs li {
display:inline;
margin:0;
padding:0;
}
#tabs a {
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
color:#ffffff;
float:left;
background:url(images/bg-navigasi.gif) no-repeat left top;
margin:0;
padding-top:10px;
text-decoration:none;
width:137px;
height:59px;
text-align:center; /*for IE + FF right here*/
}
#tabs a:hover {
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
color: #FFCC00;
}
.spacer {
margin-bottom:20px;
}
/* CONTENT */
#contenPan {
font-size:11px;
color:#666666;
font-family:Arial, Helvetica, sans-serif;
width:960px;
margin:0px;
}
#contenPan h2 {
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
color:#006699;
}
#contenPan a {
color:#0066CC;
text-decoration:none;
}
#contenPan a:hover {
color: #FF0000;
text-decoration:none;
}
/* FOOTER */
#footerMainPan {
position:relative;
clear: both;
width:100%;
height:138px; /*for FF add 10px;*/
overflow:hidden;
background:url(images/bg-footer.gif) 30px center repeat-x;
text-align:center;
}
#footerPan {
padding-top:50px;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
color: #666666;
width:960px;
height:88px;
background: url(images/cutter.gif) right top no-repeat;
margin:0px;
}
#footerPan a {
color: #0099FF; text-decoration:none;
}
#footerPan a:hover {
color: #333399; text-decoration:none;
}
&lt;/style&gt;</pre>
<p>save dan kasi nama <strong>style.css</strong></p>
<p>sekarang kite bakalan mbikin <strong>index.html</strong></p>
<p>dan ini code ma:</p>
<pre class="brush: xml; title: ; notranslate">&lt;div id=&quot;mainPan&quot;&gt;
&lt;div id=&quot;bodyPan&quot;&gt;

&lt;div id=&quot;headerPan&quot;&gt;
&lt;img src=&quot;images/logo.gif&quot; class=&quot;logo&quot; /&gt;
&lt;div id=&quot;tabs&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Photoshop&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;CSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;PHP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;AJAX&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;contenPan&quot;&gt;
&lt;h2&gt;Heloo....&lt;/h2&gt;
&lt;p&gt;This is main Content &lt;a href=&quot;#&quot;&gt;[link]&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;spacer&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;
&lt;div id=&quot;footerMainPan&quot;&gt;
&lt;div id=&quot;footerPan&quot;&gt;
&amp;copy; 2008 Web Design Ajax jQuery.
&lt;a href=&quot;http://www.psdremi.co.cc&quot; target=&quot;_blank&quot;&gt;
PSDREMI.CO.CC
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
<p>Gw rasa cuma sgitu code na, gw yakin lu bakalan familiar kok <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Part IV Adding jQuery Ajax Scripts to Load Contents</h3>
<p>Lu pada tau  <a href="http://jquery.com" target="_blank">jQuery</a> kan ? kalo belom, baca pengenalan tentang jQuery dlo yak di web na <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Pada bagian ini kita butuh jQuery script library, sedangkan <a href="http://plugins.jquery.com" target="_blank">plugin</a> ga diperlukan.</p>
<p>Cuma kasi baris ini di HTML na, bwat ngeload jQuery Javascript Library na</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script src=&quot;jquery-1.2.6.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre>
<p>dan kasi code javascripts bwat mbikin fungsi untuk meload external content pada contentPan Div</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;
$(function(){
$(&quot;#ajax_display&quot;).ajaxStart(function(){
$(this).html('&lt;p&gt;&lt;img src=&quot;images/ajax-loader.gif&quot; /&gt;&lt;/p&gt;');
});
$(&quot;#ajax_display&quot;).ajaxSuccess(function(){
$(this).html('');
});
$(&quot;#ajax_display&quot;).ajaxError(function(url){
alert('jQuery ajax is error ');
});
});
function loadContent(id) {
$(&quot;#contenPan&quot;).hide();
$(&quot;#contenPan&quot;).load(&quot;php-loader.php?cPub=&quot;+id+&quot;&quot;, '', callback);
}
function callback() {
$(&quot;#contenPan&quot;).show();
}
$(document).ready(loadContent(id));
&lt;/script&gt;</pre>
<p>Simple line:</p>
<pre class="brush: jscript; title: ; notranslate">  $(this).html('&lt;p&gt;&lt;img src=&quot;images/ajax-loader.gif&quot; /&gt;&lt;/p&gt;');

/*this line will load the ajax-loader.gif while progress on request*/</pre>
<p>dan code berikut ini diperlukan bwat memanngil data content</p>
<pre class="brush: jscript; title: ; notranslate">  function loadContent(id) {
$(&quot;#contenPan&quot;).hide();
$(&quot;#contenPan&quot;).load(&quot;php-loader.php?cPub=&quot;+id+&quot;&quot;, '', callback);
}
function callback() {
$(&quot;#contenPan&quot;).show();
}</pre>
<p>php-loader.php adalah file PHP yang bertugas memberikan value dalam bentuk HTML, value ini akan direquest oleh jQuery Ajax untuk di load ke contentPan Div</p>
<p>Kalo lu liat pada akhir variable GET na berupa variable cPub, maka kita bakalan bikin file PHP yang menggunakan kondisi pemilihan variable GET, ni code na:</p>
<pre class="brush: php; title: ; notranslate">&lt;?
$allCount = 60; //just to simulation for data ready
if($_GET['cPub'] == 2)
{
echo &quot;&lt;h2&gt;Photoshop&lt;/h2&gt;&quot;;
echo &quot;&lt;p align=justify&gt;&lt;img src='images/psdremi-logo130.gif' width='130' height=44'&gt;&quot;;
for($i=0;$i&lt;=$allCount;$i++)
{
echo &quot;This is Photoshop Content. &quot;;
}
echo &quot;&lt;/p&gt;&quot;;
sleep(2);
}
elseif($_GET['cPub'] == 3)
{
echo &quot;&lt;h2&gt;CSS&lt;/h2&gt;&quot;;
echo &quot;&lt;p align=justify&gt;&lt;img src='images/psdremi-logo130.gif' width='130' height=44'&gt;&quot;;
for($i=0;$i&lt;=$allCount;$i++)
{
echo &quot;This is CSS Content. &quot;;
}
echo &quot;&lt;/p&gt;&quot;;
sleep(2);
}
elseif($_GET['cPub'] == 4)
{
echo &quot;&lt;h2&gt;PHP&lt;/h2&gt;&quot;;
echo &quot;&lt;p align=justify&gt;&lt;img src='images/psdremi-logo130.gif' width='130' height=44'&gt;&quot;;
for($i=0;$i&lt;=$allCount;$i++)
{
echo &quot;This is PHP Content. &quot;;
}
echo &quot;&lt;/p&gt;&quot;;
sleep(2);
}
elseif($_GET['cPub'] == 5)
{
echo &quot;&lt;h2&gt;AJAX&lt;/h2&gt;&quot;;
echo &quot;&lt;p align=justify&gt;&lt;img src='images/psdremi-logo130.gif' width='130' height=44'&gt;&quot;;
for($i=0;$i&lt;=$allCount;$i++)
{
echo &quot;This is AJAX Content. &quot;;
}
echo &quot;&lt;/p&gt;&quot;;
sleep(2);
}
else
{
echo &quot;&lt;h2&gt;Home&lt;/h2&gt;&quot;;
echo &quot;&lt;p&gt;&lt;a href=''&gt;this is a link&lt;/a&gt;&lt;/p&gt;&quot;;
echo &quot;&lt;p align=justify&gt;&lt;img src='images/psdremi-logo130.gif' width='130' height=44'&gt;&quot;;
for($i=0;$i&lt;=$allCount;$i++)
{
echo &quot;Welcome back friend ! this tutorial explain about how to designing web layout with Photoshop+CSS and then using Ajax jQuery to implementad how to Load PHP Content. &quot;;
}
echo &quot;&lt;/p&gt;&quot;;
}
?&gt;</pre>
<p>Gw pake sleep(2) bwat mensimulasikan loading content yang cukup lama</p>
<p>Kayakna smua udah lengkap, tinggal lu upload ke webserver biar PHP na bekerja. ni screen shoot na</p>
<div id="img"><a href="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs44.png" target="_blank"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs44400.png" border="0" alt="" width="400" height="256" /></a></div>
<div id="img"><a href="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs45.png" target="_blank"><img src="http://i409.photobucket.com/albums/pp172/psdremi/Web%20Design%20Layout%20Plus%20jQuery%20Tab%20Content/web-design-layout-jquery-tabs45400.png" border="0" alt="" width="400" height="266" /></a></div>
<p>Tutorial ini gw input juga dalam bahasa inggris di <a href="http://www.psdremi.co.cc/2008/11/web-design-layout-plus-jquery-tab-content.html" target="_blank">PSDREMI.CO.CC</a> dan <a href="http://www.good-tutorials.com/users/hairulazami" target="_blank">Good-tutorials.Com</a></p>
<p>Best Regard, dr.emi</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/photoshop/web-design-layout-plus-implementasi-jquery-tab-content.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/tutorials/photoshop/web-design-layout-plus-implementasi-jquery-tab-content.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=87&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/tutorials/photoshop/web-design-layout-plus-implementasi-jquery-tab-content.html/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>dreFileBrowser v.1.0 &#8211; Make a beautifull File Browser with jQuery File Tree and EditArea</title>
		<link>http://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html</link>
		<comments>http://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html#comments</comments>
		<pubDate>Sun, 23 Nov 2008 19:47:53 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[file manager]]></category>
		<category><![CDATA[IT job]]></category>
		<category><![CDATA[product demo]]></category>
		<category><![CDATA[relationship]]></category>
		<category><![CDATA[web articles]]></category>
		<category><![CDATA[web tips]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=77</guid>
		<description><![CDATA[Make a beautifull File Browser with jQuery File Tree and EditArea. Setelah sukses dengan produk gw sebelumnya dreDSync V.1.0, kali ini gw melaunching sebuha open source sederhana dreFileBrowser V.1.0 &#160; dreFileBrowser v.1.0 Make a beautifull File Browser with jQuery File Tree and EditArea © dreFileBrowser V.1.0 2008 Developped by dr.emi Setelah sukses dengan produk gw [...]]]></description>
			<content:encoded><![CDATA[<p><img class="imgheader" src="http://i175.photobucket.com/albums/w126/hairulazami/images-header200/drefilebrowser.png" alt="" />Make a beautifull File Browser with jQuery File Tree and EditArea. Setelah sukses dengan produk gw sebelumnya dreDSync V.1.0, kali ini gw melaunching sebuha open source sederhana dreFileBrowser V.1.0 <span id="more-164"></span></p>
<div class="clear">&nbsp;</div>
<h2><span class="style1">dre</span><span class="style5">File</span><span class="style4">Browser</span> <span class="style6">v.1.0</span></h2>
<p>Make a beautifull File Browser with jQuery File Tree and EditArea</p>
<p>© dreFileBrowser V.1.0 2008 Developped by dr.emi</p>
<p>Setelah  sukses dengan produk gw sebelumnya dreDSync V.1.0, kali ini gw  melaunching sebuah open source sederhana dreFileBrowser V.1.0</p>
<p>Ini merupakan open source, dimana lu boleh memodif script na, selama lu mencantumkan author na:</p>
<p>Author: hairul azami a.k.a dr.emi<br />
Author Link: http://www.dremi.info<br />
Author Contact: webmaster@dremi.info</p>
<p>Menggunakan dreFileBrowser:</p>
<p><img src="http://i175.photobucket.com/albums/w126/hairulazami/logo.gif" alt="" width="290" height="82" /></p>
<p>Extract paket RAR ini ke dalam root webserver lu, lalu ubah setting configurasi pada dfb-config.php</p>
<p>_ABSOLUTE_PATH = defini base path untuk instalasi dreFileBrowser<br />
_ROOT_TREE     = folder mana yang akan di scan ?<br />
_MODEM_SPEED   = definisi untuk modem speed, menentukan transfer rate</p>
<p>$allowed_extensions_to_preview = var array untuk extensi file yang dapat di preview<br />
$allowed_extensions_to_edit    = var array untuk extensi file yang dapat di edit</p>
<p>Gw  sadar script di dalamnya sangat jelek <img src='http://www.dremi.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  tapi marilah berfikir  bagaimana mengimplementasikan sebuah Aplikasi yang berguna untuk orang  banyak.</p>
<p>Pada versi berikutnya gw bakalan nambahin beberapa fiture  nya, kaya Upload, download, me remove, dan mengeksekusi perintah  command line layaknya bekerja pada DOS Operating System.</p>
<p>Sebenernye  gw saat ini sibuk banget, udah ga smpet lagi bikin bikin tutorial, tapi  gw masih inget kalian, fun, member, dan pecinta www.dremi.info. Jadi gw  kasi lu suprise aplikasi dreFileBrowser V.1.0</p>
<p>ENJOY IT !!!! KEEP LEARN AND SHARE, DO NOT EXPOSE BUT PROVE YOUR SKILL !!!</p>
<p><strong>Best Regard, dr.emi</strong></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=164&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Memperkenalkan dreDSync V.1.0 Produk Terbaru dr.emi</title>
		<link>http://www.dremi.info/articles/memperkenalkan-dredsync-v10-produk-terbaru-dremi.html</link>
		<comments>http://www.dremi.info/articles/memperkenalkan-dredsync-v10-produk-terbaru-dremi.html#comments</comments>
		<pubDate>Sun, 02 Nov 2008 11:19:58 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[data syncronizer]]></category>
		<category><![CDATA[data transfer]]></category>
		<category><![CDATA[IT job]]></category>
		<category><![CDATA[product demo]]></category>
		<category><![CDATA[relationship]]></category>
		<category><![CDATA[security system]]></category>
		<category><![CDATA[web articles]]></category>
		<category><![CDATA[web tips]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=73</guid>
		<description><![CDATA[dreDSync V.1.0 merupakan karya gw ke-sekian kalinya untuk dunia IT, berfungsi sebagai Data Syncronizer yang berbasis pada komunikasi Flat File TXT dan Socket Detection. Gw bikin menggunakan bahasa pemrograman PHP dan terinspirasi dari project terbaru gw CBT of TNI. &#160; Memperkenalkan dreDSync V.1.0 Produk Terbaru dr.emi What is dreDSync V.1.0 ? baca (DE-ER-E DE-SYNC) dreDSync [...]]]></description>
			<content:encoded><![CDATA[<p><img class="imgheader" src="http://i175.photobucket.com/albums/w126/hairulazami/images-header200/dredsync.png" alt="" />dreDSync V.1.0 merupakan karya gw ke-sekian kalinya untuk dunia IT, berfungsi sebagai Data Syncronizer yang berbasis pada komunikasi Flat File TXT dan Socket Detection. Gw bikin menggunakan bahasa pemrograman PHP  dan terinspirasi dari project terbaru gw CBT of TNI.<span id="more-160"></span></p>
<div class="clear">&nbsp;</div>
<h3>Memperkenalkan <span class="style1">dre</span><span class="style2">DSync</span> V.1.0 Produk Terbaru dr.emi</h3>
<p align="justify">
<p align="justify"><strong>What is dreDSync V.1.0 ?</strong></p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsync-logo-v10.png" alt="" width="170" height="60" /></p>
<p>baca (DE-ER-E DE-SYNC)</p>
<p align="justify">dreDSync V.1.0 merupakan karya gw ke-sekian kalinya untuk dunia IT, berfungsi sebagai Data Syncronizer yang berbasis pada komunikasi Flat File TXT dan Socket Detection. Gw bikin menggunakan bahasa pemrograman PHP dan terinspirasi dari project terbaru gw CBT of TNI.</p>
<p align="justify">
<p align="justify"><strong>What for dreDSync V.1.0 ?</strong></p>
<p align="justify">dreDSync V.1.0 diciptakan untuk mensyncronkan data pada server dan client, yang dalam hal ini di implementasikan pada project CBT of TNI</p>
<p align="justify">
<p align="justify"><strong>What is the main Concept ?</strong></p>
<p align="justify">Konsep utamanya gw peroleh dari Andyka GloboCode.Com saat CBT of TNI project mengalami kendala penghematan bandwidth, karena menggunakan File file Multimedia.</p>
<p align="justify">Kami baru saja mendapat project dari TNI, membuat System Pembelajaran Multimedia Berbasis Web, yang diperuntukkan bagi siswa siswa TNI-AD seindonesia. Tentunya karena berupa System Pembelajaran Multimedia, file file nya terdiri dari file multimedia dan file file lainnya, yang kedepannya sudah pasti akan memakan banyak bandwidth kalo lagi dipake !</p>
<p align="justify">Dan inilah strategi kami :</p>
<p align="justify">CBT memiliki struktur file yang terdiri dari 2 jenis:</p>
<p align="justify"><strong>First</strong>, Multimedia files (ie: audio, video, and another big filesize) yang akan ditempatkan pada Server dan Client sebagai File Permanent</p>
<p><strong>Second</strong>,   Miscleneous files (ie: JPG, PNG, ZIP, XML anf TXT). File file ini akan di update sesuai jadwal kulikulum yang telah ditetapkan</p>
<p align="justify">Dari keterangan singkat diatas, gw perlu sebuah skrip downloader otomatis, untuk mendeteksi Last Modified File file Miscleneous yang ter update saat mendatang. Secara teknis dapat digambarkan sebagai berikut:</p>
<p align="justify">Saat Administrator CBT membuat schedule baru update data, dia harus membuat schedule pada Administrator dreDSync V.1.0 yang telah disediakan. Dengan demikian fungsi scanning all directories pada aplikasi dreDSync V.1.0 akan mendata keberadaan lokasi source file terbaru yang telah diupdate sebelum menginput schedule. Pendataan ini dilakukan oleh server dengan menempatkan log download list nya pada sebuah file TXT, untuk kemudian akan &#8220;menembaki&#8221; seluruh client menggunakan Socket Connection, sebagai pertanda File Update terbaru telah siap di download oleh masing masing client. Dengan demikian proses Syncronisasi data dapat dimulai.</p>
<p align="justify"><a href="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/flowchart-syncronizing-data.jpg"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/flowchart-syncronizing-data400.jpg" alt="" width="400" height="286" /></a></p>
<p align="justify">
<p align="justify"><strong>Error handling while Syncronizing Data</strong></p>
<p class="style3" align="justify">Kasus DisConnect</p>
<p align="justify">Sebuah aplikasi tentunya akan selalu memiliki Bug, dengan demikian error handling pun gw siapkan, menjaga suatu saat terjadi. Dalam kasus ini yang dikhawatirkan adalah putus koneksi dan mati lampu/Client nost respon, sehingga saat terjadi syncronisasi data besar kemungkinan belum selesai diproses.</p>
<p align="justify">Untuk itu gw memberikan catatan kecil untuk setiap client, jika data nya masih belum sama dengan downloadlist pada server maka pesan not complete akan dituliskan client pada system lognya, dengan demikian saat client kembali di running, maka secara otomatis proses syncronisasi data akan dilanjutkan mengacu kepada downloadlist yang tersedia sebelumna. Sehingga pada dreDSync V.1.0 ini gw tidak menghapus system log pada server untuk 1 minggu kedepan, dan hal ini akan berdampak positif bagi client yang belum selesai mendownload data masih punya kesempatan untuk mendownload nya kembali. Tapi jika keadaan baik baik saja, client akan menuliskan pesan complete pada system lognya.</p>
<p align="justify">
<p align="justify"><strong>Processing Screen Shoot</strong></p>
<p align="justify">Running on server</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv102.png" alt="" width="302" height="421" /></p>
<p align="justify">Running on Client</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv105.png" alt="" width="294" height="427" /></p>
<p align="justify">Syncronizing Data on Progress</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv101.png" alt="" width="297" height="429" /></p>
<p align="justify">jQuery Panel Menu Administrator</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv103.png" alt="" width="400" height="183" /></p>
<p align="justify">jQuery Block UI for Login Form</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv104.png" alt="" width="400" height="422" /></p>
<p align="justify">CPanel Administrator for Schedule</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv106.png" alt="" width="400" height="487" /></p>
<p align="justify">CPanel Administrator for SysLog and Config</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv107.png" alt="" width="400" height="386" /></p>
<p align="justify">CPanel Administrator for Client Register</p>
<p align="justify"><img src="http://i175.photobucket.com/albums/w126/hairulazami/dreDSync%20V1/dredsyncv10400.jpg" alt="" width="400" height="450" /></p>
<p align="justify">
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/memperkenalkan-dredsync-v10-produk-terbaru-dremi.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/memperkenalkan-dredsync-v10-produk-terbaru-dremi.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=160&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/articles/memperkenalkan-dredsync-v10-produk-terbaru-dremi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Membuat Inner Frame</title>
		<link>http://www.dremi.info/articles/membuat-inner-frame.html</link>
		<comments>http://www.dremi.info/articles/membuat-inner-frame.html#comments</comments>
		<pubDate>Fri, 11 May 2007 11:04:47 +0000</pubDate>
		<dc:creator>dr.emi</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[web articles]]></category>
		<category><![CDATA[web tips]]></category>

		<guid isPermaLink="false">http://www.dremi.info/?p=26</guid>
		<description><![CDATA[Waks bwat yang pernah nanya cara bikin INNER FRAME di Dreamweaver (Gue ga tau namanya, lupeeeee hihi ) &#8230;.. nih bwat lu and smuanya aja &#160; Pertama siapkan dulu Dreamweaver lu&#8230; Dokumen HTML Frame Bwat Dokumen baru HTML , dengan memilih File &#62; New , Pilih Basic Page dan HTML pada window yang muncul. (Mahap [...]]]></description>
			<content:encoded><![CDATA[<p><img class="imgheader" src="http://i175.photobucket.com/albums/w126/hairulazami/images-header200/iframe.png" alt="" /> Waks bwat yang pernah nanya cara bikin INNER FRAME di Dreamweaver (Gue ga tau namanya, lupeeeee hihi ) &#8230;.. nih bwat lu and smuanya aja<br />
<span id="more-26"></span></p>
<div class="clear">&nbsp;</div>
<p>Pertama siapkan dulu Dreamweaver lu&#8230;</p>
<p class="style2">Dokumen HTML Frame</p>
<p>Bwat Dokumen baru HTML , dengan memilih File &gt; New , Pilih Basic Page dan HTML pada window yang muncul. (Mahap kalo windownya transparan, alnya itu dari Skin WinBlind nya, hihi gue suka Skin Transparan nya)</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Newdremi_001.png" border="1" alt="" width="325" height="233" /> </div>
<p>Klik OK kalo udah.</p>
<p>Nah Simpan dulu dokumen barunya, File &gt; Save .. namanya <span class="style1">frame.html</span></p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Savedremi_001.png" border="1" alt="" width="400" height="52" /> </div>
<p>Oke sebagai contoh lu bikin dulu content halaman untuk framenya, misalkan urutan sebuah Link satu, dua, tiga, dst&#8230;Gunakan [SHIFT+ENTER] untuk berpindah baris kebawah (&lt;BR&gt;)</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_009.png" border="1" alt="" width="128" height="269" /> </div>
<p>Masing-masing kasi Link &#8220;#&#8221; / trserah lu pada Panel Properties di bawah. Sebelumnya Blok dulu text yang akan dikasi Link.</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_010.png" border="1" alt="" width="393" height="74" /> </div>
<p>Nah kalo dah selesai, Save lagi halaman nnya [CTRL+S]</p>
<p><span class="style2">Dokumen HTML Index </span></p>
<p>Langkah selanjutnya bwat satu dokumen baru lagi, dengan nama <span class="style1">index.html</span></p>
<p>Pindah ke Tab CODE perhatikan Source code antara <strong>&lt;BODY&gt;</strong> dan <strong>&lt;/BODY&gt;</strong></p>
<p>Untuk pertama kalinya ktik code awalnya <strong>&#8220;&lt;if&#8221;</strong> maka akan muncul secara otomatis, list source code yang telah disediakan Dreamweaver, lalu pilih <strong>&#8220;iframe&#8221;</strong> , tekan spasi dan ketik property2nya seperti: align, frameborder, marginheight, marginwidth, height/width, dan src untuk memanggil lokasi halaman yang akan ditampilkan dalam Frame.</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_002.png" border="1" alt="" width="142" height="185" /> </div>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_003.png" border="1" alt="" width="226" height="104" /> </div>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_004.png" border="1" alt="" width="296" height="167" /> </div>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_005.png" border="1" alt="" width="370" height="182" /> </div>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Macromediadremi_006.png" border="1" alt="" width="243" height="64" /> </div>
<p>Saat Option Browse muncul, Tekan [ENTER] untuk memilih file framenya</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Selectdremi_001.png" border="1" alt="" width="263" height="89" /> </div>
<p>Klik Ok jika sudah dipilih pada Window Filenya.</p>
<p>Jadi Uraian Source Code INNER FRAME sementara nya seperti ini:</p>
<pre class="brush: xml; title: ; notranslate">&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; height=&quot;300&quot; src=&quot;frame.html&quot;&gt;</pre>
<p>Nah terakhir, tinggal menutup script HTML IFRAME nya , dengan mengetik, <strong>&lt;/IFRAME&gt;</strong> pada baris selanjutnya. Pada Dreamweaver 8 kalo mau nutup skrip, cukup dengan mengetik<strong> &#8220;&lt;/&#8221;</strong> saja maka akan muncul &lt;/IFRAME&gt; dengan otomatis, cerdas bukan Dreamweavernya.</p>
<p>Ini Script akhirnya:</p>
<pre class="brush: xml; title: ; notranslate">&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; height=&quot;300&quot; src=&quot;frame.html&quot;&gt;
&lt;/iframe&gt;</pre>
<p>Woke, lu tinggal Save lagi halaman index.html nya, dan tekan [F12] untuk mencobanya di Browser.</p>
<p>Kalo mau liat area framenya, lu tinggal modify aja page frame.html nya</p>
<p>Modify &gt; Page Properties</p>
<p>Atus sesuai selera lu</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Pagedremi_002.png" border="1" alt="" width="400" height="148" /> </div>
<p>Tampilan di Browser ( background frame.html gue ganti menjadi hitam)</p>
<div id="img"><img src="http://i175.photobucket.com/albums/w126/hairulazami/Membuat%20Inner%20Frame/Untitleddremi_003.png" border="1" alt="" width="333" height="377" /> </div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/membuat-inner-frame.html" target="_blank"><img src="http://www.dremi.info/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.dremi.info/articles/membuat-inner-frame.html" target="_blank" title="Share on Facebook">Share on Facebook</a></p><img src="http://www.dremi.info/?ak_action=api_record_view&id=26&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.dremi.info/articles/membuat-inner-frame.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

