<?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>Emposha &#187; Javascript</title>
	<atom:link href="http://www.emposha.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.emposha.com</link>
	<description>Just another stupid wordpress blog ;)</description>
	<lastBuildDate>Thu, 08 Dec 2011 13:30:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>jqVideoBox v 1.5.1</title>
		<link>http://www.emposha.com/javascript/jqvideobox.html</link>
		<comments>http://www.emposha.com/javascript/jqvideobox.html#comments</comments>
		<pubDate>Tue, 24 May 2011 14:20:58 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Dailymotion]]></category>
		<category><![CDATA[Google Video]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[Mail.ru]]></category>
		<category><![CDATA[Metacafe]]></category>
		<category><![CDATA[Qip.ru]]></category>
		<category><![CDATA[Revver]]></category>
		<category><![CDATA[Rutube]]></category>
		<category><![CDATA[Smotri]]></category>
		<category><![CDATA[Veoh]]></category>
		<category><![CDATA[videobox]]></category>
		<category><![CDATA[Vimeo]]></category>
		<category><![CDATA[Vkontakte]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=351</guid>
		<description><![CDATA[jqVideoBox is jquery lightbox for videos from Youtube, Metacafe, Google Video, Dailymotion, Revver, Veoh, Vimeo, Smotri, Vkontakte, Rutube, Mail.ru, Qip.ru and custom flash.]]></description>
			<content:encoded><![CDATA[<p>jqVideoBox is jquery port of  <a href="http://videobox-lb.sourceforge.net/" target="_blank">Videobox</a> (mootools) lightbox for videos jqVideoBox is jquery lightbox for videos from Youtube, Metacafe, Google Video, Dailymotion, Revver, Veoh, Vimeo, Smotri, Vkontakte, Rutube, Mail.ru, Qip.ru and custom flash.</p>
<p><strong>Download</strong><strong>:</strong> <a href="http://github.com/emposha/jqVideoBox/archives/master" target="_blank">Download jqVideoBox v 1.5.1</a></p>
<p><strong>Demo</strong><strong>:</strong> <a href="../demo/jqvideobox/" target="_blank">Demo jqVideoBox </a></p>
<p><strong>Github:</strong> <a href="http://github.com/emposha/jqVideoBox">http://github.com/emposha/jqVideoBox</a></p>
<p><strong>Usage:</strong></p>
<blockquote><p><code><span style="color: black;">$(<span style="color: #0000ff;">document</span>).ready(<br />
<span style="color: #0000ff;">function</span>()<br />
{<br />
$(<span style="color: #a31515;">".vidbox"</span>).jqvideobox();<br />
}<br />
);</span><br />
</code></p></blockquote>
<p><strong>Parameters list:</strong></p>
<p> * width               &#8211; Width of the lightbox<br />
 * height              &#8211; Height of the lightbox<br />
 * animateCaption      &#8211; Enable/Disable caption animation<br />
 * defaultOverLayFade  &#8211; Default overlay fade value<br />
 * flvplayer           &#8211; Path to default flash player<br />
 * getimage            &#8211; Get image from service<br />
 * navigation          &#8211; Activate navigation<br />
 * thumblin            &#8211; fetch thumbnails from <a href="http://www.thumbl.in">thumbl.in</a> service (getimage need to be active, activated by default)</p>
<p><strong>Updates:</strong></p>
<p>- 1.5.1 added support for smotri.com, vkontakte.ru(hash needed), rutube.ru, video.mail.ru, video.qip.ru<br />
   thumbl.in support added, fetching thumbnails from thumbl.in</p>
<p> &#8211; 1.5 added support for dailymotion.com, blip.tv, revver.com, veoh.com, vimeo.com<br />
   added paging in specific group<br />
   some minor fixes<br />
   swfobject 2.x support added</p>
<p>- 1.00 ported from mootools plugin videbox (http://videobox-lb.sourceforge.net/) to jquery</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/jqvideobox.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>FCBKcomplete v 2.8.4</title>
		<link>http://www.emposha.com/javascript/fcbkcomplete.html</link>
		<comments>http://www.emposha.com/javascript/fcbkcomplete.html#comments</comments>
		<pubDate>Wed, 10 Nov 2010 15:39:57 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[autocomplete]]></category>
		<category><![CDATA[Fancy facebook-like input]]></category>
		<category><![CDATA[multiselect]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=202</guid>
		<description><![CDATA[Fancy facebook-like dynamic inputs with auto complete &#038; pre added values. If you have any comments or requests, please post them and I will try to include all the requested features in the upcoming release.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Fancy facebook-like dynamic inputs with auto complete &amp; pre added values. If you have any comments or requests, please post them and I will try to include all the requested features in the upcoming release.</p>
<p><strong>Download</strong><strong>:</strong> <a href="http://github.com/emposha/FCBKcomplete/archives/master" target="_blank">Download FCBKcomplete</a></p>
<p><strong>Demo</strong><strong>:</strong> <a href="http://www.emposha.com/demo/fcbkcomplete_2/" target="_blank">Demo FCBKcomplete</a></p>
<p><strong>GitHub: <span style="font-weight: normal;"><a href="http://github.com/emposha/FCBKcomplete" target="_blank">http://github.com/emposha/FCBKcomplete </a></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong>Dot.Net: </strong></span></strong><a href="http://kostab.blogspot.com/2010/12/fancy-facebook-like-auto-complete-using.html" target="_blank">http://kostab.blogspot.com/2010/12/fancy-facebook-like-auto-complete-using.html</a></p>
<p style="text-align: center;"><span style="color: #ff0000;"><strong>Please use github for bug report</strong></span></p>
<p><strong>Usage:</strong></p>
<blockquote><p><code><span style="color: black;">$(<span style="color: #a31515;">"element"</span>).fcbkcomplete({<br />
json_url: <span style="color: #a31515;">"fetched.txt"</span>,<br />
cache: <span style="color: #0000ff;">true</span>,<br />
filter_case: <span style="color: #0000ff;">true</span>,<br />
filter_hide: <span style="color: #0000ff;">true</span>,<br />
newel: <span style="color: #0000ff;">true</span><br />
});</span><br />
</code></p></blockquote>
<p>json_url                   - url to fetch json object<br />
cache                        - use cache<br />
height                       - maximum number of element shown before scroll will apear<br />
newel                        - show typed text like a element<br />
addontab         &#8211; add first show element on tab or enter hit<br />
firstselected          - automaticly select first element from dropdown<br />
filter_case              - case sensitive filter<br />
filter_hide              - show/hide filtered items<br />
filter_selected      - filter selected items from list<br />
complete_text     - text for complete page<br />
maxshownitems - maximum numbers that will be shown at dropdown list (less better performance)<br />
maxitems              - maximum item that can be added to the list<br />
onselect                 - fire event on item select<br />
onremove             - fire event on item remove<br />
delay                     <span style="white-space: pre;"> <span style="white-space: normal;">-</span></span> delay between ajax request (bigger delay, lower server time request)<br />
attachto         &#8211; after this element fcbkcomplete insert own elements<br />
bricket          &#8211; use square bricket with select (needed for asp or php) enabled by default</p>
<p><strong>Add item public method </strong>(how to use)<strong>:<br />
<span style="font-weight: normal;">$(&#8220;elem&#8221;).trigger(&#8220;addItem&#8221;,[{"title": "test", "value": "test"}]);</span></strong></p>
<p><strong>Updates:</strong></p>
<p> &#8211; 2.8.4 cache object fix by @tedberg</p>
<p> &#8211; 2.8.3 no more eval use<br />
* public function addItem and removeItem fix (thanks to Yaron)</p>
<p> &#8211; 2.8.2  json_cache bug fix<br />
* new option added &#8220;bricket&#8221;<br />
* newel bug fix thanks to Matt</p>
<p> &#8211; 2.8.1  some minor bug fixes<br />
* added selected attribute to preselected option thanks to @musketyr<br />
* fixed cache entry with space thanks to Matt</p>
<p> &#8211; 2.8.0  bug fixes<br />
* added jquery 1.6 support please note that old versions of jquery not supported<br />
* cache mechanizm updated</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/fcbkcomplete.html/feed</wfw:commentRss>
		<slash:comments>230</slash:comments>
		</item>
		<item>
		<title>Jquery IE crash plugin</title>
		<link>http://www.emposha.com/javascript/jquery-ie-crash-plugin.html</link>
		<comments>http://www.emposha.com/javascript/jquery-ie-crash-plugin.html#comments</comments>
		<pubDate>Thu, 01 Apr 2010 12:23:00 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=391</guid>
		<description><![CDATA[A jQuery plugin for crashing IE6. That'll teach those motherf!%@*#s to upgrade their s#*t.]]></description>
			<content:encoded><![CDATA[<p>A jQuery plugin for crashing IE6. That&#8217;ll teach those motherf!%@*#s to upgrade their s#*t.</p>
<p>more info: <a href="http://plugins.jquery.com/project/crash">http://plugins.jquery.com/project/crash</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/jquery-ie-crash-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most short method to find out if your browser is IE</title>
		<link>http://www.emposha.com/javascript/most-short-method-to-find-out-if-your-browser-is-ie.html</link>
		<comments>http://www.emposha.com/javascript/most-short-method-to-find-out-if-your-browser-is-ie.html#comments</comments>
		<pubDate>Sat, 09 Jan 2010 18:41:40 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=370</guid>
		<description><![CDATA[Only 5 byte and you can find out if it`s IE]]></description>
			<content:encoded><![CDATA[<p>Only 5 byte and you can find out if it`s IE</p>
<p>Example:</p>
<p>if(-[1,]){<br />
alert(&#8220;Not IE!&#8221;);<br />
}</p>
<p>Source: <a href="http://habrahabr.ru/blogs/javascript/80333">http://habrahabr.ru/blogs/javascript/80333</a> it`s in russian but still you can use google translate</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/most-short-method-to-find-out-if-your-browser-is-ie.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Internet Explorer &#8211; Do you want to display the nonsecure items?</title>
		<link>http://www.emposha.com/javascript/internet-explorer-do-you-want-to-display-the-nonsecure-items.html</link>
		<comments>http://www.emposha.com/javascript/internet-explorer-do-you-want-to-display-the-nonsecure-items.html#comments</comments>
		<pubDate>Thu, 17 Dec 2009 15:42:02 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[mixed content]]></category>
		<category><![CDATA[nonsecure items]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=360</guid>
		<description><![CDATA[Recently one of my friends asked me to check his e-shop on the fact that upon entering the SSL page, the buyer has received popup with message "Do you want to display the nonsecure items?" that and probably because of this message some buyers simply closes the browser window and leave the store without buying anything.]]></description>
			<content:encoded><![CDATA[<p>Recently one of my friends asked me to check his e-shop on the fact that upon entering the SSL page, the buyer has received popup with message &#8220;Do you want to display the nonsecure items?&#8221; that and probably because of this message some buyers simply closes the browser window and leave the store without buying anything.</p>
<p><span style="background-color: #ffffff;" title="Я сразу понял что скорее всего идет речь о какой нибудь забытой картинке которая обращалась напрямую конешно же согласился." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">I immediately realized that most likely this popup message refers to some sort of forgotten images that appealed directly to http path, and of course I agreed to help him. </span><span style="background-color: #ffffff;" title="Но уже через полчаса я понял что я ошибся..." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">But after half an hour I realized that I was mistaken &#8230; </span><span style="background-color: #ffffff;" title="все картинки грузулись через ССЛ." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">all images loaded via SSL and nothing was pointed to http path directly. </span><span style="background-color: #ffffff;" title="После нескольких проверок фидлером я понял что проблема не настолько проста." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">After several tests with fidler I realized that the problem is not so simple.</span></p>
<p><span style="background-color: #ffffff;" title="После нескольких проверок проблема была решена, и как назло ей оказалсь совсем банальная вещь..." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">After several tests and few cups of coffee the problem was solved, and as luck would have it proved to be quite trivial thing &#8230;<br />
When flash object added to page there several default parameters added by default like &#8220;pluginspage&#8221; or &#8220;codebase&#8221; with pointing to adobe site throw http that may be interpreted as internet explorer as a request to the HTTP page. After simple change this problem was solved. </span></p>
<p><span style="background-color: #ffffff;" title="После нескольких проверок проблема была решена, и как назло ей оказалсь совсем банальная вещь..." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">So if you encounter a similar problem simple change will help to solve this problem. For example:</span></p>
<p>from: pluginspage = &#8220;http:/ / www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&#8221;</p>
<p><span style="background-color: #ffffff;" title="После нескольких проверок проблема была решена, и как назло ей оказалсь совсем банальная вещь..." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">to: pluginspage = &#8220;/ / www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&#8221;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/internet-explorer-do-you-want-to-display-the-nonsecure-items.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help kill Internet Explorer 6</title>
		<link>http://www.emposha.com/javascript/help-kill-internet-explorer-6.html</link>
		<comments>http://www.emposha.com/javascript/help-kill-internet-explorer-6.html#comments</comments>
		<pubDate>Thu, 14 May 2009 15:24:28 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[ie sux]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[kill ie6]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=255</guid>
		<description><![CDATA[E6 is like an illness that just won’t go away, but we have the medicine. IE6 Update looks like IE’s Information Bar, but instead of offering your visitors an ActiveX plugin, it offers a browser update.]]></description>
			<content:encoded><![CDATA[<p>E6 is like an illness that just won’t go away, but we have the medicine.</p>
<p><strong><a href="http://ie6update.com/" target="_blank">IE6 Update</a> looks like IE’s Information Bar</strong>, but instead of offering your visitors an ActiveX plugin, it offers a <strong>browser update</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/help-kill-internet-explorer-6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FCBKcomplete v 1.09</title>
		<link>http://www.emposha.com/javascript/jquerymultiselect.html</link>
		<comments>http://www.emposha.com/javascript/jquerymultiselect.html#comments</comments>
		<pubDate>Wed, 25 Mar 2009 01:21:00 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Pro Counter]]></category>
		<category><![CDATA[autocomplete]]></category>
		<category><![CDATA[multiselect]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=21</guid>
		<description><![CDATA[Fancy facebook-like dynamic inputs with auto complete &#038; pre added values. If you have any comments or requests, please post them and I will try to include all the requested features in the upcoming release.]]></description>
			<content:encoded><![CDATA[<p>Fancy facebook-like dynamic inputs with auto complete &amp; pre added values. If you have any comments or requests, please post them and I will try to include all the requested features in the upcoming release.</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-24" title="16020802" src="http://www.emposha.com/wp-content/uploads/2008/09/16020802-300x92.jpg" alt="" width="300" height="92" /></p>
<h3 style="text-align: center;"><strong><span style="color: #ff0000;"><span style="text-decoration: underline;">New version of FCBKcomplete can be found </span></span></strong><a href="http://www.emposha.com/javascript/fcbkcomplete.html" target="_self"><span style="color: #ff0000;"><strong><span style="color: #ff0000;">here</span></strong></span></a></h3>
<p><strong>Download</strong><strong>:</strong> <a href="http://www.emposha.com/upload/fcbkcomplete1.09.zip" target="_blank">Download FCBKcomplete</a></p>
<p><strong>Demo</strong><strong>:</strong> <a href="http://www.emposha.com/demo/fcbkcomplete/" target="_blank">Demo FCBKcomplete</a></p>
<p><strong>Use:</strong></p>
<blockquote><p><code><span style="color: black;">&lt;script language=<span style="color: #a31515;">"JavaScript"</span>&gt;<br />
$(<span style="color: #0000ff;">document</span>).ready(<span style="color: #0000ff;">function</span>() {<br />
$.facebooklist(<span style="color: #a31515;">'#elem'</span>, <span style="color: #a31515;">'#list'</span>, <span style="color: #a31515;">'#complete'</span>,<span style="color: #a31515;"><span style="color: black;">{url:</span></span></span></code><code><span style="color: black;"><span style="color: #a31515;">'ajax-url'</span></span></code><code><span style="color: black;"><span style="color: #a31515;"><span style="color: black;">,cache:1}</span></span>, height, {userfilter:1,casesensetive:0});<br />
});<br />
&lt;/script&gt;</span></code></p>
<p><code> </code><code><span style="font-size: xx-small; color: gray;">* This source code was highlighted with <a href="http://virtser.net/blog/post/source-code-highlighter.aspx"><span style="font-size: xx-small; color: gray;">Source Code Highlighter</span></a>.</span></code></p></blockquote>
<p><strong><span style="font-weight: normal;">elem &#8211; input element id or object<br />
list &#8211; preadded elements<br />
complete &#8211; autocomplete div id or object<br />
ajax &#8211; object with two parametrs a) url to fetch json object b) use cache<br />
height &#8211; maximum number of element shown before scroll will apear<br />
filter &#8211; object with two parametrs a)case sensitive b) show/hide filtered items<br />
newel &#8211; show typed text like a element</span></strong></p>
<p><strong>Creditrs for CSS &amp; HTML structur</strong><strong>e:</strong> Guillermo (<a href="http://devthought.com" target="_blank">http://devthought.com</a>)</p>
<p style="text-align: center;"><strong> </strong></p>
<p><strong>Updates:</strong></p>
<p>- 1.09 IE crash fixed</p>
<p>- 1.08 some minor bug fixed</p>
<p>-1.07  case sensetive added<br />
applied filter to non ajax items<br />
filter algorithm changed<br />
cache for ajax request added<br />
up/down with auto scrolling<br />
minor code fixes</p>
<p>- 1.06 auto heigth fix<br />
event bind on main element for better user frendly experience<br />
filter for items<br />
up/down keys supported from now</p>
<p>- 1.05 bindEvents function fixed thanks to idgnarn</p>
<p>- Name changed to <strong>FCBKcomplete</strong></p>
<p>- 1.04 IE7 &lt;em&gt; tag replace fixed</p>
<p>- 1.03 IE7 &amp; IE6 crash fixed<br />
IE7 css fixed</p>
<p>- 1.02 json parsing fixed<br />
remove element fixed</p>
<p>- 1.01: some bugs fixed</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/jquerymultiselect.html/feed</wfw:commentRss>
		<slash:comments>105</slash:comments>
		</item>
		<item>
		<title>Cross-Domain Javascript execution library</title>
		<link>http://www.emposha.com/javascript/cross-domain-javascript-execution-library.html</link>
		<comments>http://www.emposha.com/javascript/cross-domain-javascript-execution-library.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 10:56:36 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[cross-domain]]></category>
		<category><![CDATA[crossdomain]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=165</guid>
		<description><![CDATA[In one of the projects I am faced with problem of the java scripts execution on different domains.
After advice from one of team leaders, the solution was found and it was a quite simple.]]></description>
			<content:encoded><![CDATA[<p>In one of the projects I am faced with problem of the java scripts execution on different domains.<br />
After advice from one of team leaders, the solution was found and it was a quite simple.<br />
For example, we have A domain with frame that point to domain B which is to call javascript function in domain A.<br />
If you simply call a window.parent.funcame you will get exception. So what can we do ?<br />
It is very simple &#8211; in domain B we create frame to  domain A and then we try to execute a function on domain  A as window.parent.parent.fucname and how we can see function is executed succesufully.</p>
<p>So this script does this operation automatically without requiring knowledge of java script.</p>
<p><strong>Credits: </strong>Nir Levy</p>
<p><strong>Usage:</strong></p>
<p>Domain A:</p>
<p><em>Main file:</em></p>
<blockquote><p><code><span style=" color: black; "><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">html</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">head</span><span style="color: #0000ff;">&gt;&lt;</span><span style="color: #800000;">title</span><span style="color: #0000ff;">&gt;</span>domain_a<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">title</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">head</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">body</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">script</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">function</span> showmelove(text)<br />
{<br />
alert(text);<br />
}<br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">script</span><span style="color: #0000ff;">&gt;</span><br />
... some content here ...<br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">iframe</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="hpel"</span> <span style="color: #ff0000;">height</span><span style="color: #0000ff;">="100"</span> <span style="color: #ff0000;">frameborder</span><span style="color: #0000ff;">="0"</span> <span style="color: #ff0000;">width</span><span style="color: #0000ff;">="100%"</span> <span style="color: #ff0000;">scrolling</span><span style="color: #0000ff;">="0"</span> <span style="color: #ff0000;">title</span><span style="color: #0000ff;">=""</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="http://domain_b/iframe.html"</span> <span style="color: #ff0000;">style</span><span style="color: #0000ff;">="height: 194px;"</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">iframe</span><span style="color: #0000ff;">&gt;</span><br />
... some content here ...<br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">body</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">html</span><span style="color: #0000ff;">&gt;</span> </span></code></p>
<p><code> </code><code><br />
<span style="color: gray; font-size: xx-small;">* This source code was highlighted with <a href="http://virtser.net/blog/post/source-code-highlighter.aspx"><span style="color: gray; font-size: xx-small;">Source Code Highlighter</span></a>.</span></code></p></blockquote>
<p><em>Exec file:</em></p>
<blockquote><p><code><span style=" color: black; "><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">html</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">body</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">script</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="text/javascript"</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="crossdomain_server.js"</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">script</span><span style="color: #0000ff;">&gt;</span><br />
&lt;script type=<span style="color: #a31515;">"text/javascript"</span>&gt;<br />
crossdomain.server().init();<br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">script</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">body</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">html</span><span style="color: #0000ff;">&gt;</span></span> </code></p>
<p><code> </code><code><span style="color: gray; font-size: xx-small;">* This source code was highlighted with <a href="http://virtser.net/blog/post/source-code-highlighter.aspx"><span style="color: gray; font-size: xx-small;">Source Code Highlighter</span></a>.</span></code></p></blockquote>
<p>Domain B:</p>
<blockquote><p><code><span style=" color: black; "><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">html</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">head</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">script</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="crossdomain_client.js"</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="text/javascript"</span> <span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">script</span><span style="color: #0000ff;">&gt;</span><br />
&lt;script&gt;<br />
crossdomain.client(<span style="color: #a31515;">"frame"</span>).init(<span style="color: #a31515;">"http://www.domain_a/iframe.html"</span>);</span></code></p>
<p><code> </code><code> <span style="color: #0000ff;">function</span> sendText() {<br />
crossdomain.client(<span style="color: #a31515;">"frame"</span>).callfunc(<span style="color: #a31515;">"showmelove"</span>,{mesasge: <span style="color: #a31515;">"'hello world'"</span>});<br />
}<br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">script</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">head</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">body</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="allBodyDiv"</span><span style="color: #0000ff;">&gt;</span><br />
some content goes here...<br />
<span style="color: #0000ff;">&lt;</span><span style="color: #800000;">input</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="button"</span> <span style="color: #ff0000;">value</span><span style="color: #0000ff;">="send"</span> <span style="color: #ff0000;">onclick</span><span style="color: #0000ff;">="sendText()"</span> <span style="color: #0000ff;">/&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">body</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">html</span><span style="color: #0000ff;">&gt;</span> </code></p>
<p><code> </code><code><span style="color: gray; font-size: xx-small;">* This source code was highlighted with <a href="http://virtser.net/blog/post/source-code-highlighter.aspx"><span style="color: gray; font-size: xx-small;">Source Code Highlighter</span></a>.</span></code></p></blockquote>
<p><strong>Download</strong><strong>: <span style="font-weight: normal;"><a href="http://www.emposha.com/upload/crossdomain.zip" target="_blank">CrossDomain</a></span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/cross-domain-javascript-execution-library.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The shortest way to determine IE browser</title>
		<link>http://www.emposha.com/javascript/the-shortest-way-to-determine-ie-browser.html</link>
		<comments>http://www.emposha.com/javascript/the-shortest-way-to-determine-ie-browser.html#comments</comments>
		<pubDate>Thu, 29 Jan 2009 09:40:55 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=161</guid>
		<description><![CDATA[Very nice feature to find out what browser you use.]]></description>
			<content:encoded><![CDATA[<p>Very nice feature to find out what browser you use.</p>
<p><strong>Way to use:</strong></p>
<blockquote><p><code><span style="font-family: 'Courier New'; color: black; font-size: x-small;">&lt;script type=<span style="color: #a31515;">"text/javascript"</span>&gt;<br />
<span style="color: #0000ff;">var</span> IE=<span style="color: #a31515;">'\v'</span>==<span style="color: #a31515;">'v'</span>;<br />
<span style="color: #0000ff;">if</span>(IE) {<br />
<span style="color: #008000;">//ie code here</span><br />
}<br />
&lt;/script&gt;</span></code></p>
<p><code> </code><code><span style="color: gray; font-size: xx-small;">* This source code was highlighted with <a href="http://virtser.net/blog/post/source-code-highlighter.aspx"><span style="color: gray; font-size: xx-small;">Source Code Highlighter</span></a>.</span></code></p></blockquote>
<p>All credits go to <a href="http://webreflection.blogspot.com/2009/01/32-bytes-to-know-if-your-browser-is-ie.html">WebReflection blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/the-shortest-way-to-determine-ie-browser.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nice ajax preloaders</title>
		<link>http://www.emposha.com/javascript/nice-ajax-preloaders.html</link>
		<comments>http://www.emposha.com/javascript/nice-ajax-preloaders.html#comments</comments>
		<pubDate>Thu, 29 Jan 2009 09:30:37 +0000</pubDate>
		<dc:creator>emposha</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[animated preloader]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[preloader]]></category>

		<guid isPermaLink="false">http://www.emposha.com/?p=156</guid>
		<description><![CDATA[preloaders.net - new service that help generate ajax preloaders. The main difference from other similar sites, it is accessibility, and a large selection of settings]]></description>
			<content:encoded><![CDATA[<p> </p>
<p><a href="http://preloaders.net/">preloaders.net</a> - new service that help generate ajax preloaders. The main difference from other similar sites, it is accessibility, and a large selection of settings</p>
<p> </p>
<div id="attachment_157" class="wp-caption aligncenter" style="width: 187px"><a href="http://www.emposha.com/wp-content/uploads/2009/01/2009-01-29_111854.jpg"><img class="size-medium wp-image-157" title="2009-01-29_111854" src="http://www.emposha.com/wp-content/uploads/2009/01/2009-01-29_111854.jpg" alt="3d preloaders" width="177" height="191" /></a><p class="wp-caption-text">3d preloaders</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.emposha.com/javascript/nice-ajax-preloaders.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

