Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Ok, Monks, so while I've been in a kind of experimental phase with HTML, linking and CSS lately, I was doing some fun links on my home node, just for fun, and for practice. I looked up What shortcuts can I use for linking to other information?, and saw this example:

[msg://recipient<message text|link title text]
So, I thought, wouldn't it be funny if I did this:
[msg://chatterbox<embarrassing text here|click here]
and upon clicking it, some sort of embarrassing, yet playful/harmless text popped up in the cb. I'm sure I'm not the first to think of this and I think I even fell for it on someone else's home node long ago. I also thought this would be funny:
[msg://koolgirl<I love you koolgirl!!|say hello]
but neither one of these seem to work. The "say hello" link would link to a pre-filled out private message screen, but when pressing the deliver button, you'd get the following error: "You can't send that because you didn't edit the text field." So, for that example, I just made a link like this:
[msg://koolgirl|say hello]
with an empty text field, which worked, but I don't understand why the other ones didn't, because this says they should work.

As far as the other link goes, the cb link, it would just send you to a message screen, with chatterbox in the recipient box, and the "embarrassing text" in the text field, which is not what I wanted anyway, but, even if you did go ahead and hit the deliver button, you'd get the same error as before, about not being able to send because you didn't edit the text field.

So, not that these links are the least bit important, but why wouldn't they work? I took the examples straight from the site's guide to linking, as stated and linked to twice above in this post. Like I said, the links are silly and meaningless, but my furthering education on linking is the point, as well as the fact that site stated examples seem to be lacking. Am I doing something wrong? Any suggestions would be greatly appreciated.

In reply to Problem Linking Within Perl Monks by koolgirl

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-02 07:59 GMT
Find Nodes?
    Voting Booth?