<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>당신만의 모바일 초대장, 초청장 -인바이트미- &amp;gt; 고객센터 &amp;gt; 테크게시판</title>
<link>https://inviteme.kr/tech</link>
<description>테스트 버전 0.2 (2004-04-26)</description>
<language>ko</language>


<item>
<title>메뉴 클릭시(action) 액션 인식으로 음악 자동 재생 하기</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>메뉴 클릭시(action) 액션 인식으로 음악 자동 재생 하기</p><p><br /></p><p>조건</p><p><br /></p><p>1. 자동 재생 중이면 계속 자동 재생<br />2. 재생중이 아닐 경우 메뉴 클릭 시 음악 재생</p><p>3. 사용자가 음악 OFF 시에는 메뉴 클릭 해도 음악 재생 안 함<br /> </p><p>&lt;?php include_once('header.php'); ?&gt;</p><p>&lt;body&gt;</p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;button onclick="PlayStop()" type="button" id="musicb"&gt;Music On/Off&lt;/button&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;audio id="audioID" autoplay loop&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>&lt;source src="music.mp3?ver=&lt;?php echo $today; ?&gt;" type="audio/mp3"&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;/audio&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;script&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>var myaudio = document.getElementById("audioID");</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>var userStopped = false;</span></p><p><br /></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>function PlayStop() {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>if (!myaudio.paused) {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>myaudio.pause();</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>userStopped = true;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>} else {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>myaudio.play();</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>userStopped = false;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>}</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>}</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>function playOnLinkClick() {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>if (myaudio.paused &amp;&amp; !userStopped) {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>myaudio.play();</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>}</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>}</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;/script&gt;</span></p><p><br /></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;div class="swiper-container"&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>&lt;div class="swiper-wrapper"&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>&lt;div class="swiper-slide imagemap"&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>&lt;img src="images/main.png?ver=&lt;?php echo $today; ?&gt;"&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>&lt;a class="link01" href="menu01.php" target="_BLANK" onclick="playOnLinkClick()"&gt;&lt;/a&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>&lt;a class="link02" href="menu02.php" target="_BLANK" onclick="playOnLinkClick()"&gt;&lt;/a&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>&lt;a class="link03" href="menu03.php" target="_BLANK" onclick="playOnLinkClick()"&gt;&lt;/a&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">				</span>&lt;a class="link04" href="myseat.php" target="_BLANK" onclick="playOnLinkClick()"&gt;&lt;/a&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>&lt;/div&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>&lt;/div&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;/div&gt;</span></p><p>&lt;/body&gt;</p><p>&lt;/html&gt;</p><div><br /></div>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Thu, 13 Nov 2025 20:43:13 +0900</dc:date>
</item>


<item>
<title>해시태그 복사</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>&lt;div class="link01"&gt;&lt;/div&gt;</p><p><br /></p><p>&lt;script&gt;</p><p>  document.querySelector('.link01').addEventListener('click', function() {</p><p>    const hashtags = `#삼성오디세이 #odysseystation #samsungodyssey</p><p>#오디세이OLED #게이밍모니터 #삼성모니터 #삼성전자 #samsung #주말나들이 #팝업스토어</p><p>@samsungkorea`;</p><p><br /></p><p>    // 복사 기능</p><p>    if (navigator.clipboard) {</p><p>      navigator.clipboard.writeText(hashtags).then(() =&gt; {</p><p>        alert('해시태그가 복사되었습니다!');</p><p>      }).catch(err =&gt; {</p><p>        alert('복사에 실패했습니다. 다시 시도해주세요.');</p><p>      });</p><p>    } else {</p><p>      // 구형 브라우저 대응</p><p>      const textarea = document.createElement('textarea');</p><p>      textarea.value = hashtags;</p><p>      document.body.appendChild(textarea);</p><p>      textarea.select();</p><p>      try {</p><p>        document.execCommand('copy');</p><p>        alert('해시태그가 복사되었습니다!');</p><p>      } catch (err) {</p><p>        alert('복사에 실패했습니다. 다시 시도해주세요.');</p><p>      }</p><p>      document.body.removeChild(textarea);</p><p>    }</p><p>  });</p><p>&lt;/script&gt;</p><div><br /></div>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Tue, 11 Nov 2025 18:54:46 +0900</dc:date>
</item>


<item>
<title>swiper slide 시 음악 재생 제어</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>swiper slide 시 음악 재생 제어<br /> </p><p>&lt;button onclick="PlayStop()" type="button" id="musicb"&gt;Music On/Off&lt;/button&gt;</p><p>&lt;audio id="audioID" autoplay loop&gt;</p><p>    &lt;source src="music.mp3" type="audio/mp3"&gt;</p><p>&lt;/audio&gt;</p><p><br /></p><p><br /></p><p>&lt;script&gt;</p><p>    var myaudio = document.getElementById("audioID");</p><p>    var userStopped = false; // 사용자가 수동으로 멈췄는지 여부</p><p><br /></p><p>    function PlayStop() {</p><p>        if (myaudio.paused) {</p><p>            myaudio.play();</p><p>            userStopped = false; // 수동 재생 시 false로 설정</p><p>        } else {</p><p>            myaudio.pause();</p><p>            userStopped = true; // 수동 정지 시 true로 설정</p><p>        }</p><p>    }</p><p><br /></p><p>    // Swiper 슬라이드 초기화 및 이벤트</p><p>    var swiper = new Swiper('.swiper-container', {</p><p>        mode: 'horizontal',</p><p>        autoHeight: true,</p><p>        navigation: {</p><p>            nextEl: '.swiper-button-next',</p><p>            prevEl: '.swiper-button-prev',</p><p>        },</p><p>        on: {</p><p>            slideChange: function () {</p><p>                window.scrollTo(0, 0);</p><p><br /></p><p>                // 사용자가 멈추지 않았고 음악이 정지 상태라면 재생</p><p>                if (!userStopped &amp;&amp; myaudio.paused) {</p><p>                    myaudio.play();</p><p>                }</p><p>            }</p><p>        }</p><p>    });</p><p>&lt;/script&gt;</p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Wed, 09 Jul 2025 01:13:54 +0900</dc:date>
</item>


<item>
<title>input, select, option 요소에 브라우저 기본 스타일 초가화</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">input, select, option {</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>padding: 0;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>margin: 0;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>border: none;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>background: none;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>font: inherit;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>color: inherit;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>box-sizing: border-box;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>appearance: none;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>-webkit-appearance: none;</span></p><p><span style="white-space:normal;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);"><span style="white-space:pre;font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">	</span>-moz-appearance: none;</span></p><p><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;color:rgb(0,117,200);">}</span></p><div><br /></div><div><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">일부 모바일 브라우저나 iOS Safari에서는 </span><code><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">select</span></code><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">에 </span><code><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">appearance: none</span></code><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">을 적용하면 드롭다운이 작동하지 않게 될 수 있음 → 이럴 땐 </span><code><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">select</span></code><span style="font-size:12pt;font-family:'나눔고딕', NanumGothic;">는 따로 관리하거나 디자인 커스텀을 다른 방식으로 접근하는 게 좋음.</span></div>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Wed, 21 May 2025 11:25:24 +0900</dc:date>
</item>


<item>
<title>swiper-slide 에서 이미지 lazy 적용</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>Swiper-slide에서 페이지는 여러개인데 각 페이지의 이미지 용량이 클 경우</p><p>아래와 같은 방식으로 lazy 적용을 해 주면 된다.</p><p><span class="hljs-tag"><br /></span></p><p><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"swiper-slide"</span>&gt;</span> </p><p>    <span class="hljs-tag" style="color:rgb(255,0,0);">&lt;<span class="hljs-name" style="color:rgb(255,0,0);">img</span> <span class="hljs-attr" style="color:rgb(255,0,0);">class</span>=<span class="hljs-string" style="color:rgb(255,0,0);">"swiper-lazy"</span> <span class="hljs-attr" style="color:rgb(255,0,0);">data-src</span>=<span class="hljs-string" style="color:rgb(255,0,0);">"images/01.png"</span>&gt;</span><span style="color:rgb(255,0,0);"> </span></p><p><span style="color:rgb(255,0,0);">    </span><span class="hljs-tag" style="color:rgb(255,0,0);">&lt;<span class="hljs-name" style="color:rgb(255,0,0);">div</span> <span class="hljs-attr" style="color:rgb(255,0,0);">class</span>=<span class="hljs-string" style="color:rgb(255,0,0);">"swiper-lazy-preloader"</span>&gt;</span><span class="hljs-tag" style="color:rgb(255,0,0);">&lt;/<span class="hljs-name" style="color:rgb(255,0,0);">div</span>&gt;</span><span style="color:rgb(255,0,0);"> </span></p><p><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span> </p><p><span class="hljs-comment">&lt;!-- 나머지 슬라이드도 동일하게 설정 --&gt;</span></p><p><br /></p><p>&lt;script&gt;</p><p>    var swiper = new Swiper('.swiper-container', {</p><p>        direction: 'horizontal',</p><p>        autoHeight: true,</p><p>        navigation: {</p><p>            nextEl: '.swiper-button-next',</p><p>            prevEl: '.swiper-button-prev',</p><p>        },</p><p><span style="color:rgb(255,0,0);">        lazy: {</span></p><p><span style="color:rgb(255,0,0);">            loadPrevNext: true, // 다음과 이전 슬라이드도 미리 로드할 수 있습니다.</span></p><p><span style="color:rgb(255,0,0);">        },</span></p><p><span style="color:rgb(255,0,0);">        preloadImages: false, // 미리 이미지를 모두 로드하지 않도록 설정</span></p><p><span style="color:rgb(255,0,0);">        watchSlidesVisibility: true // 슬라이드가 보일 때 이미지를 로드하도록 설정</span></p><p>    });</p><p>&lt;/script&gt;</p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Wed, 25 Sep 2024 07:35:31 +0900</dc:date>
</item>


<item>
<title>카카오맵 지도퍼가기 상호 명칭 바꾸는 방법</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p><span style="white-space:normal;">&lt;!-- * 카카오맵 - 지도퍼가기 --&gt;</span></p><p><span style="white-space:normal;">&lt;!-- 1. 지도 노드 --&gt;</span></p><p><span style="white-space:normal;">&lt;div id="daumRoughmapContainer1711496278199" class="root_daum_roughmap root_daum_roughmap_landing" style="width:100%; margin:5% 0"&gt;&lt;/div&gt;</span></p><p>&lt;!--<br /></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>2. 설치 스크립트</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span> 지도 퍼가기 서비스를 2개 이상 넣을 경우, 설치 스크립트는 하나만 삽입합니다.</span></p><p><span style="white-space:normal;">--&gt;</span></p><p><span style="white-space:normal;">&lt;script charset="UTF-8" class="daum_roughmap_loader_script" src="<a href="https://ssl.daumcdn.net/dmaps/map_js_init/roughmapLoader.js" rel="nofollow">https://ssl.daumcdn.net/dmaps/map_js_init/roughmapLoader.js</a>"&gt;&lt;/script&gt;</span></p><p>&lt;!-- 3. 실행 스크립트 --&gt;<br /></p><p><span style="white-space:normal;">&lt;script charset="UTF-8"&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>new daum.roughmap.Lander({</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>"timestamp" : "1711496278199",</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>"key" : "2ip6y",</span></p><p><span style="white-space:pre;">		</span>"mapHeight" : "300"<br /></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>}).render();</span></p><p><span style="white-space:normal;">&lt;/script&gt;</span></p><p><br /></p><p>위와 같이 소스를 이용했다면 0.5초 후에 해당 클래스에 이름을 덮게 하면 된다.</p><p><br /></p><p><br /></p><p>&lt;script&gt;</p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>setTimeout(function() {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>// 클래스 이름으로 요소를 선택하고 내용 변경</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>const element = document.querySelector('.roughmap_lebel_text');</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>if (element) {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>element.textContent = '수서역 5-1번 출구';</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>} else {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>console.log('원하는 요소를 찾을 수 없습니다.');</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>}</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>}, 500); // 0.5초 후에 실행</span></p><p>  &lt;/script&gt;</p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Wed, 27 Mar 2024 11:42:35 +0900</dc:date>
</item>


<item>
<title>iOS 아이폰 아이패드에서 html 뒷 배경 영상이 재생 안 될 때</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>iOS 아이폰 아이패드에서 html 뒷 배경 영상이 재생 안 될 때<br /></p><p><br /></p><p>&lt;video <span style="background-color:rgb(255,255,255);color:rgb(255,0,0);">muted="" </span>preload="metadata" <span style="color:rgb(255,0,0);">webkit-playsinline="true" playsinline="true"</span>&gt;</p><p><br /></p><p>&lt;/video&gt;</p><div><br /></div><div><br /></div><div><div><b>webkit-playsinline="true":</b> iOS 기반의 웹 브라우저(예: Safari)에서 비디오를 인라인으로 재생하도록 지시합니다. 이 속성은 WebKit 엔진을 사용하는 브라우저에 대한 것입니다.</div><div><br /></div><div><b>playsinline="true": </b>다른 브라우저(예: Chrome, Firefox)에서 비디오를 인라인으로 재생하도록 지시합니다.</div></div>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Thu, 28 Dec 2023 14:20:59 +0900</dc:date>
</item>


<item>
<title>그누보드5, 팝업을 사용자가 드래그 해서 이동할 수 있게 하는 방법.</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>&lt;script src="<a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js</a>"&gt;&lt;/script&gt;</p><p>&lt;script type="text/javascript"&gt;</p><p>    $(document).ready(function(){</p><p>        $(".hd_pops").draggable();</p><p>    });</p><p>&lt;/script&gt;</p><p><br /></p><p>이 소스를 bbs/newwin.in.php &lt;!-- 팝업레이어 시작 { --&gt; 바로 아래에 붙이기만 하면 된다.</p><p><br /></p><p><img src="https://inviteme.kr/data/editor/2311/0bf4bb35cbdf29b0a30025bec9411801_1699722416_4595.png" title="0bf4bb35cbdf29b0a30025bec9411801_1699722416_4595.png" alt="0bf4bb35cbdf29b0a30025bec9411801_1699722416_4595.png" /><br style="clear:both;" /> </p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Sun, 12 Nov 2023 02:06:59 +0900</dc:date>
</item>


<item>
<title>일정시간 간격으로 특정 DIV 새로고침</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p><span style="white-space:pre;">&lt;script src="<a href="https://code.jquery.com/jquery-3.6.0.min.js" rel="nofollow">https://code.jquery.com/jquery-3.6.0.min.js</a>"&gt;&lt;/script&gt;</span> </p><p><span style="white-space:pre;"><br /></span></p><p><span style="white-space:pre;">&lt;div id="newrefresh"&gt; 내용 &lt;/div&gt;</span></p><p><span style="white-space:pre;">&lt;div id="newrefresh2"&gt; 내용 &lt;/div&gt;</span><span style="white-space:pre;"> </span></p><p><span style="white-space:normal;"><span style="white-space:pre;"><br /></span></span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;script&gt;</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>setInterval(function() {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>$("#newrefresh").load(window.location.href + " #newrefresh");</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>}, 5000);</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>setInterval(function() {</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">			</span>$("#newrefresh2").load(window.location.href + " #newrefresh2");</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">		</span>}, 5000);</span></p><p><span style="white-space:normal;"><span style="white-space:pre;">	</span>&lt;/script&gt;</span></p><p><span style="white-space:normal;"><br /></span></p><p><span style="white-space:normal;"><br /></span></p><p>사용용도 : 실시간으로 바뀐 일정표 같은 것을 보여줄 때 소스에서 바꾸면 일반 사용자는 새로고침을 안 해도 볼 수 있게 하는것에 쓰였음....(급박할 때만 사용하시길)<br /><br />편범사용 : node.js 지원하지 않는 호스팅에서 php로 채팅 구현시 한 적 있음. </p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Sun, 12 Nov 2023 01:47:04 +0900</dc:date>
</item>


<item>
<title>그누보드 admin 비밀번호 분실시 간단히 재설정 하는 소스 ( sha256 : 12000 방식)</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"><strong>1)  www/adminpswd.php 라고 파일 이름을 만들어 놓습니다.  (메인디렉토리, 파일이름은 자유)</strong></p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"> </p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"><strong>2)  adminpswd.php 안에 코드 입력</strong></p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"> </p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);">&lt;?php<br />    include_once('./_common.php');</p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);">    $mb_id = "admin"; // 변경하려는 사용자 ID<br />    $new_password = "<span style="background-color:rgb(231,76,60);">your_password</span>"; // 새 비밀번호</p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);">    // 그누보드에서 비밀번호는 get_encrypt_string 함수를 이용하여 암호화됩니다.<br />    // 이 함수는 내부적으로 SHA256을 이용합니다.<br />    $new_password_hashed = get_encrypt_string($new_password);</p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);">    $sql = "UPDATE {$g5['member_table']}<br />            SET mb_password = '".$new_password_hashed."'<br />            WHERE mb_id = '".$mb_id."' ";</p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);">    sql_query($sql);<br />?&gt;</p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"> </p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"><strong>3) your_password에 바꾸고자 하는 암호를 넣습니다.</strong></p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"> </p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"><strong>4) 도메인이 sample.com  이면 sample.com/adminpswd.php 실행.</strong></p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"> </p><p style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14px;background-color:rgb(255,255,255);"><strong>5) 이제 바꾼 암호로 로그인이 됩니다.</strong></p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Tue, 25 Jul 2023 10:54:37 +0900</dc:date>
</item>


<item>
<title>특정 시간 이후로 페이지 사용 가능하게끔 간단한 레이어팝업 공지 올리는 Javascript</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p><b><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">특정 시간 이후로 페이지 사용 가능하게끔 간단한 레이어팝업 공지 올리는 Javascript</span> </b></p><p><b><br /></b></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;"><b>만약 HTML 내용이</b></span></p><p><br /></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;!DOCTYPE html&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;html lang="en"&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;head&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  &lt;meta charset="UTF-8"&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  &lt;title&gt;Time Limited Element&lt;/title&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;/head&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;body&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  &lt;div id="myDiv" style="position:relative;z-index:10000;background-color:rgba(0,0,0,.87);align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%"&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">    &lt;div style="color:#fff;font-size:16px;font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;"&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">      이벤트 페이지&lt;br&gt;준비중&lt;br&gt;&lt;br&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">      (4월9일 오전 9시 오픈)</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">    &lt;/div&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  &lt;/div&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;/body&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;/html&gt;</span></p><p><br /></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;"><b>이렇게라면, javascript는</b></span></p><p><br /></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;script&gt;</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">document.addEventListener('DOMContentLoaded', function() {</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  const myDiv = document.getElementById('myDiv');</span></p><p><br /></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  // 현재 날짜와 시간을 가져옵니다.</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  const now = new Date();</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  </span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  // 2023년 4월 9일 오전 9시의 날짜와 시간을 설정합니다.</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  // 월은 0부터 시작하기 때문에 4월은 3으로 표기합니다.</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  const deadline = new Date(2023, 3, 9, 9, 0, 0);</span></p><p><br /></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  // 현재 시간이 마감 시간 이후라면 myDiv 요소를 숨깁니다.</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  if (now &gt;= deadline) {</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">    myDiv.style.display = 'none';</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">  }</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">});</span></p><p><span style="font-family:'나눔고딕', NanumGothic;font-size:12pt;">&lt;/script&gt;</span></p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Sun, 09 Apr 2023 21:44:30 +0900</dc:date>
</item>


<item>
<title>갑자기 VMware에서 잘 쓰던 윈도우 10 블루스크린 뜨는 경우</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>갑자기 VMware에서 잘 쓰던 윈도우 10 블루스크린 뜨는 경우, 복구를 하든 무엇을 하든 특별한 방법이 없다.<br /></p><p><br /></p><p>unsupported proccessor 라는 에러가 대부분일 것인데, 이런 경우 그냥 Vmware 17 pro로 설치하고 실행하면 된다.</p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Thu, 30 Mar 2023 11:23:46 +0900</dc:date>
</item>


<item>
<title>다음 카카오 지도 API, 지도 이미지 혹은 맵타일 로딩 되다 말 때</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>다음 카카오 지도 API, 지도 이미지 혹은 맵타일 로딩이 되다 말거나 공백으로 나오는 때가 있다.<br /></p><p><br /></p><p>&lt;script charset="UTF-8"&gt;<br /></p><p>   new daum.roughmap.Lander({</p><p>      "timestamp" : "1662428647397",</p><p>      "key" : "2bmjo",</p><p>      "mapHeight" : "260"</p><p>   }).render();</p><p>&lt;/script&gt;</p><p><br /></p><p>위 제공 스크립트에 시간차를 두어 실행하게 하면 된다.</p><p><br /></p><p>예시)</p><p>&lt;script charset="UTF-8"&gt;</p><p><span style="white-space:pre;">	</span><span style="color:rgb(255,0,0);">setTimeout(function() {</span></p><p><span style="white-space:pre;">		</span>new daum.roughmap.Lander({</p><p><span style="white-space:pre;">			</span>"timestamp" : "1662428647397",</p><p><span style="white-space:pre;">			</span>"key" : "2bmjo",</p><p><span style="white-space:pre;">			</span>"mapHeight" : "260"</p><p><span style="white-space:pre;">		</span>}).render();<span style="white-space:pre;">					</span></p><p><span style="white-space:pre;">		</span><span style="color:rgb(255,0,0);">window.dispatchEvent(new Event('resize'));</span></p><p><span style="white-space:pre;color:rgb(255,0,0);">	</span><span style="color:rgb(255,0,0);">},3000);</span></p><p>&lt;/script&gt;</p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Thu, 08 Sep 2022 04:40:26 +0900</dc:date>
</item>


<item>
<title>HTML 웹 상에서 이미지 크기 줄이거나 늘릴 때 흐려지거나 깨지는 현상 해결 방법.</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p>css에 간단하게 하단 붉은색 스타일을 넣어주면 됩니다.<span style="white-space:pre;">	</span></p><p><br /></p><p> img{</p><p><span style="white-space:pre;color:rgb(255,0,0);">	</span><span style="color:rgb(255,0,0);">image-rendering: -webkit-optimize-contrast;</span> </p><p><span style="white-space:pre;color:rgb(255,0,0);">	</span><span style="color:rgb(255,0,0);">transform: translateZ(0);</span></p><p><span style="white-space:pre;color:rgb(255,0,0);">	</span><span style="color:rgb(255,0,0);">backface-visibility: hidden;</span></p><p>    }</p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Mon, 16 May 2022 19:33:34 +0900</dc:date>
</item>


<item>
<title>그누보드에서 클립보드 이미지 복사 붙여넣기 가능하게 하는 방법</title>
<link>https://inviteme.kr/tech</link>
<description><![CDATA[<p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);">/lib/common.lib.php 파일을 열고</span></p><p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);"><br /></span></p><p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);">609번줄 정도에 보시면 </span></p><p><span style="background-color:rgb(255,255,255);"><span style="font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;color:rgb(34,34,34);"><span style="font-size:14.6667px;">$config-&gt;set('Attr.AllowedFrameTargets', array('_blank'));</span></span></span></p><p><span style="background-color:rgb(255,255,255);"><span style="font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;color:rgb(34,34,34);"><span style="font-size:14.6667px;"><br /></span></span></span></p><p><span style="background-color:rgb(255,255,255);"><span style="font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;color:rgb(34,34,34);"><span style="font-size:14.6667px;">라고 있는데 그 아래에 하단 문법을 넣으면 된다.</span></span> </span></p><p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);"><br /></span></p><p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);">$config-&gt;set('URI.AllowedSchemes', array('http' =&gt; true, 'https' =&gt; true, 'data' =&gt; true));</span> </p><p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);"><br /></span></p><p><span style="color:rgb(34,34,34);font-family:'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;font-size:14.6667px;background-color:rgb(255,255,255);"><br /></span></p>]]></description>
<dc:creator>인바이트미</dc:creator>
<dc:date>Tue, 12 Apr 2022 00:02:54 +0900</dc:date>
</item>

</channel>
</rss>
