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:41] – [CSS Style] 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(' | ||
</ | </ | ||
Line 33: | Line 36: | ||
<code css> | <code css> | ||
@media (min-width: 768px) { | @media (min-width: 768px) { | ||
- | | + | |
+ | .classname { | ||
+ | attr : value !important; /* override */ | ||
+ | } | ||
} | } | ||
</ | </ | ||
Line 42: | Line 48: | ||
return str.replace(/ | 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 ==== |