<?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>Fragov Blog</title>
	<atom:link href="http://fragov.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://fragov.com/blog</link>
	<description>About my life, programming, freelancing</description>
	<lastBuildDate>Mon, 15 Mar 2010 20:32:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to hide/show flash and embed using javascript</title>
		<link>http://fragov.com/blog/2010/03/15/how-to-hide-show-flash-and-embed-using-javascript/</link>
		<comments>http://fragov.com/blog/2010/03/15/how-to-hide-show-flash-and-embed-using-javascript/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 20:31:35 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=78</guid>
		<description><![CDATA[Some times I need to hide all flash and embeded objects on page (for example to make them not overlay pop-ups etc.), it can be done using next simple javascript code:

function showFlash(){
var flashObjects = document.getElementsByTagName("object");
for (i = 0; i &#60; flashObjects.length; i++) {
flashObjects[i].style.visibility = "visible";
}

var flashEmbeds = document.getElementsByTagName("embed");
for (i = 0; i &#60; flashEmbeds.length; i++) [...]]]></description>
			<content:encoded><![CDATA[<p>Some times I need to hide all flash and embeded objects on page (for example to make them not overlay pop-ups etc.), it can be done using next simple javascript code:<span id="more-78"></span></p>
<pre class="javascript" name="code">
function showFlash(){
var flashObjects = document.getElementsByTagName("object");
for (i = 0; i &lt; flashObjects.length; i++) {
flashObjects[i].style.visibility = "visible";
}

var flashEmbeds = document.getElementsByTagName("embed");
for (i = 0; i &lt; flashEmbeds.length; i++) {
flashEmbeds[i].style.visibility = "visible";
}
}

// ---------------------------------------------------

function hideFlash(){
var flashObjects = document.getElementsByTagName("object");
for (i = 0; i &lt; flashObjects.length; i++) {
flashObjects[i].style.visibility = "hidden";
}

var flashEmbeds = document.getElementsByTagName("embed");
for (i = 0; i &lt; flashEmbeds.length; i++) {
flashEmbeds[i].style.visibility = "hidden";
}

}</pre>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2010/03/15/how-to-hide-show-flash-and-embed-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show/hide elements on page using javascript</title>
		<link>http://fragov.com/blog/2010/03/15/75/</link>
		<comments>http://fragov.com/blog/2010/03/15/75/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 16:13:41 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=75</guid>
		<description><![CDATA[In between your &#60;head&#62; tags put this java script in (you may put it between &#60;body&#62; tags too):
&#60;script language=javascript type='text/javascript'&#62;
function hideDiv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideShow').style.visibility = 'hidden';
}
else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'hidden';
}
else { // IE 4
document.all.hideShow.style.visibility = 'hidden';
}
}
}

function showDiv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideShow').style.visibility = [...]]]></description>
			<content:encoded><![CDATA[<p>In between your &lt;head&gt; tags put this java script in (you may put it between &lt;body&gt; tags too):<span id="more-75"></span></p>
<pre class="javascript" name="code">&lt;script language=javascript type='text/javascript'&gt;
function hideDiv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideShow').style.visibility = 'hidden';
}
else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'hidden';
}
else { // IE 4
document.all.hideShow.style.visibility = 'hidden';
}
}
}

function showDiv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideShow').style.visibility = 'visible';
}
else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'visible';
}
else { // IE 4
document.all.hideShow.style.visibility = 'visible';
}
}
}
&lt;/script&gt;
</pre>
<p>As you can see it gets the div ID for each of the browsers and hides it or shows it. I named the Div Id hideShow to make it easy for you.</p>
<p>Then in your document put in your Div element the id name hideShow you can change this of course</p>
<pre class="html" name="code">&lt;div id="hideShow" ..etc&gt;
My content
&lt;/div&gt;</pre>
<p>and this to call the javascript to hide it</p>
<pre class="html" name="code">&lt;a href="javascript:hideDiv()"&gt;Hide Div&lt;/a&gt;</pre>
<p>and this to show it</p>
<pre class="html" name="code">&lt;a href="javascript:showDiv()"&gt;show Div&lt;/a&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2010/03/15/75/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add class &#8220;last&#8221; to last menu item (li) in Joomla 1.5 (mod_mainmenu)</title>
		<link>http://fragov.com/blog/2010/03/14/how-to-add-class-last-to-last-menu-item-li-in-joomla-1-5-mod_mainmenu/</link>
		<comments>http://fragov.com/blog/2010/03/14/how-to-add-class-last-to-last-menu-item-li-in-joomla-1-5-mod_mainmenu/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 18:15:24 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=71</guid>
		<description><![CDATA[Create new file default.php and place it in /[your_template]/html/mod_mainmenu/, add next content to it:

&#60;?php

// no direct access
defined('_JEXEC') or die('Restricted access');

if ( ! defined('modMainMenuXMLCallbackDefined') )
{

//class to add class "last" to last li
function addLastClass($result) {
$result = preg_replace("/(.*)&#60;\/li&#62;&#60;li class=\"item(\d*)\"&#62;(.*)&#60;\/li&#62;&#60;\/ul&#62;(.*).*/is", '$1&#60;/li&#62;&#60;li&#62;$3&#60;/li&#62;&#60;/ul&#62;$4', $result);

return $result;
}

function modMainMenuXMLCallback(&#38;$node, $args)
{
$user    = &#38;JFactory::getUser();
$menu    = &#38;JSite::getMenu();
$active    = $menu-&#62;getActive();
$path    = isset($active) ? array_reverse($active-&#62;tree) : null;

if (($args['end']) &#38;&#38; [...]]]></description>
			<content:encoded><![CDATA[<p>Create new file default.php and place it in /[your_template]/html/mod_mainmenu/, add next content to it:<span id="more-71"></span></p>
<pre class="php" name="code">
&lt;?php

// no direct access
defined('_JEXEC') or die('Restricted access');

if ( ! defined('modMainMenuXMLCallbackDefined') )
{

//class to add class "last" to last li
function addLastClass($result) {
$result = preg_replace("/(.*)&lt;\/li&gt;&lt;li class=\"item(\d*)\"&gt;(.*)&lt;\/li&gt;&lt;\/ul&gt;(.*).*/is", '$1&lt;/li&gt;&lt;li&gt;$3&lt;/li&gt;&lt;/ul&gt;$4', $result);

return $result;
}

function modMainMenuXMLCallback(&amp;$node, $args)
{
$user    = &amp;JFactory::getUser();
$menu    = &amp;JSite::getMenu();
$active    = $menu-&gt;getActive();
$path    = isset($active) ? array_reverse($active-&gt;tree) : null;

if (($args['end']) &amp;&amp; ($node-&gt;attributes('level') &gt;= $args['end']))
{
$children = $node-&gt;children();
foreach ($node-&gt;children() as $child)
{
if ($child-&gt;name() == 'ul') {
$node-&gt;removeChild($child);
}
}
}

if ($node-&gt;name() == 'ul') {
foreach ($node-&gt;children() as $child)
{
if ($child-&gt;attributes('access') &gt; $user-&gt;get('aid', 0)) {
$node-&gt;removeChild($child);
}
}
}

if (($node-&gt;name() == 'li') &amp;&amp; isset($node-&gt;ul)) {
$node-&gt;addAttribute('class', 'parent');
}

if (isset($path) &amp;&amp; (in_array($node-&gt;attributes('id'), $path) || in_array($node-&gt;attributes('rel'), $path)))
{
if ($node-&gt;attributes('class')) {
$node-&gt;addAttribute('class', $node-&gt;attributes('class').' active');
} else {
$node-&gt;addAttribute('class', 'active');
}
}
else
{
if (isset($args['children']) &amp;&amp; !$args['children'])
{
$children = $node-&gt;children();
foreach ($node-&gt;children() as $child)
{
if ($child-&gt;name() == 'ul') {
$node-&gt;removeChild($child);
}
}
}
}

if (($node-&gt;name() == 'li') &amp;&amp; ($id = $node-&gt;attributes('id'))) {
if ($node-&gt;attributes('class')) {
$node-&gt;addAttribute('class', $node-&gt;attributes('class').' item'.$id);
} else {
$node-&gt;addAttribute('class', 'item'.$id);
}
}

if (isset($path) &amp;&amp; $node-&gt;attributes('id') == $path[0]) {
$node-&gt;addAttribute('id', 'current');
} else {
$node-&gt;removeAttribute('id');
}
$node-&gt;removeAttribute('rel');
$node-&gt;removeAttribute('level');
$node-&gt;removeAttribute('access');
}
define('modMainMenuXMLCallbackDefined', true);
}
//get menu code
ob_start();

modMainMenuHelper::render($params, 'modMainMenuXMLCallback');

//add class "last" to last li
$menu_html = ob_get_contents();
ob_end_clean();

echo addLastClass($menu_html);</pre>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2010/03/14/how-to-add-class-last-to-last-menu-item-li-in-joomla-1-5-mod_mainmenu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unable to log into Front end and Administrator Panel of Joomla with correct login and password</title>
		<link>http://fragov.com/blog/2009/12/05/unable-to-log-into-front-end-and-administrator-panel-of-joomla-with-correct-login-and-password/</link>
		<comments>http://fragov.com/blog/2009/12/05/unable-to-log-into-front-end-and-administrator-panel-of-joomla-with-correct-login-and-password/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 13:46:11 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=69</guid>
		<description><![CDATA[Today, I&#8217;ve fixed another problem with Joomla. My client was unable to login to Joomla Administrator Panel with his correct login and password (and Super Administrator rights). Solution of this was very easy.
You should open phpMyAdmin (or any other DB manager) find table jos_plugins, find record for plugin &#8220;User &#8211; Joomla!&#8221; and set &#8220;published&#8221; field [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I&#8217;ve fixed another problem with Joomla. My client was unable to login to Joomla Administrator Panel with his correct login and password (and Super Administrator rights). Solution of this was very easy.<span id="more-69"></span><br />
You should open phpMyAdmin (or any other DB manager) find table jos_plugins, find record for plugin &#8220;User &#8211; Joomla!&#8221; and set &#8220;published&#8221; field to 1 (some guys on forums say that sometimes with same problem helps changing 1 to 0!).</p>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/12/05/unable-to-log-into-front-end-and-administrator-panel-of-joomla-with-correct-login-and-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace standart Joomla MooTools with yours on front-end</title>
		<link>http://fragov.com/blog/2009/10/21/replace-standart-joomla-mootools-with-yours-on-front-end/</link>
		<comments>http://fragov.com/blog/2009/10/21/replace-standart-joomla-mootools-with-yours-on-front-end/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:34:30 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=64</guid>
		<description><![CDATA[To keep upwards compatibility for your Joomla Core the following example shows a solution, by clearing the Header Buffer from the scripts Joomla is adding by itself. This is a template based modification, which does work with extensions loading their own Scripts or Stylesheets into the Header Buffer. And by that also transparent and not [...]]]></description>
			<content:encoded><![CDATA[<p>To keep upwards compatibility for your Joomla Core the following example shows a solution, by clearing the Header Buffer from the scripts Joomla is adding by itself. This is a template based modification, which does work with extensions loading their own Scripts or Stylesheets into the Header Buffer. And by that also transparent and not affected by any version upgrade to your Joomla Core<span id="more-64"></span>:</p>
<pre class="php" name="code">
&lt;!-- Load MooTools by the template, and at the top before any other scripts --&gt;
&lt;?php
/* --- This removes any Joomla default Scripts from the Header Buffer --- */
$header = $this-&gt;getHeadData();                   // Get the current HEAD buffer
$header['scripts'] = array();                     // Clear all current 'scripts' entries
$this-&gt;setHeadData($header);                      // Update the HEAD buffer
/* --- We add the MooTools Framework manually, see below --- */
?&gt;

&lt;head&gt;
&lt;!-- Load MooTools at first --&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/mootools/mootools-1.2.1-core.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/mootools/mootools-1.2-more.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/mootools/mootools-1.2-compat.js"&gt;&lt;/script&gt;

&lt;!-- Now all other scripts from extensions --&gt;
&lt;jdoc:include type="head" /&gt;

&lt;/head&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/10/21/replace-standart-joomla-mootools-with-yours-on-front-end/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to set products per page limit in VirtueMart</title>
		<link>http://fragov.com/blog/2009/07/17/how-to-set-products-per-page-limit-in-virtuemart/</link>
		<comments>http://fragov.com/blog/2009/07/17/how-to-set-products-per-page-limit-in-virtuemart/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 20:55:16 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[virtuemart]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=58</guid>
		<description><![CDATA[Ofcourse you may change that setting in Joomla Configuration » List Length. But also it can be done in another custom way.
To change products per page limit in VirtueMart you should open for edit file: components/com_virtuemart/virtuemart.php
Edit:
$limit = intval( $mainframe-&#62;getUserStateFromRequest( "viewlistlimit", 'limit', $mosConfig_list_limit ) );
And change $mosConfig_list_limit to any number of products per page.
]]></description>
			<content:encoded><![CDATA[<p>Ofcourse you may change that setting in Joomla Configuration » List Length. But also it can be done in another custom way.<span id="more-58"></span><br />
To change products per page limit in VirtueMart you should open for edit file: components/com_virtuemart/virtuemart.php<br />
Edit:</p>
<pre class="php" name="code">$limit = intval( $mainframe-&gt;getUserStateFromRequest( "viewlistlimit", 'limit', $mosConfig_list_limit ) );</pre>
<p>And change $mosConfig_list_limit to any number of products per page.</p>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/07/17/how-to-set-products-per-page-limit-in-virtuemart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional comments for Internet Explorer</title>
		<link>http://fragov.com/blog/2009/07/17/conditional-comments-for-internet-explorer/</link>
		<comments>http://fragov.com/blog/2009/07/17/conditional-comments-for-internet-explorer/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 01:25:29 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=55</guid>
		<description><![CDATA[Conditional comments only work in Explorer on Windows, and are thus excellently suited to give special instructions meant only for Explorer on Windows. They are supported from Explorer 5 onwards, and it is even possible to distinguish between 5.0, 5.5 and 6.0.
&#60;!--[if IE]&#62;
According to the conditional comment this is Internet Explorer&#60;br /&#62;
&#60;![endif]--&#62;
&#60;!--[if IE 5]&#62;
According to [...]]]></description>
			<content:encoded><![CDATA[<p>Conditional comments only work in Explorer on Windows, and are thus excellently suited to give special instructions meant only for Explorer on Windows. They are supported from Explorer 5 onwards, and it is even possible to distinguish between 5.0, 5.5 and 6.0.<span id="more-55"></span></p>
<pre class="html" name="code">&lt;!--[if IE]&gt;
According to the conditional comment this is Internet Explorer&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 5]&gt;
According to the conditional comment this is Internet Explorer 5&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 5.0]&gt;
According to the conditional comment this is Internet Explorer 5.0&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 5.5]&gt;
According to the conditional comment this is Internet Explorer 5.5&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 6]&gt;
According to the conditional comment this is Internet Explorer 6&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 7]&gt;
According to the conditional comment this is Internet Explorer 7&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if gte IE 5]&gt;
According to the conditional comment this is Internet Explorer 5 and up&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if lt IE 6]&gt;
According to the conditional comment this is Internet Explorer lower than 6&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if lte IE 5.5]&gt;
According to the conditional comment this is Internet Explorer lower or equal to 5.5&lt;br /&gt;
&lt;![endif]--&gt;
&lt;!--[if gt IE 6]&gt;
According to the conditional comment this is Internet Explorer greater than 6&lt;br /&gt;
&lt;![endif]--&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/07/17/conditional-comments-for-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution for Shipper List bug(error) in VirtueMart(Joomla) Admin Panel</title>
		<link>http://fragov.com/blog/2009/07/15/solution-for-shipper-list-bugerror-in-virtuemartjoomla-admin-panel/</link>
		<comments>http://fragov.com/blog/2009/07/15/solution-for-shipper-list-bugerror-in-virtuemartjoomla-admin-panel/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 13:54:12 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[shipper list]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[virtuemart]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=52</guid>
		<description><![CDATA[Guys from VirtueMart Development Team still didn&#8217;t fix next error:
Warning: Missing argument 2 for vmGet(), called in &#8230;/administrator/components/com_virtuemart/classes/ps_shipping.php on line 138 and defined in &#8230;/administrator/components/com_virtuemart/classes/request.class.php on line 26
Fix is next:
Go to: administrator/components/com_virtuemart/classes/ps_shipping.php
change the WRONG line 113:
($fields = array( 'shipping_carrier_name' =&#62; vmGet($d["shipping_carrier_name"]),)
with this line:
$fields = array( 'shipping_carrier_name' =&#62; vmGet($d, 'shipping_carrier_name'),
]]></description>
			<content:encoded><![CDATA[<p>Guys from VirtueMart Development Team still didn&#8217;t fix next error:</p>
<blockquote><p>Warning: Missing argument 2 for vmGet(), called in &#8230;/administrator/components/com_virtuemart/classes/ps_shipping.php on line 138 and defined in &#8230;/administrator/components/com_virtuemart/classes/request.class.php on line 26</p></blockquote>
<p>Fix is next:<span id="more-52"></span><br />
<strong>Go to:</strong> administrator/components/com_virtuemart/classes/ps_shipping.php<br />
<strong>change the WRONG line 113</strong>:</p>
<pre name="code" class="php">($fields = array( 'shipping_carrier_name' =&gt; vmGet($d["shipping_carrier_name"]),)</pre>
<p><strong>with this line</strong>:</p>
<pre name="code" class="html">$fields = array( 'shipping_carrier_name' =&gt; vmGet($d, 'shipping_carrier_name'),</pre>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/07/15/solution-for-shipper-list-bugerror-in-virtuemartjoomla-admin-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE Error: cannot open the internet site, operation aborted</title>
		<link>http://fragov.com/blog/2009/06/24/ie-error-cannot-open-the-internet-site-operation-aborted/</link>
		<comments>http://fragov.com/blog/2009/06/24/ie-error-cannot-open-the-internet-site-operation-aborted/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 04:08:17 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=50</guid>
		<description><![CDATA[It&#8217;s error arises then JavaScript trying to add elements in existing DOM-structure.
Check this example:
&#60;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"&#62;
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;Internet Explorer: Operation Aborted. Sample error.&#60;/title&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;table&#62;
&#60;script&#62;
document.body.appendChild(document.createElement('div'))
&#60;/script&#62;
&#60;/table&#62;
&#60;/body&#62;
&#60;/html&#62;
There are two ways to avoid this:

Run script in windows.onload function:
&#60;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"&#62;
 &#60;html&#62;
 &#60;head&#62;
   &#60;title&#62;Internet Explorer: Operation Aborted. Sample solution.&#60;/title&#62;
   &#60;/head&#62;    [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s error arises then JavaScript trying to add elements in existing DOM-structure.<span id="more-50"></span><br />
Check this example:</p>
<pre name="code" class="html">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Internet Explorer: Operation Aborted. Sample error.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;table&gt;
&lt;script&gt;
document.body.appendChild(document.createElement('div'))
&lt;/script&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>There are two ways to avoid this:</p>
<ol>
<li>Run script in windows.onload function:
<pre class="html" name="code">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;
 &lt;html&gt;
 &lt;head&gt;
   &lt;title&gt;Internet Explorer: Operation Aborted. Sample solution.&lt;/title&gt;
   &lt;/head&gt;    &lt;body&gt;
   &lt;ul&gt;
      &lt;script&gt;
       window.onload = function(){
        document.body.appendChild(document.createElement('div'))
      }
  &lt;/script&gt;
  &lt;/ul&gt;
 &lt;/body&gt;
 &lt;/html&gt;</pre>
</li>
<li>Or add to javascript tag parameter defer=&#8221;defer&#8221;:
<pre name="code" class="html">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;
&lt;html&gt;
 &lt;head&gt;
  &lt;title&gt;Internet Explorer: Operation Aborted. Sample error.&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;table&gt;
    &lt;script defer="defer"&gt;
     document.body.appendChild(document.createElement('div'))
      &lt;/script&gt;
    &lt;/table&gt;
  &lt;/body&gt;
 &lt;/html&gt;</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/06/24/ie-error-cannot-open-the-internet-site-operation-aborted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notepad++ Settings and Zend Studio style (colors)</title>
		<link>http://fragov.com/blog/2009/05/19/notepad-settings-and-zend-studio-style-colors/</link>
		<comments>http://fragov.com/blog/2009/05/19/notepad-settings-and-zend-studio-style-colors/#comments</comments>
		<pubDate>Tue, 19 May 2009 10:48:44 +0000</pubDate>
		<dc:creator>fragov</dc:creator>
				<category><![CDATA[file_archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[notepad++]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[styler]]></category>

		<guid isPermaLink="false">http://fragov.com/blog/?p=47</guid>
		<description><![CDATA[I tried to make look of Notepad++ like Zend Studio 3-5 as close as possible.
Download
]]></description>
			<content:encoded><![CDATA[<p>I tried to make look of Notepad++ like Zend Studio 3-5 as close as possible.<br />
<a href='http://fragov.com/blog/wp-content/uploads/2009/05/notepad_settingstar.gz'>Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fragov.com/blog/2009/05/19/notepad-settings-and-zend-studio-style-colors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
