Darkmatter5 Posted November 19, 2008 Share Posted November 19, 2008 Here's what I have <td align="center"><input title="Toggle users rights to add/edit news.\nChecked=yes\nUnchecked=no" type="checkbox" name="$row['member_id']rights_news" $news></td> How can I get line breaks to appear at the "\n" locations? Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/ Share on other sites More sharing options...
rhodesa Posted November 19, 2008 Share Posted November 19, 2008 You can't do any sort of formatting in Tooltips. Search around for html tooltips as there are lots of workarounds out there Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693662 Share on other sites More sharing options...
BoltZ Posted November 19, 2008 Share Posted November 19, 2008 You could do javascript using onhover to display text. jQuery can do this. www.jquery.com and hover over some of those css3 compliant stuff and you'll know what I am talking about Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693809 Share on other sites More sharing options...
rhodesa Posted November 19, 2008 Share Posted November 19, 2008 extjs has a good javascript one too: http://extjs.com/deploy/dev/examples/simple-widgets/qtips.html Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693823 Share on other sites More sharing options...
BoltZ Posted November 19, 2008 Share Posted November 19, 2008 Oh well thats a neat library. I havent even heard of it before. I'll go check it out! /* Edit Oh wait..is that a library? I'm not sure what it is lol... */ Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693826 Share on other sites More sharing options...
rhodesa Posted November 19, 2008 Share Posted November 19, 2008 yeah, it's another js library. it focuses more on pre-packaged widgets though. it's got lots of great ui stuff, like dynamic tables, tabbed windows, etc Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693870 Share on other sites More sharing options...
BoltZ Posted November 19, 2008 Share Posted November 19, 2008 Well rightnow I am at learningjquery.com and am learning that. It seems to be peoples favorite according to some surveys but then again statistics can show mixed results Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693874 Share on other sites More sharing options...
rhodesa Posted November 19, 2008 Share Posted November 19, 2008 jquery is by far my favorite too. but extjs has some great widgets that work out-of-the-box. i dabble in several libraries, and pick the one that best fits my needs for the project Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693898 Share on other sites More sharing options...
BoltZ Posted November 19, 2008 Share Posted November 19, 2008 Couldnt you use any library with any project? They are all similar arent they? I would think they would all be able to do similar work Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-693903 Share on other sites More sharing options...
rhodesa Posted November 20, 2008 Share Posted November 20, 2008 they definitely are not the same. most have the same core features...like ajax, dom traversing, visual affects, etc. but, when it comes to the 'widgets', there is a lot of difference. Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-694087 Share on other sites More sharing options...
BoltZ Posted November 20, 2008 Share Posted November 20, 2008 Well it really comes down to what the library is capable of Link to comment https://forums.phpfreaks.com/topic/133369-line-break-in-title-atribute/#findComment-694324 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.