<?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>ItHowTo.ro &#187; Javascript</title>
	<atom:link href="http://www.ithowto.ro/category/web-programming/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ithowto.ro</link>
	<description>Blog about IT realated stuff by WSS</description>
	<lastBuildDate>Tue, 06 Jul 2010 16:35:28 +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>Error:  data.dircontent is undefined [***] plugins/Archiv/php/fileLoader.php?file=javascript 165 tinymce archiv</title>
		<link>http://www.ithowto.ro/2010/03/error-data-dircontent-is-undefined-pluginsarchivphpfileloader-phpfilejavascript-165-tinymce-archiv/</link>
		<comments>http://www.ithowto.ro/2010/03/error-data-dircontent-is-undefined-pluginsarchivphpfileloader-phpfilejavascript-165-tinymce-archiv/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 07:54:18 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Archiv]]></category>
		<category><![CDATA[tinyMce]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=133</guid>
		<description><![CDATA[I really needed a file and image manager plugin for tinyMCE. As most of you know the official tinyMCE file manager isn&#8217;t free so after a few searches i ran over Archiv. Archiv is a very nice and free image manager. You can find the official website here.
The plugin is easy to integrate but a [...]]]></description>
			<content:encoded><![CDATA[<p>I really needed a file and image manager plugin for tinyMCE. As most of you know the official tinyMCE file manager isn&#8217;t free so after a few searches i ran over Archiv. Archiv is a very nice and free image manager. You can find the official website <a href="http://archiv.pwnd.nl/" target="_blank">here</a>.</p>
<p>The plugin is easy to integrate but a little tricky to configure. There are 2 places where you need to edit:</p>
<p>1) The tinyMCE init function where you&#8217;ll have to add:</p>
<p><em>tinyMCE.init({<br />
mode : &#8220;textareas&#8221;,<br />
theme : &#8220;advanced&#8221;,<br />
plugins : &#8220;Archiv&#8221;,<br />
Archiv_settings_file : &#8220;/abs/path/to/config.php&#8221;,<br />
theme_advanced_buttons1_add : &#8220;Archiv_files,Archiv_images&#8221;<br />
});</em><br />
2) The config file of the plugin in which the paths are required to be full paths not relative but i&#8217;ve tricked them like this:</p>
<p><em># full path to upload files to and show files from<br />
&#8216;upload_path&#8217;            =&gt; $_SERVER['DOCUMENT_ROOT']. &#8216;uploaded/&#8217;,<br />
# full URI to upload directory<br />
&#8216;upload_uri&#8217;            =&gt; &#8216;http://&#8217;. $_SERVER['HTTP_HOST']. &#8216;/uploaded/&#8217;,</em></p>
<p>This should get you up and running. Tune the rest of the config options to suit your needs and enjoy this wonderful plugin. Many thanks to the authors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2010/03/error-data-dircontent-is-undefined-pluginsarchivphpfileloader-phpfilejavascript-165-tinymce-archiv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Website Preloader</title>
		<link>http://www.ithowto.ro/2008/12/javascript-website-preloader/</link>
		<comments>http://www.ithowto.ro/2008/12/javascript-website-preloader/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 08:43:36 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[javascript website preloader]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=16</guid>
		<description><![CDATA[Here&#8217;s a nice java based website preloader I found recently. I needed it for a project and I think this might be useful to others too. Credits for this go to USINGIT.COM.
So here&#8217;s how you should use it :
Copy the following lines in to the header of the webpage:
&#60;SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&#62;
&#60;!&#8211; Begin
function clearPreloadPage() { //DOM
if (document.getElementById){
document.getElementById(&#8216;prepage&#8217;).style.visibility=&#8217;hidden&#8217;;
}else{
if [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a nice java based website preloader I found recently. I needed it for a project and I think this might be useful to others too. Credits for this go to USINGIT.COM.</p>
<p>So here&#8217;s how you should use it :</p>
<p>Copy the following lines in to the header of the webpage:</p>
<p><strong>&lt;SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&gt;</strong></p>
<p><strong>&lt;!&#8211; Begin<br />
function clearPreloadPage() { //DOM<br />
if (document.getElementById){<br />
document.getElementById(&#8216;prepage&#8217;).style.visibility=&#8217;hidden&#8217;;<br />
}else{<br />
if (document.layers){ //NS4<br />
document.prepage.visibility = &#8216;hidden&#8217;;<br />
}<br />
else { //IE4<br />
document.all.prepage.style.visibility = &#8216;hidden&#8217;;<br />
}<br />
}<br />
}<br />
// End &#8211;&gt;<br />
&lt;/SCRIPT&gt;</strong></p>
<p>Now add this to you body tag:</p>
<p><strong>&lt;BODY onLoad=&#8221;clearPreloadPage();&#8221;&gt;</strong></p>
<p>Then, in the body of the actual website, add the following that will display a loading message until the content of yout page is fully loaded.</p>
<p><strong> &lt;div id=&#8221;prepage&#8221; style=&#8221;position:absolute; font-family:arial; font-size:16; left:0px;top:0px; background-image:url(images/mainBg.gif); background-repeat:repeat; height:100%; width:100%;&#8221;&gt;<br />
&lt;div style=&#8221;padding-top:350px; text-align:center;&#8221;&gt;&lt;img src=&#8221;images/loading.gif&#8221; height=&#8221;20&#8243; width=&#8221;20&#8243; /&gt;&lt;span style=&#8221;font-size:19px; color:#000000; height:&#8221;&gt; Se Incarca&#8230;&lt;/span&gt;&lt;/div&gt;</strong></p>
<p>You can customise the first div and add your own background or whatever you want but keep its <strong>id = &#8220;prepage&#8221;</strong> and the <strong>position:absolute;</strong> <strong>left:0px;top:0px;</strong> elements in its style. Then, in the second div, place whatever text or animated gif you&#8217;d like to be displayed until the page is loaded.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2008/12/javascript-website-preloader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
