Shoutbox

There is something wrong with Plus! banners' codes - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: There is something wrong with Plus! banners' codes (/showthread.php?tid=78011)

There is something wrong with Plus! banners' codes by ahmetgns on 10-06-2007 at 09:24 AM

I thought there was something wrong with banners' codes in the website while I was translating it. Because, we were translating "Get Messenger Plus! Live for free at msgpluslive.net" text which is in banners' codes. But I wondered why we can't see this text although we put that banner in our blogs etc. Now I think I found the reason. The current codes are like:

code:
<a href="http://www.msgpluslive.net/" title="Get Messenger Plus! Live for free at msgpluslive.net"><img src="http://files.msgpluslive.net/banners/msgpluslive_b468_1.gif" alt="Messenger Plus! Live"/></a>
However I think, the title and alt items' texts must be replaced, I mean it must be like this:
code:
<a href="http://www.msgpluslive.net/" title="Messenger Plus! Live"><img src="http://files.msgpluslive.net/banners/msgpluslive_b468_1.gif" alt="Get Messenger Plus! Live for free at msgpluslive.net"/></a>
so that translating them has point, and people can read what that banner is for when they hover on it. Please correct it on website.
RE: There is something wrong with Plus! banners' codes by MattyRid on 10-06-2007 at 09:28 AM

The change your suggesting is one if the image fails to load, in which case it would be very rare and even if it did have problems it wouldn't be for that long.

I don't mind it being changed but I don't see the point when it will be very rarely that the image won't load.


RE: There is something wrong with Plus! banners' codes by ahmetgns on 10-06-2007 at 09:35 AM

MattyRid, I didn't understand what you meant. In fact I understood it, but I don't think we are on the same topic. I don't know what those HTML codes are for but as far as I know that alt item is for displaying a tooltip when people hover their mouse on images etc.

So really I didn't understand how it is about image loading failures. :S

And I'm sorry if my bad English caused you to misunderstand my point :)


RE: There is something wrong with Plus! banners' codes by MattyRid on 10-06-2007 at 09:57 AM

quote:
Originally posted by ahmetgns
MattyRid, I didn't understand what you meant. In fact I understood it, but I don't think we are on the same topic. I don't know what those HTML codes are for but as far as I know that alt item is for displaying a tooltip when people hover their mouse on images etc.

We are on the same topic and I did understand your post. But alt may not always be a tooltip. alt can also be used as text that is seen when an image won't load.

Like I said before I'm not saying I oppose the change, but I don't really see the point when:

1) In most cases, by the time the tooltip comes up, users have already clicked the banner
2) How often will the image not load? and sometimes all that the users see is a red cross.

Like I have said, I understood your post and suggestion, but i just can't see the point given the 2 situation I have made.
RE: There is something wrong with Plus! banners' codes by Nathan on 10-06-2007 at 10:00 AM

No, title is used for the tooltip.
alt is when the image fails to load, and it will therefore show a message instead of an image.


RE: There is something wrong with Plus! banners' codes by MattyRid on 10-06-2007 at 10:01 AM

quote:
Originally posted by Napbree
No, title is used for the tooltip.
alt is when the image fails to load, and it will therefore show a message instead of an image.
That then makes this suggestion invalid if you ask me then....
RE: There is something wrong with Plus! banners' codes by ahmetgns on 10-06-2007 at 10:06 AM

I replaced the texts in alt and title in the banner in my space and I succeeded what I want. So alt is really displaying the tooltip. I even tried it on FrontPage and it is still like that :S


RE: There is something wrong with Plus! banners' codes by Nathan on 10-06-2007 at 10:18 AM

frontpage sucks.


RE: There is something wrong with Plus! banners' codes by Eddie on 10-06-2007 at 11:18 AM

quote:
Originally posted by Napbree
frontpage sucks.
True, but i was always under the impression that "alt" provided the tooltip, atleast thats the case when i chuck stuff together :S, hmm oh well *-)
RE: There is something wrong with Plus! banners' codes by NanaFreak on 10-06-2007 at 11:20 AM

alt: for when and image is loading/screwed up, it will then display the text (no box around it for firefox (dont know about opera))

title: displays a tooltip when you hover of the element

these are not exact, but they are right :)


RE: There is something wrong with Plus! banners' codes by user35870 on 10-06-2007 at 11:20 AM

In Internet Explorer, it uses the alt text for the tool tip.

However, Firefox gets it from the title="" element.


RE: There is something wrong with Plus! banners' codes by rav0 on 10-06-2007 at 11:36 AM

Opera uses title attribute for the tooltip. In some cases, you could just put the same thing for both to get consistent tooltips. Just remember to consider what the page looks like (and what the text will mean when read in context) when the alt text is displayed in place of the image.


RE: RE: There is something wrong with Plus! banners' codes by ahmetgns on 10-06-2007 at 11:36 AM

quote:
Originally posted by Chris UK
In Internet Explorer, it uses the alt text for the tool tip.

However, Firefox gets it from the title="" element.

:S  Isn't HTML supposed to have standards? I am really surprised when I visited banners page of website to look at the tooltips via Firefox.

So fixing it for IE will ruin it for Firefox. You can forget about this then :)

Edit:
quote:
Originally posted by NanaFreak
yes, they parse the code differently =\ stupid MS
Really stupid MS. It doesn't use the content of title anywhere then.
RE: There is something wrong with Plus! banners' codes by NanaFreak on 10-06-2007 at 11:39 AM

yes, they parse the code differently =\ stupid MS


RE: There is something wrong with Plus! banners' codes by WDZ on 10-06-2007 at 07:23 PM

quote:
Originally posted by Chris UK
In Internet Explorer, it uses the alt text for the tool tip.
Right, however the title attribute will be used if it exists. The following code shows the same tooltip in all browsers...

<img src="banner.gif" alt="Messenger Plus! Live" title="Get Messenger Plus! Live for free at msgpluslive.net" />

The problem with the code on the site is that the title attribute is in the <a> tag rather than the <img> tag. IE doesn't seem to like that. :p
RE: There is something wrong with Plus! banners' codes by ahmetgns on 10-06-2007 at 09:33 PM

Thank you very much WDZ. I changed the code in my space and I hope you change them on the website :)


RE: There is something wrong with Plus! banners' codes by ahmetgns on 01-08-2008 at 11:52 AM

Sorry for bumping this thread but I must say one more thing.

While working on website, please consider what WDZ said. Insert title and alt elements in img tags.

Let me explain why I bumped this thread actually. The codes in the banners page of website are translated into the website's viewing language. However the banners themselves are still in English. I mean the real html codes which displays the images are in English, not in the language with which you view the website. If they use the same translated values for displaying the images of the banners, then people like me could easily copy and paste the banner into their mail signatures or other places which doesn't allow playing the html codes directly.