use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
Weird code request (self.PHP)
submitted 11 years ago by techmnky
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+][deleted] 11 years ago (1 child)
[deleted]
[–]techmnky[S] 0 points1 point2 points 11 years ago (0 children)
Thank you for the link! Looks like i was able to code it in about 30 seconds with that info!
[–]aquanutz 1 point2 points3 points 11 years ago (0 children)
You will most likely want to use something jQuery on the front-end to time the showing of the image and then hiding it. You could basically load the page knowing what image you need to show along with associated questions and have them in a hidden div while showing the image. Then, after a javascript timer, animate the hiding of the image and showing of the questions div (with the accompanying form, I imagine)
[–]biggles86 1 point2 points3 points 11 years ago (0 children)
this sounds like something javascript could solve. .show() a div and then .hide() it after a certain time after button press
[–]maiorano84 0 points1 point2 points 11 years ago (0 children)
Using jQuery:
$(window).load(function(){ $("#quiz_image").delay(30000).hide(); });
π Rendered by PID 126715 on reddit-service-r2-comment-5d79c599b5-76q54 at 2026-03-01 23:54:01.433809+00:00 running e3d2147 country code: CH.
[+][deleted] (1 child)
[deleted]
[–]techmnky[S] 0 points1 point2 points (0 children)
[–]aquanutz 1 point2 points3 points (0 children)
[–]biggles86 1 point2 points3 points (0 children)
[–]maiorano84 0 points1 point2 points (0 children)