Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
27% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #72.9K
~50.6K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for SKANK!!!!!

This is an example of JavaScript automatic popup closing after 3 seconds with countdown, <p style="text-align:center">This window will close automatically within <span id="counter">3</span> second(s).</p> <script type="text/javascript"> function countdown() { var i = document.getElementById('counter'); i.innerHTML = parseInt(i.innerHTML)-1; if (parseInt(i.innerHTML)<=0) { window.close(); } } setInterval(function(){ countdown(); },1000); </script> I have found it …

Member Avatar for sajjadhira
0
47K
Member Avatar for tryphy

Use simple function. function RandImg($dir) { $images = glob($dir . '*.{jpg,jpeg,png,gif}', GLOB_BRACE); $randomImage = $images[array_rand($images)]; return $randomImage; } $the_image = RandImg('images/tips/'); echo $the_image;

Member Avatar for cereal
0
3K

The End.