<?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>denbagus blog</title>
	<atom:link href="http://www.denbagus.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.denbagus.net</link>
	<description></description>
	<lastBuildDate>Sat, 31 Jul 2010 12:24:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>PSD to HTML Service Provider – SEO-Semantic-XHTML.com</title>
		<link>http://www.denbagus.net/psd-to-html-service-provider-seo-semantic-xhtml-com/</link>
		<comments>http://www.denbagus.net/psd-to-html-service-provider-seo-semantic-xhtml-com/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 09:14:50 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[PSD to HTML]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4113</guid>
		<description><![CDATA[Over the years, I have realized that two things are very important to be successful in this profession. First, the expertise which ensures your quality of work and second, the network you create or your contact base. These two factors help you in building a reputation in the industry and brand building is vital for [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years, I have realized that two things are very important to be successful in this profession. First, the expertise which ensures your quality of work and second, the network you create or your contact base. These two factors help you in building a reputation in the industry and brand building is vital for anyone to succeed and excel. <span id="more-4113"></span><br />
I have been working towards building a reputation for myself in the Industry, keeping the above mentioned factors in mind. I am happy that I have been progressing towards my goal, because for me success is not a destination but a never ending Journey. Today, a considerable number of people in the industry know and recognize me and my work. The network you create should not only focus on the quantity (I mean the number of contacts) but also the quality (whom you are associated with or demography of your contact base).</p>
<p>Today, I’m excited to say that, I have a good network, which includes some prominent players in the industry and who are experts in their field. One such expert with whom I share a great rapport is seo-semantic-xhtml.com, a <a title="psd to html" href="http://www.seo-semantic-xhtml.com/" target="_blank">PSD to HTML</a> Service Provider who are known to me and worked for me for some time now, who themselves are a brand recognized in the industry.</p>
<p>They are experts in PSD to HTML conversion, a team of professionals with vast experience, and I have used their services before. That is the reason why I write this review for them as a satisfied customer.<br />
I would keep this review short, and show some real highlights that prove that they are a brand whom you can trust upon for a quality work and timely delivery.</p>
<p><img class="aligncenter size-full wp-image-4124" title="ssx image-1" src="http://www.denbagus.net/wp-content/uploads/2010/07/ssx-image-11.jpg" alt="" width="500" height="500" /></p>
<p style="text-align: center;">
<h3><strong>Six Reasons why you should consider them for your next project.</strong></h3>
<p><strong>Brand worked with Brands</strong>: They have worked for brands which are recognized worldwide like Sony Pictures, Columbia Pictures, Hollywood records, Walt Disney Company, farmers, best of the web and the list goes on…. The names of the brands suggest that they are not just another PSD to HTML Company. You can check their <a title="portfolio" href="http://www.seo-semantic-xhtml.com/portfolio.html" target="_blank">portfolio site</a> and<a title="clients" href="http://www.seo-semantic-xhtml.com/clients.html" target="_blank"> clientele list</a> for complete details.</p>
<p><strong>Quality of work</strong>: They delivered some quality outputs; the codes were pixel perfect and they stick to quality standards like you will receive a div based 100% hand coded semantic markup, short hand, commented css, W3c validated and SEO optimized code. They thoroughly check for cross browser and cross-platform compatibility before delivery and they specially focus on separation of structure and presentation as it reduces bandwidth usage and increases load speed and ensures better accessibility.</p>
<p><strong>Experience</strong>: They have a combined experience of over 11 years, this is the reason why I call them experts, and they know their Job well.</p>
<p><strong>Timely Delivery and Live Support</strong>: They ensure timely delivery of the project; they never compromise on this, that’s what makes them special for me. They deliver the home page in 8 working hours and the remaining pages in a few hours and throughout the process till your project is completed satisfactorily you can keep in touch with them thorough various modes of communication like phone, email, live chat etc and moreover, you can directly talk with their coders, to give specifications. There are few companies who can give you this facility.</p>
<p><strong>Competitive Rates</strong>: In spite of working with big brands and having years of experience and being one of the major service providers in the industry, they charge comparatively lower price than any major service providers. The package starts from as low as $79 for home page (standard package) and you will also get 50% discount on all inner pages. You can visit their <a title="order" href="http://www.seo-semantic-xhtml.com/order.php" target="_blank">order page</a> for complete details regarding the prices and packages and other various options. They have recently launched ipad testing services; they are the only company at the moment offering this service.</p>
<p><strong>Money Back Guarantee:</strong> They are very sure about their quality of work, in case a client is not satisfied they will work until all the issues are addressed. In case they fail to meet the client’s requirement, 100% of the money will be refunded.</p>
<p>Looking for a reputed PSD to HTML Service provider who can deliver you best outputs on time, at a comparatively lesser price than any other major service provider? I recommend SEO-Semantic-XHTML.com. I would suggest you to give them a project, and I am sure you will gradually become their regular client.</p>
<p>You can contact them:</p>
<p>By mail: sales@seo-semantic-xhtml.com | Toll Free no. 888-459(7668) or just visit their contact page: http://www.seo-semantic-xhtml.com/contact-us.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/psd-to-html-service-provider-seo-semantic-xhtml-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Effective and Cost-Saving Dedicated Hosting</title>
		<link>http://www.denbagus.net/the-effective-and-cost-saving-dedicated-hosting/</link>
		<comments>http://www.denbagus.net/the-effective-and-cost-saving-dedicated-hosting/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:18:17 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[web hosting]]></category>
		<category><![CDATA[Dedicated Hosting]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4105</guid>
		<description><![CDATA[Internet becomes the primary necessities for many businesses today. We know that many corporations get online to develop their business. The best dedicated hosting is what we need to support our business to stay alive in cyber world. Best quality dedicated hosting is a must, but the main dilemma is that we really need to [...]]]></description>
			<content:encoded><![CDATA[<p>Internet becomes the primary necessities for many businesses today. We know that many corporations get online to develop their business. The best dedicated hosting is what we need to support our business to stay alive in cyber world. Best quality dedicated hosting is a must, but the main dilemma is that we really need to limit our budget for this service. We need dedicated hosting service that is cost-effective without having to sacrifice its quality.<span id="more-4105"></span></p>
<p>AYKsolutions.com has been in this industry for over 6 years. This company has a special service in providing dedicated and VMware-powered cloud computing at enterprise-level. It knows how to help its customers to save money on hosting field by providing the cost-effective data centers. No setup fees is the main benefit offered by this company so its customers are able to save money. Although it is low in budget, it is still able to provide the powerful and reliable hosting solution for everyone. Whether it is entry shared account or either a dedicated VMware <a title="cloud" href="http://www.ayksolutions.com/?utm_source=denbagus.net&amp;utm_medium=text&amp;utm_campaign=cloudarticle" target="_blank">cloud</a> server, this company is able to deliver them all for its customers. It offers transfer options that run from metered to gigabit <a title="unmetered" href="http://www.ayksolutions.com/?utm_source=denbagus.net&amp;utm_medium=text&amp;utm_campaign=unmeteredarticle" target="_blank">unmetered</a>. All of them are offered at an industry-leading price. The cloud servers offered by this company enable our websites no longer need to experience downtime because of the faulty hardware components. With its experience in providing dedicated hosting for over 6 years, this company is relatively stable and you won’t find it suddenly disappear into the dark.</p>
<p>To help its customers with their dedicated hosting, this company also provides customer support for 24 hours in a day 7 days in a week and also 365 days in a year. Their professional staff will always be ready to help the customers in managing their software. Customers may find it really helpful for them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/the-effective-and-cost-saving-dedicated-hosting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Make an Interesting WordPress Website</title>
		<link>http://www.denbagus.net/make-an-interesting-wordpress-website/</link>
		<comments>http://www.denbagus.net/make-an-interesting-wordpress-website/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 09:17:32 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress slideshow]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4099</guid>
		<description><![CDATA[If you have to mention the most complete and the most popular media, I believe that you all will say the internet. It is true that internet is like the most advanced media of communication that can gives us many features that no other media can give. On the internet you can practically do anything [...]]]></description>
			<content:encoded><![CDATA[<p>If you have to mention the most complete and the most popular media, I believe that you all will say the internet. It is true that internet is like the most advanced media of communication that can gives us many features that no other media can give. On the internet you can practically do anything that you want.<span id="more-4099"></span>You can send instant message to your friends, you can send emails, and even you can create websites on the internet.</p>
<p>Creating website on the internet can be interpreted differently for each person. This is because website can be used for anything. People can create website to sell something, as an online store. People can also create website just simply to be used ad the media to express their mind and feeling so that they can be heard from al over the world.</p>
<p><img class="aligncenter size-full wp-image-4100" title="wordpress-slideshow" src="http://www.denbagus.net/wp-content/uploads/2010/07/wordpress-slideshow.jpg" alt="" width="500" height="247" /></p>
<p>No matter what the purpose in creating the website is, but the main point is one. You have to attract as many visitors as possible to your website. But before we go that way the first thing that we need to understand is now to create the website. The simplest and the easiest way to create website is by using the blog platform of wordpress. By using wordpress you can create simple website, which if you add some plugin, such as the <a title="wordpress slideshow" href="http://wpslideshowplugin.com" target="_blank">wordpress slideshow plugin</a>, can make the website become more interesting.</p>
<p>To create interesting website in very important because attractive display will make the visitors stay longer in the website. For more information about this wordpress plugin, you can visit the website of <a href="http://wpslideshowplugin.com/" target="_blank">Wpslideshowplugin.com</a>. Actually there are still a lot more different plugin that you can add and apply to your wordpress. You can add anything that you want as long as you understand all the plugin. For information about the wordpress plugin, you can just browse the internet and search it through your favorite search engine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/make-an-interesting-wordpress-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Winner of 3 Admin Template Licenses from AdminTemplates.com</title>
		<link>http://www.denbagus.net/the-winner-of-3-admin-template-licenses-from-admintemplates-com/</link>
		<comments>http://www.denbagus.net/the-winner-of-3-admin-template-licenses-from-admintemplates-com/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 22:57:12 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[monday giveaway]]></category>
		<category><![CDATA[giveaway]]></category>
		<category><![CDATA[winners]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4093</guid>
		<description><![CDATA[Thank you for all of the participants Giveaway – 3 Admin Template Licenses from AdminTemplates.com.  Thanks to have participated in this contest.  We are happy to announce the following  winners. Congratulations. here is the winner : Steve Robillard Caziuc Stefan satrya All winners will receive an email containing the download address and activation code . [...]]]></description>
			<content:encoded><![CDATA[<p>Thank you for all of the participants <a title="Permanent Link: Giveaway – 3 Admin Template Licenses from AdminTemplates.com" rel="bookmark" href="../giveaway-3-admin-template-licenses-from-admintemplates-com/">Giveaway – 3 Admin Template Licenses from AdminTemplates.com</a>.  Thanks to have participated in  this  contest.   We are happy to announce the following  winners.   Congratulations. here  is the winner :<span id="more-4093"></span></p>
<p><strong>Steve Robillard<br />
Caziuc Stefan<br />
satrya</strong></p>
<p>All winners will receive an email containing the download address and  activation code<strong> . DenBagusNet</strong> will continue giving away  some really nice web development and web   design resources to our  readers. Make sure you always update the latest   news in DenBagusNet.  Thank you</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/the-winner-of-3-admin-template-licenses-from-admintemplates-com/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>5 Reasons Why Your Computer is Slow</title>
		<link>http://www.denbagus.net/5-reasons-why-your-computer-is-slow/</link>
		<comments>http://www.denbagus.net/5-reasons-why-your-computer-is-slow/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 23:00:56 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[computer]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4083</guid>
		<description><![CDATA[Many computer users are wondering the same question: “why is my computer getting slower and slower?” The truth is it depends most on you, the user. The better you keep your computer maintained, the faster your PC could be. What should be maintained and how? Let us proceed to find out the 5 ultimate reasons [...]]]></description>
			<content:encoded><![CDATA[<p>Many computer users are wondering the same question: “why is my computer getting slower and slower?” The truth is it depends most on you, the user. The better you keep your computer maintained, the faster your PC could be.<br />
What should be maintained and how? Let us proceed to find out the 5 ultimate reasons that slow down your computer and the respective solutions.<span id="more-4083"></span></p>
<h2><strong>Clustered registry</strong></h2>
<p>Your Windows registry keeps growing while you use your computer. It continuously records all the information and changes of software, hardware and system settings. Over time, your registry will be accumulated with a large number of obsolete, redundant and invalid entries and registry holes, which can seriously affect your PC performance.<br />
To clean and optimize your registry, you can download <a title="WinASO Registry Optimizer " href="http://www.winaso.com" target="_blank">WinASO Registry Optimizer</a> and simply run the “Registry cleaner” and “Registry defrag”.<br />
It’s quite simple using “Registry Cleaner” function in WinASO Registry Optimizer. After starting the program, click on “Click Here to Scan Registry” and the program will automatically scan for all the invalid and obsolete registry items. When the scan is completed, you can choose the ones to repair or just click “Repair” to clean them all.</p>
<p><img class="aligncenter size-full wp-image-4084" title="Untitled-1" src="http://www.denbagus.net/wp-content/uploads/2010/07/Untitled-1.png" alt="" width="501" height="369" /></p>
<p><img class="aligncenter size-full wp-image-4085" title="Untitled-3" src="http://www.denbagus.net/wp-content/uploads/2010/07/Untitled-3.png" alt="" width="501" height="369" /></p>
<p>Registry Defrag can optimize your registry by removing the registry holes and rebuilding the registry structure. WinASO Registry Optimizer has included Registry Defrag to help you achieve registry optimization. It offers two defragmentation methods, quick defragmentation and full defragmentation. If you haven’t optimized your registry for a long time or you frequently install/uninstall programs on your computer, we recommend you choose Full defragmentation.</p>
<p><img class="aligncenter size-full wp-image-4086" title="Untitled-2" src="http://www.denbagus.net/wp-content/uploads/2010/07/Untitled-2.png" alt="" width="501" height="369" /></p>
<h2><strong> Junk files and disk fragments</strong></h2>
<p>Every day your Windows will create a large number of temporary files and junk files, and leave them behind on your computer. Over time these files take up more and more of your disk space and slow down your PC.<br />
<a title="WinASO Disk Cleaner " href="http://www.winaso.com/disk_cleaner/" target="_blank">WinASO Disk Cleaner</a> can help you clean your junks and free up disk space.</p>
<p><img class="aligncenter size-full wp-image-4087" title="Untitled-4" src="http://www.denbagus.net/wp-content/uploads/2010/07/Untitled-4.png" alt="" width="501" height="400" /></p>
<p>Besides removing the junk files, your file system needs to be optimized as well. Windows system offers free disk defragmenter to defragment your files, but many users never noticed it before. WinASO Registry Optimizer has listed together all the free but useful Windows system tools for you to apply them easily.</p>
<h2>Too many startup programs</h2>
<p>If your computer starts up at a turtle speed, it’s time for you to decrease the number of your startups. Many programs now will by default add itself to system startups upon installation, but some users never take a notice. WinASO Registry Optimizer provides a Startup Manager for you to easily manage all your startups.</p>
<p><img class="aligncenter size-full wp-image-4088" title="Untitled-5" src="http://www.denbagus.net/wp-content/uploads/2010/07/Untitled-5.png" alt="" width="503" height="366" /></p>
<h2><strong>Fancy Desktop wallpapers and other unnecessary extras</strong></h2>
<p>The extras would include personalized icons and animated cursors. While it might be really tempting to change your entire Windows desktop to look exactly like a jungle on screen, stop yourself from this thought. They might look nice on your desktop, but they could be the very reason why your computer is getting slower. So, try to keep things simple on the desktop. Skip all those fancy cursors.</p>
<h2>Viruses and Spyware</h2>
<p>When you surf on the web, the website you visited may drop some spyware on your computer while you have no idea at all. The spyware can be running automatically at the backend of your computer, spying on your web surfing patters. Viruses can not only slow down your computer, but even crash your entire system. Therefore, the best solution is to get an anti-virus and anti-spyware to have your computer protected all the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/5-reasons-why-your-computer-is-slow/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Winner of 5 Subscriptions IS2Monitor Website Performance
Monitoring</title>
		<link>http://www.denbagus.net/the-winner-of-5-subscriptions-is2monitor-website-performance-monitoring/</link>
		<comments>http://www.denbagus.net/the-winner-of-5-subscriptions-is2monitor-website-performance-monitoring/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 12:30:52 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[monday giveaway]]></category>
		<category><![CDATA[giveaway]]></category>
		<category><![CDATA[winners]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4079</guid>
		<description><![CDATA[Thank you for all of the participants Giveaway – 5 Subscriptions IS2Monitor Website Performance Monitoring. Sorry for being late to announce.  Thanks to have participated in this contest.  We are happy to announce the following  winners. Congratulations. here is the winner : KandangTips k1922h Mr. Angel Steve Robillard Munim All winners will receive an email [...]]]></description>
			<content:encoded><![CDATA[<p>Thank you for all of the participants <a title="Permanent Link: Giveaway – 5 Subscriptions IS2Monitor Website Performance Monitoring" rel="bookmark" href="../giveaway-5-subscriptions-is2monitor-website-performancemonitoring/">Giveaway – 5 Subscriptions IS2Monitor Website Performance Monitoring</a>.  Sorry for  being late to announce.  Thanks to have participated in this  contest.   We are happy to announce the following  winners.  Congratulations. here  is the winner :<span id="more-4079"></span> <strong>KandangTips<br />
k1922h<br />
Mr. Angel<br />
Steve Robillard<br />
Munim</strong></p>
<p><strong> </strong></p>
<p>All winners will receive an email containing the download address and  activation code<strong> . DenBagusNet</strong> will continue giving away  some really nice web development and web  design resources to our  readers. Make sure you always update the latest  news in DenBagusNet.  Thank you</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/the-winner-of-5-subscriptions-is2monitor-website-performance-monitoring/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Anatomy of JavaScript Puzzle</title>
		<link>http://www.denbagus.net/anatomy-of-javascript-puzzle/</link>
		<comments>http://www.denbagus.net/anatomy-of-javascript-puzzle/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 04:37:51 +0000</pubDate>
		<dc:creator>denbagus</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[JavaScript Puzzle]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.denbagus.net/?p=4070</guid>
		<description><![CDATA[What do you mean by JavaScript puzzle and what unique features does it have? JavaScript puzzle uses some simple features. To show the individual pieces of a picture it uses the concept of DHTML. Hence it gets rid from using multiple graphic files for various purposes. We will discuss the code and the puzzle in [...]]]></description>
			<content:encoded><![CDATA[<p>What do you mean by <a title="jquery-slideshow" href="http://www.denbagus.net/jquery-slideshow/" target="_blank"><strong>JavaScript </strong></a>puzzle and what unique features does it have? JavaScript puzzle uses some simple features. To show the individual pieces of a picture it uses the concept of <strong>DHTML</strong>. Hence it gets rid from using multiple graphic files for various purposes. <span id="more-4070"></span></p>
<p>We will discuss the code and the puzzle in this tutorial piece. How does the puzzle work? The puzzle just revolves around straight and forward shuffle the picture pieces puzzle. You can see one space blank and then other remaining pictures are floating in incorrect places. The player who is playing has to use the blank spaces so that everything gets settled at perfect position.</p>
<p>Now another puzzle type but you have similar scripts. The main difference in it is the way in which it is being generated. When you start making any image puzzle, you cut the whole picture in to small pieces. All the images that are cut are in equal sizes and you get the 16 small GIF files along with you. So you get from a large file to 16 small GIF files. This latest technique uses some more things and that includes using of different technique in JavaScript. This is helpful in creating little images Rather than any kind of copy paste approach it uses new approach to it.</p>
<p>You can also get help from script by yourself. This is a manipulative language and it cannot manipulate any image file. What are the methods of taking off the picture? How to slice it away from the puzzle? You need to give it an impression that you are slicing. The main trick behind is the way you set up the trick. How to do this? This is very simple, where you need to show starting 50 pixels and create a div tag. Further, different style is given along with different crop size. This way you are using the puzzle coding and managing in it.</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;Holder&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; top: 200; left:100; clip : rect(0px, 50px, 50px, 0px)&quot;</span>&gt;</span></pre></div></div>
<p>You may put anything inside it and it will give you 5o pixels cropped up picture. This constitutes a block of puzzle. With the help of some div-tags, you have to crop the images and then order out the whole block incorrectly so that it can be arranged in distorted order. With addition of functionality, we are helping the user so that he can manipulate the position. There are many extra problems that need to be solved.</p>
<p>If you have an image of 500*100 pixels then the blocks cannot be made a square of 50 pixels. This kind of division might not work properly. There are few line of codes that can be helpful in defining the image size. Further, you need to divide it according to the total blocks and this way determines the crop dimension. Here is the piece of coding that you need to write:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;"><span class="kw2">var</span> rows <span class="sy0">=</span> <span class="nu0">4</span><span class="sy0">;</span>
<span class="kw2">var</span> lines <span class="sy0">=</span> <span class="nu0">4</span><span class="sy0">;</span>
<span class="kw2">var</span> Ihight<span class="sy0">,</span> Iwidth<span class="sy0">,</span> cellH<span class="sy0">,</span> cellW<span class="sy0">;</span>
BaseImg <span class="sy0">=</span> <span class="kw2">new</span> Image<span class="sy0">;</span>
BaseImg.<span class="me1">src</span> <span class="sy0">=</span> <span class="st0">&quot;birth_of_venus.jpg&quot;</span><span class="sy0">;</span>
Ihight <span class="sy0">=</span> BaseImg.<span class="me1">height</span><span class="sy0">;</span>
Iwidth <span class="sy0">=</span> BaseImg.<span class="me1">width</span><span class="sy0">;</span>
cellH <span class="sy0">=</span> parseFloat<span class="br0">&#40;</span>Ihight<span class="sy0">/</span>rows<span class="br0">&#41;</span><span class="sy0">;</span>
cellW <span class="sy0">=</span> parseFloat<span class="br0">&#40;</span>Iwidth<span class="sy0">/</span>lines<span class="br0">&#41;</span><span class="sy0">;</span></pre></div></div>
<p>The variables <strong>cell H</strong> and <strong>cell W</strong> denote the dimensions of the image. And we use the same concept in this image too.<br />
No what another problem we have in this is that the image is shown to the top corner where that image covers initial 50 pixels.  There is one more div tag needed.</p>
<p>You require it when you work upon the other areas. This div goes in to the initial one and then it is moved in different spaces. This is inside the initial div and you can further assume the initial div to be looked upon window where you are working from second div. Within the second dov tag we need to place<strong> &lt;img&gt;</strong> Tag. Following is the piece of coding that you need to perform:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;Holder&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; top: 200; left:100; clip : rect(0px, 50px, 50px, 0px)&quot;</span>&gt;</span>
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;Inn&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; top:-100; left:-150;&quot;</span>&gt;</span>
<span class="sc2">&lt;<a href="http://december.com/html/4/element/img.html"><span class="kw2">img</span></a> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;birth_of_venus.jpg&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;mag4&quot;</span> <span class="kw3">border</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span></pre></div></div>
<p>In this coding, you can see the div, which is named Inn, in on the wrong side of position and it displays the top 100 pixel image from initial corner. The div is required to be on wrong side position so that it helps in lifting any image. This is kept into holder div. Now, you will find that the both of them are related with each other. Further, this holder div is nearly relative to its page itself on which it is working.</p>
<p>Let us find that the all elements working in this condition: The following set of code is the way by which you can set up all elements inside:</p>
<p>Use this code to build up rows as well as lines</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;"><span class="kw2">var</span> Divnum<span class="sy0">=</span><span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">for</span> <span class="br0">&#40;</span>i<span class="sy0">=</span><span class="nu0">0</span><span class="sy0">;</span> i<span class="sy0">&lt;</span>rows<span class="sy0">;</span> i<span class="sy0">++</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
<span class="kw1">for</span> <span class="br0">&#40;</span>a<span class="sy0">=</span><span class="nu0">0</span><span class="sy0">;</span> a<span class="sy0">&lt;</span>lines<span class="sy0">;</span> a<span class="sy0">++</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
Makeholder<span class="br0">&#40;</span>Divnum<span class="sy0">,</span> Itop<span class="sy0">,</span> Ileft<span class="sy0">,</span> cellH<span class="sy0">,</span> cellW<span class="br0">&#41;</span><span class="sy0">;</span>
Ileft <span class="sy0">=</span> Ileft<span class="sy0">+</span>cellW<span class="sy0">;</span>
MakeInner<span class="br0">&#40;</span>Divnum<span class="sy0">,</span> Ctop<span class="sy0">,</span> Cleft<span class="br0">&#41;</span><span class="sy0">;</span>
Cleft <span class="sy0">=</span> Cleft<span class="sy0">-</span>cellW<span class="sy0">;</span>
Divnum<span class="sy0">++;</span>
<span class="br0">&#125;</span>
Ileft <span class="sy0">=</span> <span class="nu0">100</span><span class="sy0">;</span>
Cleft <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span>
Itop <span class="sy0">=</span> Itop<span class="sy0">+</span>cellH<span class="sy0">;</span>
Ctop <span class="sy0">=</span> Ctop<span class="sy0">-</span>cellH<span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="kw2">function</span> Makeholder<span class="br0">&#40;</span>number<span class="sy0">,</span> top<span class="sy0">,</span> left<span class="sy0">,</span> ctop<span class="sy0">,</span> cleft<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
HoldDiv<span class="br0">&#91;</span>number<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="st0">'&lt;div id=&quot;Holder'</span><span class="sy0">+</span>number<span class="sy0">+</span><span class="st0">'&quot; style=&quot;position: absolute; top: '</span><span class="sy0">+</span>top<span class="sy0">+</span><span class="st0">'; left:'</span><span class="sy0">+</span>left<span class="sy0">+</span><span class="st0">'; clip : rect(0px, '</span><span class="sy0">+</span>cleft<span class="sy0">+</span><span class="st0">'px, '</span><span class="sy0">+</span>ctop<span class="sy0">+</span><span class="st0">'px, 0px)&quot; onclick=&quot;pop('</span><span class="sy0">+</span>number<span class="sy0">+</span><span class="st0">')&quot; &gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="kw2">function</span> MakeInner<span class="br0">&#40;</span>number<span class="sy0">,</span> top<span class="sy0">,</span> left<span class="br0">&#41;</span> <span class="br0">&#123;</span>
InnerDiv<span class="br0">&#91;</span>number<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="st0">'&lt;div id=&quot;Inn'</span><span class="sy0">+</span>number<span class="sy0">+</span><span class="st0">'&quot; style=&quot;position: absolute; top:'</span><span class="sy0">+</span>top<span class="sy0">+</span><span class="st0">'; left:'</span><span class="sy0">+</span>left<span class="sy0">+</span><span class="st0">';&quot;&gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span></pre></div></div>
<p>With the help of this program, you create blocks inside the puzzle. Now what about those those are out of the order? We have the following set of codes to be performed:<br />
The blocks here and there and you need to maintain it in your browser. Let’s take an array of 12 random unordered numbers:</p>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;">RandNum<span class="sy0">:</span> <span class="kw2">new</span> Array<span class="br0">&#40;</span>4<span class="sy0">,</span>15<span class="sy0">,</span>14<span class="sy0">,</span>3<span class="sy0">,</span>7<span class="sy0">,</span>6<span class="sy0">,</span>0<span class="sy0">,</span>9<span class="sy0">,</span>5<span class="sy0">,</span>10<span class="sy0">,</span>12<span class="sy0">,</span>11<span class="sy0">,</span>1<span class="br0">&#41;</span><span class="sy0">;</span></pre></div></div>
<p>Have your own array created, but be different from repeated numbers and with the help of this array, you need to write puzzle within the same window. For writing about the blocks, here are the codes:</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;">document.<span class="kw1">write</span><span class="br0">&#40;</span>Scrip<span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw1">for</span> <span class="br0">&#40;</span>q<span class="sy0">=</span><span class="nu0">0</span><span class="sy0">;</span> q<span class="sy0">&lt;</span>cells<span class="sy0">;</span> q<span class="sy0">++</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
document.<span class="kw1">write</span><span class="br0">&#40;</span>HoldDiv<span class="br0">&#91;</span>q<span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">var</span> Rnumber <span class="sy0">=</span> RandNum<span class="br0">&#91;</span>q<span class="br0">&#93;</span><span class="sy0">;</span>
document.<span class="kw1">write</span><span class="br0">&#40;</span>InnerDiv<span class="br0">&#91;</span>Rnumber<span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw1">if</span> <span class="br0">&#40;</span>q <span class="sy0">!=</span> cells<span class="sy0">-</span>1<span class="br0">&#41;</span><span class="br0">&#123;</span>
document.<span class="kw1">write</span><span class="br0">&#40;</span><span class="st0">'&lt;img src=&quot;'</span><span class="sy0">+</span>IMAGE<span class="sy0">+</span><span class="st0">'&quot; name=&quot;mag'</span><span class="sy0">+</span>q<span class="sy0">+</span><span class="st0">'&quot; border=&quot;0&quot;&gt;'</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw1">eval</span> <span class="br0">&#40;</span><span class="st0">&quot;document.mag&quot;</span><span class="sy0">+</span>q<span class="sy0">+</span><span class="st0">&quot;.src = BaseImg.src&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
document.<span class="kw1">write</span><span class="br0">&#40;</span><span class="st0">&quot;&lt;/div&gt;&lt;/div&gt;&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></div></div>
<p>Now the last step that is remaining in this puzzle is the block movement and you are close to your JavaScript puzzle. The things move when you click hence there is no need of drag and drop style. You need to create an array and then this array keeps position of empty blocks that starts from sixteenth position. As soon as any block is called there is a pop up function and you have following coding:</p>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.denbagus.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;">AName <span class="sy0">=</span> <span class="kw2">new</span> Array<span class="br0">&#40;</span>0<span class="sy0">,</span>1<span class="sy0">,</span>2<span class="sy0">,</span>3<span class="sy0">,</span>4<span class="sy0">,</span>5<span class="sy0">,</span>6<span class="sy0">,</span>7<span class="sy0">,</span>8<span class="sy0">,</span>9<span class="sy0">,</span>10<span class="sy0">,</span>11<span class="sy0">,</span>12<span class="sy0">,</span>13<span class="sy0">,</span>14<span class="sy0">,</span>15<span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">function</span> pop<span class="br0">&#40;</span>val<span class="br0">&#41;</span> <span class="br0">&#123;</span>
<span class="kw1">for</span> <span class="br0">&#40;</span>a<span class="sy0">=</span><span class="nu0">0</span><span class="sy0">;</span> a<span class="sy0">&lt;</span>AName.<span class="me1">length</span><span class="sy0">;</span> a<span class="sy0">++</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
<span class="kw1">if</span> <span class="br0">&#40;</span>AName<span class="br0">&#91;</span>a<span class="br0">&#93;</span> <span class="sy0">==</span> val<span class="br0">&#41;</span> <span class="br0">&#123;</span>
Cell <span class="sy0">=</span> a<span class="sy0">;</span>
<span class="br0">&#125;</span><span class="br0">&#125;</span>
<span class="kw1">if</span> <span class="br0">&#40;</span>AName<span class="br0">&#91;</span>Cell<span class="sy0">-</span>1<span class="br0">&#93;</span> <span class="sy0">==</span> 15 <span class="sy0">||</span> AName<span class="br0">&#91;</span>Cell<span class="sy0">+</span>1<span class="br0">&#93;</span> <span class="sy0">==</span> 15 <span class="sy0">||</span> AName<span class="br0">&#91;</span>Cell<span class="sy0">+</span>4<span class="br0">&#93;</span> <span class="sy0">==</span> 15 <span class="sy0">||</span> AName<span class="br0">&#91;</span>Cell<span class="sy0">-</span><span class="nu0">4</span><span class="br0">&#93;</span> <span class="sy0">==</span> <span class="nu0">15</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span></pre></div></div>
<p>Here the last line is there to keep checking whether the block user is suing is after fifteenth or not and then it starts changing its position accordingly. In final step, it changes its position of fifteenth block and then user can check it by clicking on the box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denbagus.net/anatomy-of-javascript-puzzle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.487 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-31 05:30:29 -->
