<?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>Vlad Vornicu</title>
	<atom:link href="http://www.vladvornicu.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vladvornicu.ro</link>
	<description>About me &#124; My Portfolio &#124; Blog &#124; Contact</description>
	<lastBuildDate>Tue, 03 Aug 2010 13:28:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to check if a post has gallery WordPress</title>
		<link>http://www.vladvornicu.ro/how-to-check-if-a-post-has-gallery-wordpress/</link>
		<comments>http://www.vladvornicu.ro/how-to-check-if-a-post-has-gallery-wordpress/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 13:18:47 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress (wp)]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[get_the_content()]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=267</guid>
		<description><![CDATA[I needed for a wordpress project to found out if a post has gallery inserted. I did a quick research and didn&#8217;t found anything that could help me (or maybe I searched wrong)&#8230; I thought wordpress has a function that should check if a post has gallery or not, like &#8220;has_post_thumbnail()&#8221;. Ok&#8230; so here is [...]]]></description>
			<content:encoded><![CDATA[<p>I needed for a wordpress project to found out if a post has gallery inserted. I did a quick research and didn&#8217;t found anything that could help me (or maybe I searched wrong)&#8230; I thought wordpress has a function that should check if a post has gallery or not, like &#8220;has_post_thumbnail()&#8221;. Ok&#8230; so here is the simple solution I could make</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$check_gallery</span> <span style="color: #339933;">=</span> <span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span>get_the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'[gallery'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$check_gallery</span> <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;this post doesn't have a gallery&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;this post has gallery&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/how-to-check-if-a-post-has-gallery-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contact Form 7 validation with default values</title>
		<link>http://www.vladvornicu.ro/contact-form-7-validation-with-default-values/</link>
		<comments>http://www.vladvornicu.ro/contact-form-7-validation-with-default-values/#comments</comments>
		<pubDate>Thu, 06 May 2010 15:36:47 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Wordpress (wp)]]></category>
		<category><![CDATA[contact form 7]]></category>
		<category><![CDATA[default values]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=255</guid>
		<description><![CDATA[Just another contact form plugin. Simple but flexible. Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on. You can get it from http://contactform7.com/ Ok&#8230; that&#8217;s enough with the introduction. I [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Just another contact form plugin. Simple but flexible.</p>
<p>Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.</p></blockquote>
<p>You can get it from <a href="http://contactform7.com/">http://contactform7.com/</a></p>
<p>Ok&#8230; that&#8217;s enough with the introduction. I saw that many guys that use this wp plugin have a problem with the validation when they add default values to their inputs. So&#8230; I wrote down a simple solution for their problem.</p>
<p>Go to the plugin folder -&gt; modules -&gt; text.php and search for the function <em>wpcf7_text_validation_filter</em><em> </em>(that is around line 107). Now, insert into the function the following lines</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$values</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$tag</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'values'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Value</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">is_a</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$wpcf7_contact_form</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'WPCF7_ContactForm'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$wpcf7_contact_form</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>is_posted<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
       <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_wpcf7_mail_sent'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_wpcf7_mail_sent'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ok'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span>
              <span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
       <span style="color: #b1b100;">else</span>
              <span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> stripslashes_deep<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$name</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
       <span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$values</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$values</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$name</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$values</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$name</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span></pre></div></div>

<p>And that should solve your contact form validation problem. Let me know if I did something wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/contact-form-7-validation-with-default-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check if the scrollbar is visible</title>
		<link>http://www.vladvornicu.ro/how-to-check-if-the-scrollbar-is-visible/</link>
		<comments>http://www.vladvornicu.ro/how-to-check-if-the-scrollbar-is-visible/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 12:57:44 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[scroll bar]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=243</guid>
		<description><![CDATA[Don&#8217;t know if somebody needs this, but I had to use it. Let&#8217;s say you want to find out if your page has a scroll bar. We will use a simple jQuery function that will return true if the scroll bar is visible and false if not. function checkScrollBar&#40;&#41; &#123; var hContent = $&#40;&#34;body&#34;&#41;.height&#40;&#41;; // [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t know if somebody needs this, but I had to use it. Let&#8217;s say you want to find out if your page has a scroll bar. We will use a simple jQuery function that will return <strong>true</strong> if the scroll bar is visible and <strong>false</strong> if not.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> checkScrollBar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> hContent <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// get the height of your content</span>
    <span style="color: #003366; font-weight: bold;">var</span> hWindow <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// get the height of the visitor's browser window</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>hContent<span style="color: #339933;">&gt;</span>hWindow<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// if the height of your content is bigger than the height of the browser window, we have a scroll bar</span>
        <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>    
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Note. I didn&#8217;t have time to test this function. You can do it for me and notify if I did something wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/how-to-check-if-the-scrollbar-is-visible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Radio button on Opera Mini</title>
		<link>http://www.vladvornicu.ro/radio-button-on-opera-mini/</link>
		<comments>http://www.vladvornicu.ro/radio-button-on-opera-mini/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:47:14 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Html/Css]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[method POST]]></category>
		<category><![CDATA[opera mini]]></category>
		<category><![CDATA[radio]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=229</guid>
		<description><![CDATA[Recently, I had to make a form where you had to choose some answers. I said: &#8220;no problem&#8221;. (btw I had to make it work on opera mini). I made the form with the input radio in it &#60;form action=&#34;saveForm.php&#34; method=&#34;POST&#34; name=&#34;question&#34;&#62; &#60;label for=&#34;answer&#34;&#62;Do you like my opera mini webpage?&#60;/label&#62; &#60;input type=&#34;radio&#34; name=&#34;answer&#34; value=&#34;1&#34;&#62; Yes [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I had to make a form where you had to choose some answers. I said: &#8220;no problem&#8221;. (btw I had to make it work on opera mini). I made the form with the input radio in it</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;saveForm.php&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;POST&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;question&quot;</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;answer&quot;</span>&gt;</span>Do you like my opera mini webpage?<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;answer&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1&quot;</span>&gt;</span> Yes <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">br</span><span style="color: #66cc66;">/</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;answer&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span>&gt;</span> No
&nbsp;
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Submit&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></div></div>

<p>and I tested. Surprize, the radio buttons didn&#8217;t work on opera mini.</p>
<p>I searched on Google for a solution&#8230;but didn&#8217;t find anything about radio button on opera mini (or maybe I didn&#8217;t search well). I made my own solution&#8230;it isn&#8217;t a great idea, but it works.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Do you like my opera mini webpage?<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;saveForm.php&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;POST&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;answer1&quot;</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;question&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1&quot;</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript: document.answer1.submit();&quot;</span>&gt;</span>Yes<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;saveForm.php&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;POST&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;answer2&quot;</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;question&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript: document.answer2.submit();&quot;</span>&gt;</span>No<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></div></div>

<p>I hope it will be useful for someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/radio-button-on-opera-mini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to improve your webpage with jQuery</title>
		<link>http://www.vladvornicu.ro/how-to-improve-your-webpage-with-jquery/</link>
		<comments>http://www.vladvornicu.ro/how-to-improve-your-webpage-with-jquery/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 12:47:57 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[html. css]]></category>
		<category><![CDATA[script latest jquery]]></category>
		<category><![CDATA[show message]]></category>
		<category><![CDATA[simple webpage]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=217</guid>
		<description><![CDATA[I&#8217;ll share my few knowlege about jQuery. I&#8217;m not an expert on jQuery, I&#8217;m still learning how to use jQuery. Ok let&#8217;s say you have a simple webpage, without animation, without nothing. Only the (x)html and the css stuff. First you have to add in your html file (between &#60;head&#62; and &#60;/head&#62;) the following line [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll share my few knowlege about jQuery. I&#8217;m not an expert on jQuery, I&#8217;m still learning how to use jQuery.</p>
<p>Ok let&#8217;s say you have a simple webpage, without animation, without nothing. Only the (x)html and the css stuff.</p>
<p>First you have to add in your html file (between &lt;head&gt; and &lt;/head&gt;) the following line</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://code.jquery.com/jquery-latest.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Ok, this is how we get the latest version of the jQuery library.Now&#8230; let&#8217;s see. You want to show a message when somebody click on a button or a link. Let&#8217;s say you have a page that is under construction and you don&#8217;t want the visitor to get there before it&#8217;s ready.Also you don&#8217;t want him to reload the page for nothing to see. What you have to do: add an id for the link or button and a div that it will hidden until the visitor clicks the link.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;underConstruction&quot;</span>&gt;</span>Services<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;showMessage&quot;</span>&gt;</span>Sorry, but this page is under construction<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>Now&#8230;let&#8217;s bring jQuery in our code. Add the following lines after the body:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
       $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.showMessage&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//here we will hide our message</span>
&nbsp;
       $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#underConstruction&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
              $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.showMessage&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;color&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;red&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//we made the message text red</span>
&nbsp;
              $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.showMessage&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//here we will show the message after the visitor clicks on the link</span>
&nbsp;
       <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>I know, it&#8217;s looks like a piece of nothing for the guys who know jQuery but I know that on the internet are guys who are looking for this simple code. Ok, if you don&#8217;t understand my version, you can also check the documentation from jquery.com where you have more details. I hope it will help somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/how-to-improve-your-webpage-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lack of professionalism</title>
		<link>http://www.vladvornicu.ro/lack-of-professionalism/</link>
		<comments>http://www.vladvornicu.ro/lack-of-professionalism/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:17:40 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Host]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[clients]]></category>
		<category><![CDATA[hosting company]]></category>
		<category><![CDATA[live support]]></category>
		<category><![CDATA[professionalism]]></category>
		<category><![CDATA[support ticket]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=203</guid>
		<description><![CDATA[I have been hosting some of clients project on a hosting company (I don&#8217;t want to give names, I&#8217;m not such a bad guy). Well, until today I thought they were a professional hosting company, but their not. 2-3 days ago, I bought from them another 3 hosts and 3 domains. Everything had gone well, [...]]]></description>
			<content:encoded><![CDATA[<p>I have been hosting some of clients project on a hosting company (I don&#8217;t want to give names, I&#8217;m not such a bad guy). Well, until today I thought they were a professional hosting company, but their not. 2-3 days ago, I bought from them another 3 hosts and 3 domains. Everything had gone well, until I had some little problems with 2 of the hosts. I accessed their homepage and clicked on Live Support. After 5 minutes of waiting, a guy says: &#8220;Hi, how can I help you?&#8221;, in my mind (&#8220;Finally, somebody who I can talk my problems with&#8221;). I started writing what&#8217;s bodering me&#8230; I wrote, I wrote and I wrote, then suddenly the guy left the chat and the live support goes offline. Beautiful, this is how a big company treats their clients.</p>
<p>Ok, maybe they have an excuse (the internet connection went off). I went to the Support Ticket where I started writting AGAIN my problems, I set the priority: <span style="color: #ff0000;">critical<span style="color: #888888;">. </span></span></p>
<p><span style="color: #ff0000;"><span style="color: #888888;">It&#8217;s been about an hour and half since I submitted my ticket and still NO ANSWER from the &#8220;BIG&#8221; HOSTING COMPANY. If I have submitted the ticket off schedule, it weren&#8217;t a problem, but I submitted on their work time and what they did is unprofessional.</span></span></p>
<p><span style="color: #ff0000;"><span style="color: #888888;">I hope their answer my ticket until tomorrow or maybe next week when I&#8217;ll have no clients to work for. </span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/lack-of-professionalism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time lost on Twitter</title>
		<link>http://www.vladvornicu.ro/time-lost-on-twitter/</link>
		<comments>http://www.vladvornicu.ro/time-lost-on-twitter/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 21:47:22 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[companies]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[TweetDeck]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=189</guid>
		<description><![CDATA[I was wondering how much time does a &#8220;twitter man&#8221; lose with reading and writting on Twitter. I have 59 people that I follow and still I can&#8217;t read all their tweets. How the heck does a person follow ~ 200. I don&#8217;t talk about the bots or the companies that &#8216;follow&#8217; ~1000-2000 only because [...]]]></description>
			<content:encoded><![CDATA[<p>I was wondering how much time does a &#8220;twitter man&#8221; lose with reading and writting on Twitter. I have 59 people that I follow and still I can&#8217;t read all their tweets. How the heck does a person follow ~ 200. I don&#8217;t talk about the bots or the companies that &#8216;follow&#8217; ~1000-2000 only because they need to be followed back and then tweet comercials. I talk about real persons who manage to read all and still have time do their jobs.</p>
<p>I recently installed TweetDeck, which is a very good application for receiving and sending tweets. After installing it I almost managed to read all the tweets but when I see the tweet on the top right corner, I lose my concentration on my work.  This isn&#8217;t a good thing. I&#8217;ll keep that application for a week and see what are the results.</p>
<p>Ok, that&#8217;s all for now. See you on the next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/time-lost-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Y!Messenger Pingbox</title>
		<link>http://www.vladvornicu.ro/ymessenger-pingbox/</link>
		<comments>http://www.vladvornicu.ro/ymessenger-pingbox/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 19:48:46 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Pingbox]]></category>
		<category><![CDATA[Y!Messenger]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=178</guid>
		<description><![CDATA[Well, that&#8217;s a very nice application from Yahoo, but still the script is not well done. For example: I thought it will be a good ideea to put it on my webpage. So that I can have a fast communication with my visitors. It seems that I can talk only with visitors who use anything [...]]]></description>
			<content:encoded><![CDATA[<p>Well, that&#8217;s a very nice application from Yahoo, but still the script is not well done. For example: I thought it will be a good ideea to put it on my webpage. So that I can have a fast communication with my visitors. It seems that I can talk only with visitors who use anything else beside Firefox (3.0) or Chrome (3.o). This sucks.</p>
<p>I searched on Google and I found out that if you open a new tab in the browsers mentioned above and launch yahoo.com, after that you reload vladvornicu.ro. Voila, the Y!Messenger Pingbox appears.</p>
<p>So if you don&#8217;t see the Pingbox in the 3rd column, you can give it a try. Tell me the result in a comment.</p>
<p>// Update</p>
<p>I took out the Y!Messenger Pingbox because it&#8217;s annoying me to know that not all my visitors can see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/ymessenger-pingbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to my Blog</title>
		<link>http://www.vladvornicu.ro/welcome-to-my-blog/</link>
		<comments>http://www.vladvornicu.ro/welcome-to-my-blog/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 22:22:48 +0000</pubDate>
		<dc:creator>Vlad Vornicu</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.vladvornicu.ro/?p=129</guid>
		<description><![CDATA[Hi there, I want to thank for the nice theme from SmashingMagazine and Slimmity. I didn&#8217;t have enough time to personalise my own. I talked to my roommate and he promised me a new theme soon. Ok that&#8217;s all with the thanks. I needed to create this personal project because many people asked me if I [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>I want to thank for the nice theme from <a href="http://smashingmagazine.com/" target="_blank">SmashingMagazine</a> and <a href="http://slimmity.com/" target="_blank">Slimmity</a>. I didn&#8217;t have enough time to personalise my own. I talked to my roommate and he promised me a new theme soon.</p>
<p>Ok that&#8217;s all with the thanks.</p>
<p>I needed to create this personal project because many people asked me if I have a portfolio or a blog.  So, from now on I HAVE. I want to put here some of my experiences from my personal life or from my work.</p>
<p>That&#8217;s all for the first post.</p>
<p>By the way, you can follow me on Twitter -&gt; <a href="http://twitter.com/vladvornicu" target="_blank">http://twitter.com/vladvornicu</a></p>
<p>or you can see my Facebook -&gt; <a href="http://www.facebook.com/people/Vlad-Vornicu/100000570526618" target="_blank">http://www.facebook.com/people/Vlad-Vornicu/100000570526618</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vladvornicu.ro/welcome-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
