Forums

Javascript Not Working (4 posts)

  1. Godheval
    Member
    Posted 11 months ago #

    Hi.

    I'm trying to make the following script...

    http://www.poguri.com/hello.html

    (hover over and click the little guy in the corner)

    ...work on my main page:

    http://www.poguri.com

    But it just won't happen. Any help is greatly appreciated.

  2. Godheval
    Member
    Posted 11 months ago #

    Oh, I suppose I should mention...

    The difference is that on my main page, I'm calling the javascript from an external file, located here:

    http://www.poguri.com/scripts/talk.js

  3. Godheval
    Member
    Posted 11 months ago #

    I'm really not having any luck with getting my questions answered in these forums.

    Oh well, so I managed to solve it myself, again.

    Should anyone need to do this, it was a matter of changing every instance of:

    document.swapDiss.src

    to...

    document.getElementById(swapDiss).src

    And changing the img name property to img id. This made the script work AND validate in XHTML strict.

  4. LumBenny
    Member
    Posted 6 months ago #

    Hey trying to get something similar working but images aren't showing.

    think it has to do with PHP, any help?

    http://lumlighting.com/wordpress/lum/?page_id=152

    http://lumlighting.com/images/talk.js

Reply

You must log in to post.

About this Topic