<?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>eInternalsWeb development &#187; eInternals</title>
	<atom:link href="http://www.einternals.com/blog/category/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.einternals.com/blog</link>
	<description>Blog of eInternals.com</description>
	<lastBuildDate>Fri, 15 Jul 2011 08:59:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>AS3 &#8211; Access root from a movie clip</title>
		<link>http://www.einternals.com/blog/web-development/actionscript/as3-access-root-from-a-movie-clip</link>
		<comments>http://www.einternals.com/blog/web-development/actionscript/as3-access-root-from-a-movie-clip#comments</comments>
		<pubDate>Fri, 15 Jul 2011 08:57:33 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=87</guid>
		<description><![CDATA[Use like this to access root from a movie clip MovieClip(root).someThing; For example suppose you have a text box in root with instance name txtAddress in your root. If you need to set the text of txtAddress from a movie &#8230; <a href="http://www.einternals.com/blog/web-development/actionscript/as3-access-root-from-a-movie-clip">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Use like this to access <em>root</em>  from a movie clip</p>
<pre class="brush: jscript; title: ;">MovieClip(root).someThing;</pre>
<p>For example suppose you have a text box in root with instance name txtAddress in your root. If you need to set the text of txtAddress from a movie clip the code should be like</p>
<pre class="brush: jscript; title: ;">MovieClip(root).txtAddress.text = &quot;Some text here.&quot;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/actionscript/as3-access-root-from-a-movie-clip/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ActionScript : Find code execution time</title>
		<link>http://www.einternals.com/blog/web-development/actionscript-find-code-execution-time</link>
		<comments>http://www.einternals.com/blog/web-development/actionscript-find-code-execution-time#comments</comments>
		<pubDate>Thu, 13 Jan 2011 10:21:58 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash/Flex]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=83</guid>
		<description><![CDATA[Using the script below you can find how much time it took to execute your ActionScript code var startTime:Date = new Date(); // execute your code here var endTime:Date = new Date(); trace(&#34;Time take to execute the code &#34;+String(endTime.getTime()-startTime.getTime())+&#34; milliseconds&#34;); &#8230; <a href="http://www.einternals.com/blog/web-development/actionscript-find-code-execution-time">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using the script below you can find how much time it took to execute your ActionScript code</p>
<pre class="brush: jscript; title: ;">
var startTime:Date = new Date();

// execute your code here

var endTime:Date = new Date();
trace(&quot;Time take to execute the code &quot;+String(endTime.getTime()-startTime.getTime())+&quot; milliseconds&quot;);
</pre>
<p>Check PHP version <a href="http://www.einternals.com/blog/web-development/php/php-find-script-execution-time" target="_blank">here</a></p>
<p>Check Javascript version <a href="http://www.einternals.com/blog/web-development/javascript-find-script-execution-time-2" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/actionscript-find-code-execution-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBScript : Find script execution time</title>
		<link>http://www.einternals.com/blog/web-development/vbscript/vbscript-find-script-execution-time</link>
		<comments>http://www.einternals.com/blog/web-development/vbscript/vbscript-find-script-execution-time#comments</comments>
		<pubDate>Thu, 13 Jan 2011 09:55:41 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=79</guid>
		<description><![CDATA[Using the script below you can find how much time it took to execute your VBScript code. Dim startTime startTime = Now 'execute your code here endTime = Now MsgBox(&#34;Time taken to execute code : &#34; &#38; DateDiff(&#34;s&#34;,startTime,endTime)&#38;&#34; seconds&#34;) You &#8230; <a href="http://www.einternals.com/blog/web-development/vbscript/vbscript-find-script-execution-time">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using the script below you can find how much time it took to execute your VBScript code.</p>
<pre class="brush: vb; title: ;">
Dim startTime
startTime = Now

'execute your code here

endTime = Now
MsgBox(&quot;Time taken to execute code : &quot; &amp; DateDiff(&quot;s&quot;,startTime,endTime)&amp;&quot; seconds&quot;)
</pre>
<p>You can try this example</p>
<pre class="brush: vb; title: ;">
Dim startTime
startTime = Now

'execute your code here
MsgBox(&quot;Wait for sometime&quot;)

endTime = Now
MsgBox(&quot;Time taken to execute code : &quot; &amp; DateDiff(&quot;s&quot;,startTime,endTime)&amp;&quot; seconds&quot;)
</pre>
<p>Check PHP version <a href="http://www.einternals.com/blog/web-development/php/php-find-script-execution-time" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/vbscript/vbscript-find-script-execution-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript : Find script execution time</title>
		<link>http://www.einternals.com/blog/web-development/javascript-find-script-execution-time-2</link>
		<comments>http://www.einternals.com/blog/web-development/javascript-find-script-execution-time-2#comments</comments>
		<pubDate>Wed, 12 Jan 2011 06:01:03 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=73</guid>
		<description><![CDATA[Using the script below you can find how much time it took to execute your javascript code. var startDate = new Date(); // execute your tasks here var endDate = new Date(); var timeTaken = endDate.getTime() - startDate.getTime(); alert('Time take &#8230; <a href="http://www.einternals.com/blog/web-development/javascript-find-script-execution-time-2">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using the script below you can find how much time it took to execute your javascript code.</p>
<pre class="brush: jscript; title: ;">
var startDate = new Date();

// execute your tasks here

var endDate = new Date();

var timeTaken = endDate.getTime() - startDate.getTime();

alert('Time take to execute the script is '+timeTaken+' milliseconds');
</pre>
<p>You can try this example</p>
<pre class="brush: jscript; title: ;">

// USE OF THIS FUNCTION IS NOT RECOMMENDED, CONSUMES LOT OF SYSTEM RESOURCES
function sleep(milliSeconds){
	var startTime = new Date().getTime(); // get the current time
	while (new Date().getTime() &lt; startTime + milliSeconds); // hog cpu
}

var startDate = new Date();

// execute your tasks here
sleep(300); // parameter is milliseconds

var endDate = new Date();
var timeTaken = endDate.getTime() - startDate.getTime();

alert('Time take to execute the script is '+timeTaken+' milliseconds');
</pre>
<p><em>sleep </em>function taken from <a href="http://www.devcheater.com/#JavaScript sleep by loop" target="_blank">http://www.devcheater.com/#JavaScript sleep by loop</a>. Usage of this sleep function is not recommended, shown only for demo purpose.</p>
<p>Check PHP version <a href="http://www.einternals.com/blog/web-development/php/php-find-script-execution-time" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/javascript-find-script-execution-time-2/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP : Find script execution time</title>
		<link>http://www.einternals.com/blog/web-development/php/php-find-script-execution-time</link>
		<comments>http://www.einternals.com/blog/web-development/php/php-find-script-execution-time#comments</comments>
		<pubDate>Tue, 11 Jan 2011 11:00:29 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=59</guid>
		<description><![CDATA[If you are a PHP developer chances are many that you need to find how much time it took to execute a piece of code. Using the script below you can find how much time it took to execute your &#8230; <a href="http://www.einternals.com/blog/web-development/php/php-find-script-execution-time">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are a PHP developer chances are many that you need to find how much time it took to execute a piece of code. Using the script below you can find how much time it took to execute your php code.</p>
<pre class="brush: php; title: ;">

$time_start = microtime(true);

// execute your tasks here

$time_end = microtime(true);
$time = $time_end - $time_start;

echo &quot;Code executed in $time seconds\n&quot;;
</pre>
<p>You can try these examples</p>
<pre class="brush: php; title: ;">

$time_start = microtime(true);

// execute your tasks here
phpinfo();

$time_end = microtime(true);
$time = $time_end - $time_start;

echo &quot;Code executed in $time seconds\n&quot;;
</pre>
<p>Another example</p>
<pre class="brush: php; title: ;">

$time_start = microtime(true);

// execute your tasks here
sleep(1); // wait for 1 second

$time_end = microtime(true);
$time = $time_end - $time_start;

echo &quot;Code executed in $time seconds\n&quot;;
</pre>
<p>ASP and C# version of the code can be found <a href="http://neworder.box.sk/showthread.php/40932-PHP-Find-script-execution-time" target="_blank">here</a></p>
<p>Check Javascript version <a href="http://www.einternals.com/blog/web-development/javascript-find-script-execution-time-2" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/php/php-find-script-execution-time/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress : How to change blog title to image or logo?</title>
		<link>http://www.einternals.com/blog/web-development/php/wordpress-how-to-change-blog-title-to-image-or-logo</link>
		<comments>http://www.einternals.com/blog/web-development/php/wordpress-how-to-change-blog-title-to-image-or-logo#comments</comments>
		<pubDate>Fri, 07 Jan 2011 06:48:20 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=45</guid>
		<description><![CDATA[After you install wordpress by default the blog title appears in the header . Using the below method you can change the blog title or name to you company logo or to a custom image. Login to admin console of &#8230; <a href="http://www.einternals.com/blog/web-development/php/wordpress-how-to-change-blog-title-to-image-or-logo">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After you install wordpress by default the blog title appears in the header . Using the below method you can change the blog title or name to you company logo or to a custom image.</p>
<p>Login to admin console of your website.</p>
<ol>
<li> Goto Appearance-&gt;Editor</li>
<li>Click to edit <strong>Header (header.php) </strong>from the right side of page.</li>
<li>Navigate to code which looks like this
<pre class="brush: php; title: ;">
&lt;span&gt;

&lt;a href=&quot;&lt;?php echo home_url( '/' ); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;

&lt;/span&gt;
</pre>
</li>
<li>First lets comment the blog title<br />
Comment like this, or you can remove this line. </p>
<pre class="brush: php; title: ;">
&lt;?php //bloginfo( 'name' ); ?&gt;
</pre>
</li>
<li>Next we need to add logo or image</li>
<li>Insert image like this
<pre class="brush: plain; title: ;">
&lt;img src=&quot;http://einternals.com/images/einternals-logo.gif&quot; width=&quot;260&quot; height=&quot;48&quot; /&gt;
</pre>
</li>
<li>So the full code will look like
<pre class="brush: php; title: ;">
&lt;span&gt;

&lt;a href=&quot;&lt;?php echo home_url( '/' ); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;img src=&quot;http://einternals.com/images/einternals-logo.gif&quot; width=&quot;260&quot; height=&quot;48&quot; /&gt;&lt;?php //bloginfo( 'name' ); ?&gt;&lt;/a&gt;

&lt;/span&gt;
</pre>
</li>
</ol>
<p>Now the image or company logo you added will be displayed in the blog header.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/php/wordpress-how-to-change-blog-title-to-image-or-logo/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress : How to remove page title only from a single page</title>
		<link>http://www.einternals.com/blog/web-development/remove-page-title-only-from-a-page</link>
		<comments>http://www.einternals.com/blog/web-development/remove-page-title-only-from-a-page#comments</comments>
		<pubDate>Wed, 22 Dec 2010 06:42:56 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/?p=32</guid>
		<description><![CDATA[Do this if you don&#8217;t want to show the page title on top of a page in wordpress. Method 1 : (will not work if you save the post in Visual editor mode) Add this style below the content in &#8230; <a href="http://www.einternals.com/blog/web-development/remove-page-title-only-from-a-page">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do this if you don&#8217;t want to show the page title on top of a page in wordpress.</p>
<p><strong>Method 1 : (will not work if you save the post in Visual editor mode)</strong></p>
<p>Add this style below the content in HTML editor.</p>
<pre class="brush: css; title: ;">
&lt;style&gt;.entry-title {display:none;}&lt;/style&gt;
</pre>
<p>Make sure the editor mode is HTML, NOT Visual</p>
<p><strong>Method 2 (editing the CSS style sheet)</strong></p>
<p>First you need to get the ID of your page.</p>
<p>How to find the ID of the page</p>
<ol>
<li> Preview or publish your page.</li>
<li>View html source of your page (Ctrl+U in Google Chrome and Mozilla Firefox, Top menu-&gt;View-&gt;Source in Internet Explorer )</li>
<li>Search for body tag. The page ID will be shown in the body tag.<img title="Wordpress Page ID" src="http://lh3.ggpht.com/_Lx0NPYIoM98/TSWJMuZjJkI/AAAAAAAAAA0/-AixuyCeVWE/s800/wordpress-post-id.gif" alt="" width="551" height="69" /><br />
In this case the page ID is 40</li>
<li>Now go to Appearance-&gt;Editor in WordPress admin</li>
<li>Edit style.css</li>
<li>Add this style
<pre class="brush: css; title: ;">
#post-40 .entry-title
{
   display:none;
}
</pre>
<p>Change 40 to your page ID.</li>
<li>Save the file.</li>
<li>Now check the page. You will not see the title of the page.</li>
<li>For hiding page title in multiple pages add style like this
<pre class="brush: css; title: ;">
#post-40 .entry-title,
#post-41 .entry-title,
#post-42 .entry-title
{
   display:none;
}
</pre>
<p>In this case page title will not be shown in pages which has ID 40,41,42</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/remove-page-title-only-from-a-page/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Disable right click menu in Flash (swf files)</title>
		<link>http://www.einternals.com/blog/web-development/flashflex/disable-right-click-menu-in-flash</link>
		<comments>http://www.einternals.com/blog/web-development/flashflex/disable-right-click-menu-in-flash#comments</comments>
		<pubDate>Sat, 02 Feb 2008 05:23:07 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[Flash/Flex]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Right Click]]></category>
		<category><![CDATA[swf]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/general/disable-right-click-menu-in-flash</guid>
		<description><![CDATA[There are times when you have to disable the default right click menu on flash files on your webpages. Uza has a suggested a method to completely disable the flash right menu. Check the article link at his website http://www.uza.lt/blog/2007/08/solved-right-click-in-as3 &#8230; <a href="http://www.einternals.com/blog/web-development/flashflex/disable-right-click-menu-in-flash">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are times when you have to disable the default right click menu on flash files on your webpages.</p>
<p><a href="http://www.uza.lt/" target="_blank">Uza</a> has a suggested a method to completely   disable the flash right menu.<br />
Check the article link at his website <a href="http://www.uza.lt/blog/2007/08/solved-right-click-in-as3" target="_blank"> http://www.uza.lt/blog/2007/08/solved-right-click-in-as3</a><br />
and the Demo here <a href="http://www.uza.lt/rightclick/" target="_blank">http://www.uza.lt/rightclick/</a></p>
<p>You can also download the project files from the Google code<br />
Project website:<br />
<a href="http://code.google.com/p/custom-context-menu/" target="_blank">http://code.google.com/p/custom-context-menu/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/flashflex/disable-right-click-menu-in-flash/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Change login link to logout link.</title>
		<link>http://www.einternals.com/blog/web-development/php/change-login-link-to-logout-link</link>
		<comments>http://www.einternals.com/blog/web-development/php/change-login-link-to-logout-link#comments</comments>
		<pubDate>Sat, 29 Dec 2007 08:10:00 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/web-development/php/change-login-link-to-logout-link</guid>
		<description><![CDATA[There are times when you have to change the login link in your webpage to a logout link when a user successfully logged in. Here is a simple way to do it in PHP Suppose your menu is Link 1 &#8230; <a href="http://www.einternals.com/blog/web-development/php/change-login-link-to-logout-link">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are times when you have to change the login link in your webpage to a logout link when a user successfully logged in.</p>
<p>Here is a simple way to do it in PHP</p>
<p>Suppose your menu is</p>
<p>Link 1<br />
Login<br />
Link 2</p>
<p>the corresponding HTML code will look like</p>
<pre class="brush: php; title: ;">
&lt;a href='somepage.php'&gt;Link 1&lt;/a&gt;
&lt;a href='login.php'&gt;Login&lt;/a&gt;
&lt;a href='some_other_link.php'&gt;Link 2&lt;/a&gt;
</pre>
<p>After successful login most probably you will set a session. Say the name of the session variable is <em>username</em><br />
Then the code  for the menu will look like</p>
<pre class="brush: php; title: ;">
&lt;a href='somepage.php'&gt;Link 1&lt;/a&gt;
&lt;?php
if(isset($_SESSION['username']) &amp;&amp; $_SESSION['username']!=&quot;&quot;)
{
      echo(&quot;&lt;a href='logout.php'&gt;Logout&lt;/a&gt; &quot;);
      echo($_SESSION['username']);// displays username
}
else
{
      echo(&quot;&lt;a href='login.php'&gt;Login&lt;/a&gt; &quot;);
}
?&gt;
&lt;a href='some_other_link.php'&gt;Link 2&lt;/a&gt;
</pre>
<p>and also make sure to add</p>
<pre class="brush: php; title: ;">&lt;?php
    session_start();
?&gt;</pre>
<p>on top of your page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/php/change-login-link-to-logout-link/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to enable or disable Image Toolbar in Internet Explorer</title>
		<link>http://www.einternals.com/blog/web-development/how-to-enable-or-disable-image-toolbar-in-internet-explorer</link>
		<comments>http://www.einternals.com/blog/web-development/how-to-enable-or-disable-image-toolbar-in-internet-explorer#comments</comments>
		<pubDate>Tue, 25 Dec 2007 07:42:53 +0000</pubDate>
		<dc:creator>kiranvj</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Internet explorer]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.einternals.com/blog/web-development/how-to-enable-or-disable-image-toolbar-in-internet-explorer</guid>
		<description><![CDATA[Image Toolbar is a small toolbar shown in Intetnet Explorer above an image when the mouse moves over the image. The purpose of the Image Toolbar is to save the image, print the image, mail the image and to open &#8230; <a href="http://www.einternals.com/blog/web-development/how-to-enable-or-disable-image-toolbar-in-internet-explorer">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Image Toolbar is a small toolbar shown in Intetnet         Explorer above an image when the mouse moves over the image. The         purpose of the Image Toolbar is to save the image, print the image,         mail the image and to open the My Pictures folder.</p>
<p><img src="http://www.einternals.com/blog/wp-content/uploads/2007/12/toolbar.gif" alt="Image toolbar in internet explorer" /><br />
<span style="font-size: 75%">Image Toolbar in Internet Explorer</span></p>
<p>The usual method of saving an image from the Internet         explorer is by right clicking the image and selecting Save Picture         as…. In some sites the web designers disable the right click         the option, so the user cannot right click the image and click         Save the Picture….<br />
But in that case also the Image Toolbar will display.</p>
<p><strong><span>Disabling the Image Toolbar</span></strong><br />
<span>Add an attribute GALLERYIMG in the img tag</span></p>
<pre>&lt;img src="imagesimage1.jpg" galleryimg="false" /&gt;</pre>
<p>This will disable the Image Toolbar</p>
<p><strong><span>Enabling the Image Toolbar</span></strong><br />
<span>In small images the Image Toolbar will               not be shown automatically. If we want to show the Image Toolbar               in small images we have to enable it.</span></p>
<pre>&lt;IMG GALLERYIMG="true" src="imagesimage1.jpg" /&gt;</pre>
<p>This will enable the Image Toolbar.</p>
<p>The above mentioned techniques will only disable/enable         the Image Toolbar for only the particular image.</p>
<table style="height: 198px;" border="0" cellspacing="0" cellpadding="2" width="428">
<tbody>
<tr>
<td><img src="http://www.einternals.com/blog/wp-content/uploads/2007/12/toolbar1.gif" alt="Image toolbar enabled" /></td>
<td><img src="http://www.einternals.com/blog/wp-content/uploads/2007/12/toolbar1.gif" alt="Image toolbar disabled" /></td>
</tr>
<tr>
<td><span style="font-size: 75%">Toolbar Enabled</span></td>
<td><span style="font-size: 75%">Toolbar disabled</span></td>
</tr>
</tbody>
</table>
<p><span>To enable/disable the Toolbar on the         entire web page use this code.</span><br />
<span> Insert inside head tag </span></p>
<pre>&lt;HEAD&gt;
&lt;META HTTP-EQUIV="imagetoolbar" CONTENT="false"&gt;
&lt;/HEAD&gt;</pre>
<p>Setting GALLERYIMG=&#8221;true&#8221; in an IMG tag will override this setting, and the Image Toolbar will be show for that image.<br />
<strong><br />
Permanently disable the Image Toolbar in Internet Explorer</strong></p>
<p>Either right-click the toolbar when it is displayed and click Disable image toolbar.<br />
Or<br />
Go to the Advanced tab of the Internet Options which is located on the Tools menu within Internet Explorer. Clear the Enable Image Toolbar check box and click OK. After the image toolbar is disabled, no settings can override this and the image toolbar will not be displayed again until the user selects Enable Image Toolbar.</p>
<p><strong>Remarks:</strong><br />
Please not that you can also use the <em>yes</em> instead of <em>true</em> and <em>no</em> instead of <em>false</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.einternals.com/blog/web-development/how-to-enable-or-disable-image-toolbar-in-internet-explorer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

