title: fade in div inside php using javascript after delay on page load?
body: <p>Hi does anyone know if you can control a div thats encased in php like the one below?</p>
  
  <p>I want to try and find a way of using javascript to fade the div in after a 3 second delay when the page loads?</p>
  
  <p>Can anyone show me a way of doing this?</p>
  
  <p>i would imagine its something like this:</p>
  
  <pre><code>&lt;script&gt;
  
  jQuery(document).ready(function($){ 
  $('.dashboard_intro').hide().delay(2000).fadeIn(2000); 
  $('.dashboard_intro_arrow').hide().delay(2000).fadeIn(2000); 
  $('.dashboard_intro_text').hide().delay(2000).fadeIn(2000);  
  $('.exit_intro').hide().delay(2000).fadeIn(2000);  
  
  });
  
  &lt;/SCRIPT&gt;
  
  
  &lt;?php
  
  $dashboard_intro = dashboard_intro();
  while ($intro = mysql_fetch_array($dashboard_intro)) 
  if ($intro['dashboard_intro'] == '0')  {
      echo "&lt;div class=\"dashboard_intro_arrow\"&gt;&lt;/div&gt;&lt;div class=\"dashboard_intro\"&gt;&lt;/div&gt;&lt;div class=\"dashboard_intro_text\"&gt;&lt;strong&gt;Welcome to Your Dashboard&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;These are your tools: Check Messages, Reviews &amp; more.&lt;/div&gt;&lt;div class=\"exit_intro\"&gt;&lt;/div&gt;";
  } ?&gt;
  </code></pre>