AJAX help

Discussion in 'Programming' started by m4x, Sep 20, 2008.

  1. #1
    Er, i need some help. My website http://www.krawk.net is coded in ajax. However when a user clicks a button at the top of the page, i want the content to slowly change just like this site:

    http://www.neopetstuff.net/

    ^ look how cool it goes when you click a button, it goes really smooth instead of my site. What is the code to do this?
     
    m4x, Sep 20, 2008 IP
  2. scriptdance

    scriptdance Active Member

    Messages:
    340
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
  3. m4x

    m4x Guest

    Messages:
    477
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh... Do both those js files have the code in em? How would I intergrate it on my site o.o?
     
    m4x, Sep 20, 2008 IP
  4. deepak38

    deepak38 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    You must include the following line in html page:

    <script type="text/javascript" src="./mootools.js"></script>
    <script type="text/javascript" src="./script.js"></script>

    Hope this will help you.
    Thanks
     
    deepak38, Sep 21, 2008 IP