LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-07-2003, 10:52 PM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
mozilla, html, <img src= ... alt= ... >


I know that when I use some simple html, as in the title here, the 'alt=' part will give me a little text box that pops us when the mouse is on the image - in Internet Explorer.

In Mozilla 1.4 I don't see those little image description text boxes with that tag. Does Mozilla not support that, or is there some other tag to use?

Thanks...
 
Old 08-08-2003, 12:06 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
My Mozilla 1.4 doesn't show that or
<span class="box" title="popup text">direct text</span>.

Alt (for images only) and what I have for expanded text are w3c compliant last time I checked and not IE "extensions" and they did show up in Mozilla 1.0-1.3. I hate 1.4. I don't know what's wrong with that.
 
Old 08-08-2003, 01:58 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Mozilla doesn't have the little text boxes that 'pop-up', however any alt tags should appear in the status bar (View, Show/Hide, Status Bar)

Enjoy!
--- Cerbere
 
Old 08-08-2003, 04:29 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by digiot
My Mozilla 1.4 doesn't show that or
<span class="box" title="popup text">direct text</span>.

Alt (for images only) and what I have for expanded text are w3c compliant last time I checked and not IE "extensions" and they did show up in Mozilla 1.0-1.3. I hate 1.4. I don't know what's wrong with that.
To err is human, but to jackup Mozilla

Did you submit a bug report or find one that is already? Sounds like something that should be worked out for the next release

Cool
 
Old 08-08-2003, 04:32 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
alt tags are designed to replace an image in non image capable browsers, it is *NOT* meant to be a popup text, this is technially mis use of the attribute, however useful it may be.
 
Old 08-08-2003, 08:47 AM   #6
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by acid_kewpie
alt tags are designed to replace an image in non image capable browsers, it is *NOT* meant to be a popup text, this is technially mis use of the attribute, however useful it may be.
Ok, technically, I see you are correct. So, therefore, I now see where Mozilla isn't doing it wrong.

But it is a cool side effect having the little text pop-ups.
I guess I'll just have to add in some text to the page if I want to have image descriptions.

Thanks...

edit: Oh, and the alt tags don't show up in the status bar.

Last edited by itsjustme; 08-08-2003 at 08:49 AM.
 
Old 08-08-2003, 08:58 AM   #7
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Rep: Reputation: 15
That has really gotten me a little irritated lately as I have a chinese pictograph on my website and the translation in the alt tag and I hadn't seen lately, now I know why.
 
Old 08-08-2003, 01:53 PM   #8
Bjørn
LQ Newbie
 
Registered: Aug 2003
Location: The Netherlands
Posts: 24

Rep: Reputation: 15
This has been sooo discussed to death at the bug report system of Mozilla:
http://bugzilla.mozilla.org/show_bug.cgi?id=25537

New reports like these are still coming in while this discussion has raged from 2000 (maybe even 1999) up this day. Mozilla is very strict in its standards and showing alternative text as a popup is not in the standard. The TITLE element is for that, and can be used for more than just images. Showing the ALT attribute as popup has effectively destroyed it's goal, to serve as an alternative to the image either when the image couldn't be loaded or because the user is browsing with a text browser. Many web developers are putting additional information in the ALT attribute or leaving it blank to prevent an a popup where he doesn't want one. This reduces the accesibility of websites.

Of course, for the users that would still like the ALT to popup like most other browsers do, there's a plugin. At least for Mozilla Firebird there is, don't know about the Mozilla complete suite.

Last edited by Bjørn; 08-08-2003 at 01:56 PM.
 
Old 08-08-2003, 02:50 PM   #9
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
It's interesting that this has been an issue for so long. I didn't read through all those comments in that link, but I would think the mozilla team would either just support it or say, "No, we aren't going to support it." (Maybe they did and I just missed it.)

But, hey, I can live without it myself. I didn't realize it was a big issue at mozilla. I just thought it was a tiny annoyance.

Also, TITLE, just names the webpage. It doesn't do anything to describe individually the numerous photo's that might be on the page.

regards...
 
Old 08-08-2003, 03:43 PM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
People - I know ALT is for images. That's why I specified the fact. But <TITLE> as an *element* names webpages. title= as an *attribute* creates popups to expand text - like to gloss a footnote without having to follow a hyperlink or to fit a paragraph of info in a table cell without having a ridculously huge table. That's why I use it instead of ALT. Point is, *neither* works whether used or misused.

And Mozilla 1.4 doesn't show *its own* tooltips - like when you hover over one of twenty open tabs, it's supposed to popup the full address of the tab over the tab. But it doesn't. And it doesn't show in the status bar, either.

MasterC, as far as submitting a bug, I suppose I should have - for awhile I wasn't sure if it was Mozilla or this dropline gnome thing - that 'higher-number-graded' my Mozilla to my surprise. I've already used 1.4 and it's got more bugs and annoyances than I can count. I meant to always stick with 1.3beta. I've gotten kind of disillusioned with the Mozilla project and just don't feel like messing with them. Anyway - I have run 1.4 in fluxbox and it's just as broken there, so it is Mozilla.

Any time I rave about the 'greatest browser on earth' I'm talking about Mozilla up to 1.3beta. After that, not so much.
 
Old 08-08-2003, 03:51 PM   #11
Bjørn
LQ Newbie
 
Registered: Aug 2003
Location: The Netherlands
Posts: 24

Rep: Reputation: 15
Uh, whoops I didn't mean the TITLE element I meant the TITLE attribute. If you want a popup in all browser, use:

<img src="bobbie.jpg" title="Bobbie, my dog." alt="Dog wearing a party hat.">

So "Dog wearing a party hat" will be displayed when the image cannot be displayed and "Bobbie, my dog" can be displayed as extra information in a way the browser thinks appropriate (most will display as a pop-up), but you cannot count on this information to reach your visitor always (but you couldn't anyway with the ALT attribute usage).

The people working on Mozilla are many and spread around the world, so you can expect them to have discussions about things for a long time. But I think they've decided long ago, it's just that bug reports like these keep being send. And it makes sense. I think this is good, and they shouldn't change it, as this will make the issue well known among many people.


Edit: About the tab pop-ups, I'm using Mozilla 1.4 here in Linux and it shows them perfectly. I'm using Slackware, but what I have installed is just the binairy installation from Mozilla.org, so it shouldn't matter. Of course, I'm not denying your problem and I think you should file that as a bug report if it has not been already done.

Last edited by Bjørn; 08-08-2003 at 03:56 PM.
 
Old 08-08-2003, 04:03 PM   #12
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Bjørn
Edit: About the tab pop-ups, I'm using Mozilla 1.4 here in Linux and it shows them perfectly. I'm using Slackware, but what I have installed is just the binairy installation from Mozilla.org, so it shouldn't matter. Of course, I'm not denying your problem and I think you should file that as a bug report if it has not been already done.
Is there something in prefs or a config file to turn that on? I thought it was *just on* - like I say, it has *always* worked before, no matter the OS or wm, so I don't know why it isn't now. If there's an option for it, point me to it, please - I'd really appreciate it, because I rely on that tab popup a lot.

Like I say, I'm in Slack too - usually use fluxbox but I've been trying out this dropline gnome thing lately and it doesn't work in either environment. I don't know where dropline got its mozilla from - like I say, it could be the dropline guys compiled it from source and broke it and gave me *that* binary - I dunno. Got more than I bargained for with this dlg thing.
 
Old 08-08-2003, 04:31 PM   #13
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
A couple more .

Sorry, I didn't know about the title attribute. I didn't see that in the html help files I have in HomeSite. But now I found it and will have to test it with Mozilla.
Quote:
TITLE="informational ToolTip"
The Internet Explorer 4.0 (and above) specific TITLE attribute is used for informational purposes. If present, the value of the TITLE attribute is presented as a ToolTip when the users mouse hovers over the <IMG> section. Note that any text provided in the TITLE attribute overrides that presented in the ALT attribute as the ToolTip - the contents of the ALT attribute will only be seen if the image can't be loaded for any reason.
Also, I have Mozilla 1.4 on Windows 2000 and on Red Hat 8.0 and I have Mozilla 1.3 on my slack box. The tab tooltip works on all and shows the Title of the web page. It doesn't show the url.

Regards...

scary picture
 
Old 08-08-2003, 04:36 PM   #14
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
HEY!!

<img src= ... title= ... > works with Mozilla.

Thanks for all the discussion....
 
Old 08-08-2003, 04:43 PM   #15
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Huh. I didn't know anything about any IE4 - the w3c just says

http://www.w3.org/TR/html4/struct/gl...tml#adef-title

And maybe I'm still misusing it anyway, but not as badly as ALT - I am just glossing an element, after all. *g*

Weird. Wonder why my Mozilla's so busted? Cool that it works for you. I'm just going to see about uninstalling this and reinstalling 1.3. Of course, who knows what *that* will screw up in turn.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox and the "alt" in img-tags Ephracis Linux - Software 3 03-08-2005 09:52 PM
[php]Reading url [img] and [/img] hylke Programming 13 08-23-2004 02:58 PM
CSS / HTML in Mozilla jpbarto Programming 4 04-26-2004 09:08 PM
the site's img tags could use title and/or alt text akaBeaVis LQ Suggestions & Feedback 5 08-03-2003 04:21 PM
Display Error (Background img in mozilla, and other) DoubleLetter Linux - General 1 04-27-2003 05:59 PM


All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration