Created
September 23, 2016 02:55
-
-
Save leedohyung-dba/cecb945cd5ed6706c573db9b3ae17ba0 to your computer and use it in GitHub Desktop.
[jQuery]jQuery.tooltipの「出力エリアをずれてしまう」の原因と解決 ref: http://qiita.com/leedohyung-dba/items/b644b03f6d095778c518
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ui-tooltip { | |
word-break:break-all; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TEST_CASE_1 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; | |
const TEST_CASE_2 = '12345678901234567890123456789012345678901234567890'; | |
const TEST_CASE_3 = 'ひらがなカタカナひらがなカタカナひらがなカタカナひらがなカタカナ'; | |
const TEST_CASE_4 = '漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字漢字'; | |
const TEST_CASE_5 = '한글한글한글한글한글한글한글한글한글한글한글한글한글한글한글한글한글한글'; | |
const TEST_CASE_6 = '@#()*$(*%()!#&%)(&!#*()&*)(!#&*(&!#(*&*()!$&*(!#&%*(!#&*!#$'; | |
const TEST_CASE_7 = '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'; | |
const TEST_CASE_8 = '12345678901234567890123456789012345678 9012345 67890'; | |
const TEST_CASE_9 = '12345678901234567890123456789012345678한901234567890'; | |
$('.ldh-img').tooltip({ | |
position: { my: "left+15 center", at: "right center" }, | |
content: TEST_CASE_9, | |
track: false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment