vb script, i need help.

how do i change the picture displayed useing vb script? i tryed doing this..

mypic.pic.src = "image.gif"

but that didn't work. if someone can help me here i would like that.



Moses 1:39 - "For behold, this is my work and my glory-to bring to pass the immortality and eternal life of man.


-Troy


Comments

  • Hi,

    : how do i change the picture displayed useing vb script? i tryed
    : doing this..
    :
    : mypic.pic.src = "image.gif"
    :
    : but that didn't work. if someone can help me here i would like that.

    I got this to work:-

    [code]



    sub ChangePic()
    window.myimage.src = "image2.gif"
    end sub


    image


    [/code]

    Hope this works for you! The trick is to give the image an id rather than just a name then reference it such as I have.

    Jonathan


    -------------------------------------------
    Count your downloads:
    http://www.downloadcounter.com/
    And host your site:
    http://www.incrahost.com/
    Don't say I never give you anything... ;-)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion