The moose likes JSP and the fly likes image disable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "image disable" Watch "image disable" New topic
Author

image disable

dsw dsw
Greenhorn

Joined: Jan 31, 2003
Posts: 6
I have a jsp file with an image . I want to modify the code such that the image gets disabled if say x=true. How do i accomlish this .
This is the code .I am not able to put lessthan and greater than symbols in this html page. So i have removed them.
IMG SRC=strName;/images/name_bullet.gif' ALT="Name"
onclick1="openname();";
}
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
You seem to be saying that you want to write one set of HTML lines if x is true and another set if x is false. Thats just an "if" statement, right?
 
IntelliJ Java IDE
 
subject: image disable
 
Threads others viewed
urgency!!! In Japplet, how to make......
Image compression and decompression
adding an Image icon
BufferedImage drawing problems
How to make jar in eclipse
IntelliJ Java IDE