[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Button popup text

I have an input image on a page.  The page is generated by an application server and the object is given a name that is big long and ugly.  In Netscape, if you put the mouse over the image, pop-up text displays showing the name of the object.  

Is there a way (the ALT tag does not work) to customize what displays in the pop-up, or supress the pop-up (it doesn't show in IE)?
0
gmoriak
Asked:
gmoriak
  • 3
  • 2
1 Solution
 
mblaseCommented:
In IE4 and above, you can surround your image (or any other HTML code) with <SPAN TITLE="some text">...</SPAN> to change the text that appears by the mouse cursor. This doens't work (yet) in Netscape, though.
0
 
mkdebontCommented:
For IE and NS you have o give it at two different ways:

IE: You must give the alt property in the  input-tag

NS: You must give the name property in the input tag

So,...
<input type="image" border="0" name="NSTEXT" src="thepicture" alt="IETEXT">

So try it and you will find it!!

Martijn de Bont
http://www.thekitchen.nl

Please it's not a pop-up message but an ALT-text. ;-)
0
 
gmoriakAuthor Commented:
Maybe I wasn't completely clear.  I do not have control over the name of the object.  It is generated by the application server and cannot be changed.  

I appreciate the input, based on the info it looks like it cannot be done.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
mkdebontCommented:
In what kind of way does the application make the input type?
0
 
mkdebontCommented:
My comment was muts better!!

I have also an alt-text in netscape and the other doesn't!!

Maybe you have to express yopu questions better.

Martijn
http://www.thekitchen.nl
0
 
gmoriakAuthor Commented:
Let's not get nasty,

What I really meant by "Maybe I wasn't completely clear" was "I'm not an idiot, I know changing the name of the button will change the pop-up text.  I need to know if there is another way.  Your sample code is nothing more than the code I already have."

I believe the other comment was muts(much) better and yours was simply a redundant statement of my question.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now