Javascript Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BobChezule
    Confirmed User
    • Aug 2002
    • 779

    #1

    Javascript Help

    I'm looking for a javascript to rotate some products on my website. I'd like to find one with the ability to display 3 or 4 products at the same time while pulling from 8-10 different products. Any suggestions?

    Bob Chezule
  • mijoon
    Confirmed User
    • Apr 2002
    • 610

    #2
    That would be fairly simple . Whats the problem ?

    Comment

    • BobChezule
      Confirmed User
      • Aug 2002
      • 779

      #3
      The problem is I don't know jack about javascript. I was hoping someone could point me to a site that would have a script similar to what I described.

      Comment

      • mijoon
        Confirmed User
        • Apr 2002
        • 610

        #4
        Okay Bob,
        Sorry if I sounded like a smart ass . There are zillions of sites that give out free scripts , but 99% of the time you have to tinker with them a bit . Could you be a bit more specific on what you wish to rotate ... Banners , URLs ,text ...
        About two weeks ago ,I put a small script to rotate my adds , and my click % almost doubled !
        Sorry if I take a lot of time to respond , but I'm super bizzy at the moment .

        Comment

        • BobChezule
          Confirmed User
          • Aug 2002
          • 779

          #5
          No problem. I just appreciate the fact that anyone responded. I'm looking to rotate dvd and video covers. I would like to display 3 or 4 at a time, and linked with their proper affiliate code. However, I would like the js file to pull from a base of 9 or 10 different dvds, if possible.

          Comment

          • mijoon
            Confirmed User
            • Apr 2002
            • 610

            #6
            Okay, easy enough.
            When I get a few extra mins. I'll do it for you.
            Check back here , friday afternoon.

            Comment

            • BobChezule
              Confirmed User
              • Aug 2002
              • 779

              #7
              Thanks a lot for your help.

              Comment

              • mijoon
                Confirmed User
                • Apr 2002
                • 610

                #8
                Hi Bob,
                Your script is

                Here .

                If you have any ??? , just post here .

                Comment

                • BobChezule
                  Confirmed User
                  • Aug 2002
                  • 779

                  #9
                  Thanks a lot. That's great. Random acts of kindness are always surprising and appreciated.

                  Comment

                  • mijoon
                    Confirmed User
                    • Apr 2002
                    • 610

                    #10
                    Originally posted by BobChezule
                    Thanks a lot. That's great. Random acts of kindness are always surprising and appreciated.

                    Comment

                    • PhilipX
                      Confirmed User
                      • Aug 2002
                      • 200

                      #11
                      Try this also. This gives random quotes. Copy the quotes into the body tags of an HTML page.

                      Code:
                      function getMessage() {
                      // create array of murphy laws
                      var ar = new Array(20)
                      ar[0] = "Nothing is as easy as it looks."
                      ar[1] = "Everything takes longer than you think."
                      ar[2] = "Anything that can go wrong will go wrong."
                      ar[3] = "If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong."
                      ar[4] = "If there is a worse time for something to go wrong, it will happen then."
                      ar[5] = "If anything simply cannot go wrong, it will anyway."
                      ar[6] = "If you perceive that there are four possible ways in which a procedure can go wrong, and circumvent these, then a fifth way, unprepared for, will promptly develop."
                      ar[7] = "Left to themselves, things tend to go from bad to worse."
                      ar[8] = "If everything seems to be going well, you have obviously overlooked something."
                      ar[9] = "Nature always sides with the hidden flaw."
                      ar[10] = "Mother nature is a bitch."
                      ar[11] = "It is impossible to make anything foolproof because fools are so ingenious."
                      ar[12] = "Whenever you set out to do something, something else must be done first."
                      ar[13] = "Every solution breeds new problems."
                      ar[14] = "Trust everybody ... then cut the cards."
                      ar[15] = "Two wrongs are only the beginning."
                      ar[16] = "If at first you don't succeed, destroy all evidence that you tried."
                      ar[17] = "To succeed in politics, it is often necessary to rise above your principles."
                      ar[18] = "Exceptions prove the rule ... and wreck the budget."
                      ar[19] = "Success always occurs in private, and failure in full view."
                      
                      var now = new Date()
                      var sec = now.getSeconds()
                      document.random.random.value="Murphy's Law: " + ar[sec % 20]
                      }
                      getMessage()
                      //-->
                      </SCRIPT>

                      Comment

                      Working...