you write somthing like:
<% if (something) { %>
<input type="image" src="image1.gif" onclick="doSomething()" />
<% } else { %>
<img src="image2.gif" border="0" />
<% } %>
you can replace the input with
<a href="javascript:doSomething()"><img src="image1.gif" border="0" /></a>
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott Evans
Sent: Tuesday, May 02, 2000 6:34 PM
To: [EMAIL PROTECTED]
Subject: Re: javaScript: How to disable a button in Netscape
Hi Lee,
Sounds interesting. I know how to swap images, but how do you omit the A or
INPUT tag?
Scott Evans
> -----Original Message-----
> From: Lee Elenbaas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 02, 2000 6:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: javaScript: How to disable a button in Netscape
>
>
> I prefare to use images. You can always include them so the
> page maintain
> it's layout. but you can replace the image and ommit the A or
> INPUT tag that
> wrapps it.
> lee
>
> Lee Elenbaas
> ViryaNet
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Evans
> Sent: Tuesday, May 02, 2000 6:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: javaScript: How to disable a button in Netscape
>
>
> Netscape 7.2? Is this the new beta release?
>
> I don't know about Netscape 7.2, but I know that in previous
> versions(4-5)
> of Netscape it is impossible. Instead design your pages so
> that you don't
> need to disable any buttons while they are displayed on the
> client browser.
> During dynamic generation on the server, exclude from the
> output the buttons
> that aren't relevant for the current view.
> (also known as thin-client)
>
> Scott Evans
>
>
>
> > -----Original Message-----
> > From: Kumaravel Kandasami [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 02, 2000 4:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: javaScript: How to disable a button in Netscape
> >
> >
> > Hi All!
> > I'm working in JavaScript & IE, now when I view the
> > same application on Netscape7.2. The disabled buttons
> > do not work in NS.
> > My question is how do I disable a button, which
> > works on IE & NS ???
> > Very Urgent, please respond as soon as possible
> >
> > Thanks,
> > Kumar
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send instant messages & get email alerts with Yahoo! Messenger.
> > http://im.yahoo.com/
> >
> > ==============================================================
> > =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets