software_development:html_css_javascript

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software_development:html_css_javascript [2020/03/25 08:42] – [CSS Style] prgramsoftware_development:html_css_javascript [2025/07/07 14:12] (current) – external edit 127.0.0.1
Line 27: Line 27:
 <code javascript> <code javascript>
 $('#mask').removeClass('active'); $('#mask').removeClass('active');
 +$('#mark').addClass('active')
 $('html').css('overflow', 'initial'); $('html').css('overflow', 'initial');
 +
 +$(this).attr('id')
 </code> </code>
  
Line 45: Line 48:
   return str.replace(/(\d)(?=(?:\d{3})+(?!\d))/g, '$1,') + "원";   return str.replace(/(\d)(?=(?:\d{3})+(?!\d))/g, '$1,') + "원";
 } }
 +</code>
 +
 +==== resize ====
 +<code javascript>
 +$(window).on('resize', function() {
 +  if ($(window).width() >= 768) {
 +    set_tablet_mode();
 +    status = "t";
 +  } else {
 +    status = "m";
 +  }
 +});
 </code> </code>
 ==== disable Telephone Link on Desktop ==== ==== disable Telephone Link on Desktop ====
  • software_development/html_css_javascript.1585125761.txt.gz
  • Last modified: 2025/07/07 14:13
  • (external edit)