p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Java Basics (http://p2p.wrox.com/forumdisplay.php?f=199)
-   -   Hide all Gifs in a document (http://p2p.wrox.com/showthread.php?t=46263)

bonekrusher August 7th, 2006 08:14 PM

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




All times are GMT -4. The time now is 10:22 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.