[Urgent] Need some help with JavaScript.

Discussion in 'JavaScript' started by farouqxii, Feb 19, 2012.

  1. #1
    I was programming my website, and then I came up with an idea and used this code:
    Simply, an image slider for my site.
    However, this code is working flawlessly BUT I want to have a button which will do the job not the buttons which already are created by the script.
    I aleady set up the css and everything.

    I never worked with Javascript before, that's why this maybe seems nooby. I would like to have some modifications to the code and that I will be able to use the "NextBtn" anywhere in my site :)

    Thanks.
     
    farouqxii, Feb 19, 2012 IP
  2. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #2
    you want to create your own button? is that correct?
     
    JohnnySchultz, Feb 20, 2012 IP
  3. farouqxii

    farouqxii Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, exactly. A button that would excute the JavaScript.
     
    farouqxii, Feb 20, 2012 IP
  4. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #4
    execute what?
     
    JohnnySchultz, Feb 21, 2012 IP