[REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
[REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
I've been working on dialogs with macrolinks a lot lately and the tooltips for these can get a bit annoying. It would be nice if macrolink/macrolinktext included the option of not displaying the tooltip (or displaying an alternate tooltip, but that one is probably asking too much at this stage).
- Mathemagician
- Dragon
- Posts: 666
- Joined: Tue May 22, 2007 2:27 pm
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Agreed. I have macroLinks with tooltips that are a few inches tall, and extend the entire screen.
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Also agreed. Although hiding them entirely would work, being able to customize them would be preferable. I can understand that the tooltips make sense from the perspective that you know what you're clicking on.. but since you can have a macroLink automatically execute upon display, that doesn't seem that necessary.
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
OH PLEEEAAAASEEEEEE!!!!!
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
The problem with this is if tooltips can be removed or overridden then you have no ideas what players may be getting you to click on. So limits what people who run pick up games can do with macro links.
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
This is what I can do as a compromise.
If the macro link is in the chat window it will always display the standard macro link tool tip.
If the macro link is in a dialog box or frame then no macro link tool tip is displayed. This way you can use span in dialog/frame to provide a tooltip for links.
(remember to use [r: ] or { } or you will get the normal "roll" tooltip).
If the macro link is in the chat window it will always display the standard macro link tool tip.
If the macro link is in a dialog box or frame then no macro link tool tip is displayed. This way you can use span in dialog/frame to provide a tooltip for links.
Code: Select all
<span title="blah blah blah">[r: macroLink("Say blah will ya", "blah@Lib:blah")]</span>
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Sounds like a perfect compromise to me.
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Does the title attribute work in MapTool? I tried it on a frame but it didn't work.Craig wrote:Code: Select all
<span title="blah blah blah">[r: macroLink("Say blah will ya", "blah@Lib:blah")]</span>
Kristian
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
I had a similar problem at first, because the title attribute is supposed to work on many different elements... alas it only seems to work on the span element in Swing(MapTool).Amaril wrote:Does the title attribute work in MapTool? I tried it on a frame but it didn't work.Craig wrote:Code: Select all
<span title="blah blah blah">[r: macroLink("Say blah will ya", "blah@Lib:blah")]</span>
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
That sounds great to me too.Craig wrote:This is what I can do as a compromise.
If the macro link is in the chat window it will always display the standard macro link tool tip.
If the macro link is in a dialog box or frame then no macro link tool tip is displayed. This way you can use span in dialog/frame to provide a tooltip for links.
(remember to use [r: ] or { } or you will get the normal "roll" tooltip).Code: Select all
<span title="blah blah blah">[r: macroLink("Say blah will ya", "blah@Lib:blah")]</span>
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Actually the title element being a tool tip is not part of the standard, its just something that netscape started doing and others slowly copied. Because of this swing never displayed the title as a tool tip, there is some code in maptool to "manually" create a tooltip if the html element under the mouse is a span and it has the title attribute. It was never added for any others (well if you discount macro links and <a> with a url).zEal wrote:I had a similar problem at first, because the title attribute is supposed to work on many different elements... alas it only seems to work on the span element in Swing(MapTool).Amaril wrote:Does the title attribute work in MapTool? I tried it on a frame but it didn't work.Craig wrote:Code: Select all
<span title="blah blah blah">[r: macroLink("Say blah will ya", "blah@Lib:blah")]</span>
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
Re: [REQ 1.3b54] Hiding tooltip for Macrolink/MacroLinkText
Patch from Craig applied for 1.3b56
Dreaming of a 1.3 release