Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ MXP and Pueblo
➜ mxp send tag
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Typhon
USA (112 posts) Bio
|
| Date
| Sat 01 Nov 2008 08:33 AM (UTC) Amended on Sat 01 Nov 2008 08:34 AM (UTC) by Typhon
|
| Message
|
Quote:
Send with HINT
You can set up a "mouse-over" hint that appears if the player moves the mouse over the hyperlink. eg.
<send href=West hint="Go to the second floor landing">West - The Second Floor Landing</send>
In this case, the player sees "Go to the second floor landing" in a little popup window if they move the mouse over the hyperlink.
i'm trying to use this to send a small block of text on mouse over for items and stats and such, however i'd like to break up the text using newlines so the block of text isnt as wide as the screen.
Problem i'm running into is that neither '\n' or '<BR>' do anything in the tooltip popup.
'\n' breaks the mxp code sends all sorts of trash to the mud and no tool tip.
<BR> just shows as <BR> in the tool tip.
I've checked the outcome in both zmud and mushclient and i seem to have run into a brick wall.
thanks
-typ | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 01 Nov 2008 09:55 PM (UTC) |
| Message
| I can't see any way of doing it right now, however for version 4.38 I have relaxed the restriction on MXP entities slightly so you can put newlines in them. So this would work from version 4.38 onwards:
<send href=West hint="Go to the second floor landing">West - The Second Floor Landing</send>
That may have other undesirable side-effects if you used unwisely, I'm not sure.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Typhon
USA (112 posts) Bio
|
| Date
| Reply #2 on Sun 02 Nov 2008 12:27 AM (UTC) |
| Message
| yeah i'm not seeing it working correctly...
using zmud it just cuts off the hint completely after the ' ' and in mush it cuts the hint after something like 57 characters.. with out that it'll show the entire description i need it to. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Sun 02 Nov 2008 09:15 PM (UTC) |
| Message
| | To be compatible with zMUD I would stick with single-line hints. MUSHclient v 4.38 will support my suggested change, however that won't help on zMUD. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Typhon
USA (112 posts) Bio
|
| Date
| Reply #4 on Tue 04 Nov 2008 06:40 AM (UTC) |
| Message
| | meh i left it as a single line not a huge fan if theres a long description going all across the screen but the staff is happy with it and i can deal if theyre content. thanks tho nick :) | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
20,443 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top