Tags » Isengart

jquery make an animated menu that animates the main body also

im trying to learn some jquery so i wanted to make a responsive menu.
The menu is currently “hidden” (-250px left from body) and i have an image, so i want when i click the image the #menu div get animated 250px from left ( so it will get shown at main page) and the main body get animated also 250px left (something like #menu push the body 250px). 135 more words

Recent Questions - Stack Overflow

Joomla Query How to put a php var inside where statement

This is a code i wrote for a module in joomla. I take the $articleid var wich contains idnumbers seperated by “,” . I explode it and find the number of ids the user gave and after that i will just echo every single information about each article. 172 more words

Recent Questions - Stack Overflow

javascript inside an eternal loop php code doesnt work

<html>
    <head>
    </head>
    <body>
        <div>
            
               
               
               
               
               
            
            <img id="adtv" src="img.png">
      </div>
<?php
set_time_limit(0);
$x=1;
while(x==1) {
   $now = date('G',time());
   $start = 12;
   $end = 13;

  if($now >= $start && $now <= $end):
     echo '<script type="text/javascript">document.getElementById("adtv").style.display="none"; </script>';
     echo '<script type="text/javascript">document.getElementById("liveTV_api").style.display="block"; document.getElementById("adtv").style.display="none";</script>';

   else:
     echo '<script type="text/javascript">document.getElementById("adtv").style.display="block"; document.getElementById("liveTV_api").style.display="none";</script>';
   endif;

   sleep(3600);
}

?>

    </body>
</html>
… 74 more words
Recent Questions - Stack Overflow