Help - Search - Members - Calendar
Full Version: Time Based Html
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
lttldude9
I am trying to used html to display an image, but it changes based on the time of the day. Is there a way I can do this without the use of any PHP or javascript? Thanks
Brian Chandler
No.
benzrf
Is there a reason you can't use JavaScript or PHP? Because if there isn't, I could probably code some PHP to do that for you...
Christian J
To elaborate on the previous posts, HTML alone can't do this. You either need client-side (javascript, Flash?) or server-side scripting. Even if you can't use PHP on the server maybe you can use ASP, SSI or CGI?

Maybe even .htaccess directives can be used, if I understood section "Time-Dependent Rewriting" in http://httpd.apache.org/docs/2.0/misc/rewriteguide.html correctly.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.