7 replies [Last post]
gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

Hey guys, was just looking at this site here http://dropthebit.com/demos/fancy_input/fancyInput.html

see what appears first on the screen ?

an input box with a fancy "hand" character, if you dig the html source , you will see the following:

<span>✌</span>

Where do i find characters awesome like these ??

Thank you

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 38 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

✌ Peace, Bro.

It's one of the standard Unicode characters. In this case, U270C or &#9996; ✌

See online Unicode character map for the entire glyph set.

See also Unicode character names.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

but how would i find ...

Thanks alot ! Smile

but how would i find a unicode character if i did't know its name ??

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 38 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Unicode organization

I looked in two areas, symbols and dingbats. I didn't know the name. I thought it was called a peace sign but once I found the glyph, it was a matter of going backward to the name, "victory sign".

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

Ok peace Bro !!

ok thanks gary !!! Smile

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

hmmmm ... one more question

come across something interesting today:

     template = $('<div><b class="caret">&#8203;</b></div>');

documentation

What does such a character get used for ?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 38 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Space usage …

Is weird and not well supported. I don't know that I've ever used it, but as your reference points out, it can be used for break word control. E.g. "under&#8203;standing" will suggest where the word may be broken:
under
standing

The soft hyphen is a more correct choice, but is very poorly supported.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

ok thanks gary

Thanks gary ! .....