I need a good open source POTD script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jjmerago
    New Member
    • Mar 2010
    • 2

    I need a good open source POTD script

    I need a good open source JAVA based picture of the day script for a mobile APP

    I guess thats it ... its that simple I thought this one might be good but not sure see below:

    just looking for something simple and can access folders and not a database.


    Thanks in Advance by an appreciative NOOB!

    <title>Untitl ed Document</title>
    </head>

    <body>
    <script language="JavaS cript">
    <!--
    function setimage()
    {
    var thedate=new Date();
    var nday=thetime.ge tday();
    var str='day'+nday+ '.jpg';
    document.images['dayimage'].src=str;
    }
    </script>
    </head>
    <body onLoad="setimag e()">
    <img name="dayimage" src="photos/188.jpg">
    </body>
    </html>
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    var str='day'+nday+ '.jpg';
    Change this to include the folder name.

    Also, you want the javascript forum next time.

    Comment

    • jjmerago
      New Member
      • Mar 2010
      • 2

      #3
      not very helpful ... if i knew how to do that i would not have need to ask.

      Anyone else with actual help.

      Thanks in advance!

      Comment

      • jkmyoung
        Recognized Expert Top Contributor
        • Mar 2006
        • 2057

        #4
        ...
        Do you know the folder name?
        Do you currently have a folder with pictures in it?
        What is your file naming convention? Do you have one?

        When you say noob do you mean you have no programming experience whatsoever?

        Your problem is ambiguous. Be clearer in what you want.

        Comment

        Working...