71 users online (0 members and 71 guests)  


  Results 1 to 2 of 2

Related

  1. Replies: 9
  2. Random Pictures script doesn't always work.    Forum: Javascript Forum
    Replies: 1
  3. Site doesn't work properly on IE5    Forum: CSS Forum
    Replies: 3
  4. .htaccess doesn't work    Forum: HTML Forum
    Replies: 1
  5. Replies: 1
  1. #1
    Grand Mamamo's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2005
    Posts
    11

    Smile js script that doesn't work ???

    Hi !

    The hereunder script doesn't work.
    Could anyone explain me why, please ?

    Code:
    <img name="image">
    
    <script type="text/javascript">
    
    mon_tableau=[
    'http://lesitedelafetedudemisiecle.chez.tiscali.fr/Rudolf/Images/IM000127.JPG'
    ]
    
    function imager(tableau)
    {
    document.image.src=tableau[0]
    }
    
    imager(mon_tableau)
    
    </script>
    Thanx for your help !

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Re: js script that doesn't work ???

    Hiya, welcome to the forums.

    Could you define that a little more? Whats the script supposed to be doing, and whats it actually doing?

    "It doesn't work" doesn't tell us much
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread