UseBB Community

The official board for UseBB help and discussion

UseBB Community » Feature Requests » [DECLINED] title attribute in the img tags

[DECLINED] title attribute in the img tags

Page: 1

Author Post
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
Shouldn't the <img tags contain the 'title' attribute apart from the 'alt'? I am asking this cause for example Firefox will only tooltip the text that is contained in 'title'.. not 'alt' ..
_______________
Yep I know me,.. thats that guy ..
> Lets script :: The PtokaX Lua Board :: The PtokaX Script Database
« Last edit by Dietrich on Sat Apr 09, 2005 6:13 pm. »
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
oops and I just noticed that typing a '&lt;img' will prevent the rest of the post's content from that point onwards from appearing.
This must have smth to do with htmlspecialchars somewhere in the post_topic.php ...
_______________
Yep I know me,.. thats that guy ..
> Lets script :: The PtokaX Lua Board :: The PtokaX Script Database
Member
Registered: Apr 2004
Posts: 192
Location: Brussels Belgium
<this is a small test

Well i'l be damned :), it really does make your text disappear.
_______________
« Last edit by Samuel on Thu Apr 07, 2005 11:11 am. »
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
I don't think they need the title="" attribute. They all have alt="" specified because this is obligated by the XHTML 1.0 Strict specification. It was not intended to create tooltips (in fact IE displays tooltips while it shouldn't).
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
PC_Freak wrote
I don't think they need the title="" attribute. They all have alt="" specified because this is obligated by the XHTML 1.0 Strict specification. It was not intended to create tooltips (in fact IE displays tooltips while it shouldn't).
I am aware of the xhtml specifications too.. but it still needs the title attribute to pop up a tooltip in the mozilla engine, for that I am sure.. ;)
_______________
Yep I know me,.. thats that guy ..
> Lets script :: The PtokaX Lua Board :: The PtokaX Script Database
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
Kidkiller wrote
<this is a small test

Well i'l be damned :), it really does make your text disappear.
cool isnt it ;)
_______________
Yep I know me,.. thats that guy ..
> Lets script :: The PtokaX Lua Board :: The PtokaX Script Database
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
Herodes wrote
PC_Freak wrote
I don't think they need the title="" attribute. They all have alt="" specified because this is obligated by the XHTML 1.0 Strict specification. It was not intended to create tooltips (in fact IE displays tooltips while it shouldn't).
I am aware of the xhtml specifications too.. but it still needs the title attribute to pop up a tooltip in the mozilla engine, for that I am sure.. ;)
It doesn't need to pop up anything so... :)
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
Herodes wrote
Kidkiller wrote
<this is a small test

Well i'l be damned :), it really does make your text disappear.
cool isnt it ;)
This d*mn bug has been fixed already. It appeared when I replaced PHP's own de-html functions by a new function which doesn't mess up entities from other charsets.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Feature Requests » [DECLINED] title attribute in the img tags

UseBB Community is powered by UseBB 1 Forum Software