1
2
ID:705799
Apr 25 2012, 5:27 pm (Edited on Apr 25 2012, 6:08 pm)
|
|||||||
Resolved
| |||||||
The ability to, once maptext is initialized, have certain map-text strings be click-able. Thus able to do things like call functions via Click() perhaps.
|
Apr 25 2012, 7:44 pm
|
|
Something like this would be very useful. You could do things like link to items and quests in your chat log.
|
In response to Metamorphman
|
|
Metamorphman wrote:
Can't you already do this with Topic() links? You cannot apply html links within maptext, but that would probably be the best way to handle this. Currently, any type of click on maptext is just considered a click on the atom that it is displayed on. |
In response to Falacy
|
|
Falacy wrote:
Currently, any type of click on maptext is just considered a click on the atom that it is displayed on. No such thing happens, though I wish to hell it did. |
In response to Tom
|
|
Tom wrote:
Seems like the natural way of doing this would be through html href tags. I know you guys are quite busy, but any chance any progress has been made on this? I'm looking for a way to make sections of maptext be clickable, sending a message to Topic procs. |
For you, we'll take a look! Any particular way you think would be most useful? As I mentioned a while ago (sheesh, almost two years), it seemed like the href syntax would work, but it would probably be easier to make maptext clicks associated with the atom. That would of course be less flexible but I don't know if it solves the common usage. Maybe the href thing is easy.. I'll see.
|
Well, for what I was wanting to do, I'd want href tags, preferably with the ability to tag different parts of the maptext with different tags. And what the heck, while I'm asking for stuff... ;) How about the ability to set text-align for different parts of an atoms maptext?
mapTextObj.maptext = "<span style=text-align:left;><a href='?src=\ref[gameHandler];action=challenge;target=[player.name];'>Challenge</a></span> \ Just a wishlist. If its not easy, I'm sure I can find another method. Well, technically I'd be using this to replace another method, so I can just go back to that ;) Thanks for looking into it :) |
Any progress on this? I want to make clickable links using href like you metioned in your post Tom.
Also is there any reason why <u> for underline doesn't work in maptext, even though links don't work I was trying to get around it and show it as a link does now with the default link color and an underline but it's not getting underlined. After that I would've handled the rest on the atoms click event. |
In response to Ishuri
|
|
I think this was a limitation with maptext, I don't know about the webclient tho.
|
In response to Ishuri
|
|
Well i know for a fact the webclient can pull it off easily. I just feel like if we're not considering DD redundant anytime soon, this would be really neat to have.
But at the same time, this is just one of those features we could live without. |
In response to Ishuri
|
|
Ishuri wrote:
But at the same time, Shhhhh, only features now..~ |
In response to Ishuri
|
|
I'm pretty sure there's already a feature request for this.
|
1
2