View Single Post
  #1 (permalink)  
Old August 7th, 2006, 08:14 PM
bonekrusher bonekrusher is offline
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default Hide all Gifs in a document

Hi all,

I am using the following Java Code to hide and display images. Right now the "myList" is an <img ID="myList">. How do I select ALL the images?

I am asking because, I am outputing threw XSLT and there are many different images, depending on the XML imput.

I am looking for a line that will display all. This will only display the img with ID="MyList"


Code:
        <SCRIPT LANGUAGE="JScript">
function showMe() {
    MyList.style.display = "";
    }
            </SCRIPT>


Thanks,

Bones