Help - Search - Members - Calendar
Full Version: Javascript and MT?
Movable Type Community Forum > Additional Resources > Tips and Tricks
sriley
Hi all, quick question.. I was looking to integrate a bit of javascripting I slapped together to work with MT's cgi..essentially the javascript displays an image depending on what time of day it is, and I wanted to integrate it with MT so it will display the image depending on what time a post was written.  I'm not much of a coder so its going a bit over my head at this point.  Any help would be great.  Thanks!
*stephen
kadyellebee
Well, if you are going to use it inside of the MTEntries container, you'd probably want to use the MTEntryDate and then check out the date formats in the manual for what format you wanted the date to show up as (January 6 vs. 20030601 or whatever).

Does that help get you started?
Kristine
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-2009 Invision Power Services, Inc.