DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Joe Guest

    Form inputs and images.....


    Hi,
    I'm stuck on this problem which only occurs in netscape browsers but it
    concerns displaying alternate text when
    you put the mouse over an image. The image I have is an input to a form.
    On IE when the mouse is run
    over the image the ALT text is shown however this does not work on Netscape.
    Is this just a browser issue
    or is it a problem with my code?

    Here is the code I'm using.....

    <INPUT TYPE=hidden NAME="pageName" VALUE="page2.html">
    <INPUT TYPE="image" VALUE="submit" SRC="/images/store/headers/image.gif"
    ALT="Click Here to Update Information" BORDER=0>


    Both these inputs are placed between form tags..

    An help at all would be appreciated, please feel free to email me any suggestions.


    Thanks a million.

    Joe


  2. #2
    Frederiek Guest

    Re: Form inputs and images.....


    That's not what the ALT is for, read the article on the use of ALT text in
    images at <http://www.htmlhelp.com/feature/art3.htm>.
    The TITLE attribute is more appropriate here, but NS 4.x doesn't support
    that. The only way I know is to use DHTML generated tooltips, see <http://tech.irt.org/articles/js202/index.htm>.

    cya
    Frederiek


    "Joe" <joe_harney@smartforce.com> wrote:
    >
    >Hi,
    > I'm stuck on this problem which only occurs in netscape browsers but it
    >concerns displaying alternate text when
    >you put the mouse over an image. The image I have is an input to a form.
    >On IE when the mouse is run
    >over the image the ALT text is shown however this does not work on Netscape.
    >Is this just a browser issue
    >or is it a problem with my code?
    >
    >Here is the code I'm using.....
    >
    ><INPUT TYPE=hidden NAME="pageName" VALUE="page2.html">
    ><INPUT TYPE="image" VALUE="submit" SRC="/images/store/headers/image.gif"
    >ALT="Click Here to Update Information" BORDER=0>
    >
    >
    >Both these inputs are placed between form tags..
    >
    >An help at all would be appreciated, please feel free to email me any suggestions.
    >
    >
    >Thanks a million.
    >
    >Joe
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links