• Welcome to League Of Reason Forums! Please read the rules before posting.
    If you are willing and able please consider making a donation to help with site overheads.
    Donations can be made via here

Your suggestions for implementing sarcasm tags

arg-fallbackName=")O( Hytegia )O("/>
For real, though, a custom "Hover over" text-to-tag thing would be handy.

We could use it to insert images in a clever way and to quickly make evidences on-hand during discussions.

"No real evidence? What about this beautiful so-and-so?!" (Where Italicized is text that rumbles an image preview)
 
arg-fallbackName="Master_Ghost_Knight"/>
)O( Hytegia )O( said:
For real, though, a custom "Hover over" text-to-tag thing would be handy.

We could use it to insert images in a clever way and to quickly make evidences on-hand during discussions.

"No real evidence? What about this beautiful so-and-so?!" (Where Italicized is text that rumbles an image preview)

As far as I am aware the tool tip tag does not allow to embed images, just plain text.
 
arg-fallbackName="Prolescum"/>
Even if it did, I don't think pop-up images suit the nature and style of the site.

Let's make the watchword graceful.

I do appreciate your input though, Hytegia. I don't mean to be discouraging.
 
arg-fallbackName="Vivre"/>
I had fun to play with your ideas and would like to share my code-snippet if s.o. likes to view or keep it. A default pop-up image could quickly be achived via cursor 'styling'.

However I like :mrgreen: apearing out of the no (in my example), I must say that I don't hover over all texts and rather keep the cursor out of the way. Also customizable tool-tips might be fun or elaborating, but they can't be quoted nor captured easily.

I think there's no way around some kind of obvious styling of predicted sarcasm if it should be marked as such.

Code:
<span class="sarca" style="color:purple;" onmouseover="this.style.color = 'red';" onmouseout="this.style.color = 'yellow';">implementing sarcasm tags</span> _._._ 
<span class="sarca" title=" ~ this is what it is ;-) ... and if you don't get me ~ stay safe where you are ~ ">minor sarcasm note</span> _._._ 
<span class="sarca" style="cursor:url(http://www.theleagueofreason.co.uk/images/smilies/icon_mrgreen.gif), move;">HEAVY sarcasm issue</span>
 
arg-fallbackName=")O( Hytegia )O("/>
Prolescum said:
Even if it did, I don't think pop-up images suit the nature and style of the site.

Let's make the watchword graceful.

I do appreciate your input though, Hytegia. I don't mean to be discouraging.

It's alright. It's just an idea.

If you can find a way to convey sarcasm, just let me know. Until then I'll have to be injecting italicized text and using hyperbole to drag the point across.
 
arg-fallbackName="he_who_is_nobody"/>
I know in the few times I have used sarcasm on this forum I always follow it with this :roll: as can be seen here. I do not think we need a sarcasm tag, because things like this exist already to get sarcasm across. Whether we have a sarcasm tag or not does not mean one will use it.
 
arg-fallbackName="Prolescum"/>
I've noticed a couple of usages of the sarcasm tag; y'all happy to use that? Shall I implement a tool tip one too/instead of?
 
arg-fallbackName="Vivre"/>
Prolescum said:
I've noticed a couple of usages of the sarcasm tag; y'all happy to use that? Shall I implement a tool tip one too/instead of?

Oh how does it work?
The example you've given above was only a 'prototype'. And on another thread (quite a while ago) some managed to create a tool tip, but I couldn't resolve how he managed to achive it.

I've searched this thread several times, the edit-menu, your usage of bb-code but I can't find any sarcasm-tags.
 
arg-fallbackName="Prolescum"/>
Vivre said:
Prolescum said:
I've noticed a couple of usages of the sarcasm tag; y'all happy to use that? Shall I implement a tool tip one too/instead of?

Oh how does it work?
The example you've given above was only a 'prototype'. And on another thread (quite a while ago) some managed to create a tool tip, but I couldn't resolve how he managed to achive it.

I've searched this thread several times, the edit-menu, your usage of bb-code but I can't find any sarcasm-tags.

While it's true that it was an example and isn't a visible selection when posting (or in the code guide), the tag itself is still active:

[sarcasm]This isn't sarcasm[/sarcasm]
Code:
<i>
</i>[sarcasm]This isn't sarcasm[/sarcasm]

The tool tip tag doesn't exist yet; the sarcasm tag has a tool tip :)
 
arg-fallbackName="Vivre"/>
[sarcasm]Ah ~ a colorful fixed feature :)[/sarcasm]

yes please - 1+ for custom tooltips
 
arg-fallbackName="Prolescum"/>
Okies. Custom tooltips are now available via the posting screen or using the code
Code:
The soft mystery phrase of this year's Doctor Who is spoken by [tooltip=Run you clever boy, and remember...]Clara Oswin Oswald[/tooltip]

The soft mystery phrase of this year's Doctor Who is spoken by [tooltip=Run you clever boy, and remember...]Clara Oswin Oswald[/tooltip].

Anything other than simple text will fail to render. I'll add this and sarcasm to the BB Code guide.
 
arg-fallbackName="Vivre"/>
[tooltip=... me the way to the next whisky bar]There_s no business like show ...[/tooltip] :mrgreen:


just testing ... but I found you can't use any special letter in either texts that needs 'strg' like: ' " ! ? ° and also ^ ( ) ; : /
tag-nesting is possible if they're outside of the tooltip

and inside of [sarcasm]huibuh[/sarcasm]
 
arg-fallbackName="Master_Ghost_Knight"/>
[tooltip=Awsome]Great[/tooltip] Although it doesn't allow for punctuation [tooltip=No&]God[/tooltip] [tooltip=No?]damn[/tooltip] [tooltip=No!]punctuation[/tooltip]
It does still require some thinkering
 
arg-fallbackName="Vivre"/>
Master_Ghost_Knight said:
[tooltip=Awsome]Great[/tooltip] Although it doesn't allow for punctuation [tooltip=No&]God[/tooltip] [tooltip=No?]damn[/tooltip] [tooltip=No!]punctuation[/tooltip]
It does still require some thinkering

to make it [tooltip=Awsome]Great[/tooltip] add additional tags embracing the tooltip
Code:
[color=#FFFF00][tooltip=Awsome]Great[/tooltip][/color]
 
arg-fallbackName="Prolescum"/>
Hmm. Gonna have to have a think about this. There are very few (if any) use cases for using most special characters in a tooltip. Exclamation and question marks, okay. Ampersand... not so much.

Could you please let me know the characters you think we might use (or want to use) in a tooltip and a brief argument or example in their favour?

As Vivre says, nesting tooltip inside other tags is fine. Consider tooltip a top-level tag, like img. Got to keep some form of control over what's put in it ;)

Also Vivre, UK/US keyboards use the shift modifier key for those, not strg (which if I understand correctly is the equivalent of ctrl whose modifying behaviour isn't applicable as its function is OS-level). In any case, I'm not sure how that'll affect this. Feel free to educate me :D
 
arg-fallbackName="Master_Ghost_Knight"/>
And if you try to do image, it will get busted!

I don't know how you are doing it, but here is my suggestion:

1. Check if the number of characters inside the tool-tip is bellow a certain number, let's say a 80 character limit. If not, prevent post.
2. Check if the number of new line feeds is below a certain limit, Lest say 8. If not, prevent post. Note. Each line can hold 40 characters.
3. Check if character assortment is between (#32 and #126) or (#192 and #255) or new line (don't know if it is implemented with #10 or #13). If not, remove characters.
4. Covert forbidden characters (#34; #38; #39; #60; #62) into their respective substitution code (" & ' < >)
5. Store that text as the content that goes into the title="" item. Note you should have a special html tag (whit the respective CSS styling code) to indicate that the text inside is supposed to have a tooltip. (I believe you already got that)
ex.
<tip title="ToolTip Text">Stuff that has the tool tip </tip>
6. Start processing the text that shall receive the tip. Use the constructor as usual, with the exception that now there can not be a "[tooltip" before a [/tooltip]. If that happens prevent posting. (no tool tip nesting rule).
7. Increment the tool tip counter, a text should not have more than a certain limit of tooltips. Let's say 20. If not prevent post.
8. Generate the code:
ex. <tip title="ToolTip Text">Stuff that has the tool tip </tip>
 
Back
Top