Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software_development:html_css_javascript [2020/03/25 08:40] – [List, Dictionary] prgram | software_development:html_css_javascript [2025/07/07 14:12] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 27: | Line 27: | ||
<code javascript> | <code javascript> | ||
$('# | $('# | ||
+ | $('# | ||
$(' | $(' | ||
+ | |||
+ | $(this).attr(' | ||
+ | </ | ||
+ | |||
+ | |||
+ | <code css> | ||
+ | @media (min-width: 768px) { | ||
+ | /* wide mode css */ | ||
+ | .classname { | ||
+ | attr : value !important; /* override */ | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | ==== String ==== | ||
+ | <code javascript> | ||
+ | function comma(str) { // 숫자에 컴마 및 원 붙이기 | ||
+ | str = String(str); | ||
+ | return str.replace(/ | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== resize ==== | ||
+ | <code javascript> | ||
+ | $(window).on(' | ||
+ | if ($(window).width() >= 768) { | ||
+ | set_tablet_mode(); | ||
+ | status = " | ||
+ | } else { | ||
+ | status = " | ||
+ | } | ||
+ | }); | ||
</ | </ | ||
==== disable Telephone Link on Desktop ==== | ==== disable Telephone Link on Desktop ==== |