본문 바로가기

스크립트/[Embed]flash,etc...

플래시 페이지 테두리 않보이게 하기! (이올라스패치)


플래시 페이지 테두리 않보이게 하기! (이올라스패치)

제가 사용하는 초 간단 방법입니다.

요즘은 어도비 드림위버에서 기본적으로 js 를 포함시키고 자동 변형 시켜주지만(스크립트 방법으로)

저같으 경우에는 그런 방법을 쓴다면, 모든 페이지를 의무적으로 드림위버의 형식을 적용해야 하므로,

그냥 아래의 방법을 사용합합니다.

소스 사용법은
<html> <head> <title></title> <script src="iezn_embed_patch.js" type="text/javascript"></script> <style type="text/css">.another_category { border: 1px solid #E5E5E5; padding: 10px 10px 5px; margin: 10px 0; clear: both; } .another_category h4 { font-size: 12px !important; margin: 0 !important; border-bottom: 1px solid #E5E5E5 !important; padding: 2px 0 6px !important; } .another_category h4 a { font-weight: bold !important; } .another_category table { table-layout: fixed; border-collapse: collapse; width: 100% !important; margin-top: 10px !important; } * html .another_category table { width: auto !important; } *:first-child + html .another_category table { width: auto !important; } .another_category th, .another_category td { padding: 0 0 4px !important; } .another_category th { text-align: left; font-size: 12px !important; font-weight: normal; word-break: break-all; overflow: hidden; line-height: 1.5; } .another_category td { text-align: right; width: 80px; font-size: 11px; } .another_category th a { font-weight: normal; text-decoration: none; border: none !important; } .another_category th a.current { font-weight: bold; text-decoration: none !important; border-bottom: 1px solid !important; } .another_category th span { font-weight: normal; text-decoration: none; font: 10px Tahoma, Sans-serif; border: none !important; } .another_category_color_gray, .another_category_color_gray h4 { border-color: #E5E5E5 !important; } .another_category_color_gray * { color: #909090 !important; } .another_category_color_gray th a.current { border-color: #909090 !important; } .another_category_color_gray h4, .another_category_color_gray h4 a { color: #737373 !important; } .another_category_color_red, .another_category_color_red h4 { border-color: #F6D4D3 !important; } .another_category_color_red * { color: #E86869 !important; } .another_category_color_red th a.current { border-color: #E86869 !important; } .another_category_color_red h4, .another_category_color_red h4 a { color: #ED0908 !important; } .another_category_color_green, .another_category_color_green h4 { border-color: #CCE7C8 !important; } .another_category_color_green * { color: #64C05B !important; } .another_category_color_green th a.current { border-color: #64C05B !important; } .another_category_color_green h4, .another_category_color_green h4 a { color: #3EA731 !important; } .another_category_color_blue, .another_category_color_blue h4 { border-color: #C8DAF2 !important; } .another_category_color_blue * { color: #477FD6 !important; } .another_category_color_blue th a.current { border-color: #477FD6 !important; } .another_category_color_blue h4, .another_category_color_blue h4 a { color: #1960CA !important; } .another_category_color_violet, .another_category_color_violet h4 { border-color: #E1CEEC !important; } .another_category_color_violet * { color: #9D64C5 !important; } .another_category_color_violet th a.current { border-color: #9D64C5 !important; } .another_category_color_violet h4, .another_category_color_violet h4 a { color: #7E2CB5 !important; } </style> <link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/style/revenue.css"/> <link rel="canonical" href="https://js-script.tistory.com/entry/%ED%94%8C%EB%9E%98%EC%8B%9C-%ED%8E%98%EC%9D%B4%EC%A7%80-%ED%85%8C%EB%91%90%EB%A6%AC-%EC%95%8A%EB%B3%B4%EC%9D%B4%EA%B2%8C-%ED%95%98%EA%B8%B0-%EC%9D%B4%EC%98%AC%EB%9D%BC%EC%8A%A4%ED%8C%A8%EC%B9%98"/> <!-- BEGIN STRUCTURED_DATA --> <script type="application/ld+json"> {"@context":"http://schema.org","@type":"BlogPosting","mainEntityOfPage":{"@id":"https://js-script.tistory.com/entry/%ED%94%8C%EB%9E%98%EC%8B%9C-%ED%8E%98%EC%9D%B4%EC%A7%80-%ED%85%8C%EB%91%90%EB%A6%AC-%EC%95%8A%EB%B3%B4%EC%9D%B4%EA%B2%8C-%ED%95%98%EA%B8%B0-%EC%9D%B4%EC%98%AC%EB%9D%BC%EC%8A%A4%ED%8C%A8%EC%B9%98","name":null},"url":"https://js-script.tistory.com/entry/%ED%94%8C%EB%9E%98%EC%8B%9C-%ED%8E%98%EC%9D%B4%EC%A7%80-%ED%85%8C%EB%91%90%EB%A6%AC-%EC%95%8A%EB%B3%B4%EC%9D%B4%EA%B2%8C-%ED%95%98%EA%B8%B0-%EC%9D%B4%EC%98%AC%EB%9D%BC%EC%8A%A4%ED%8C%A8%EC%B9%98","headline":"플래시 페이지 테두리 않보이게 하기! (이올라스패치)","description":"플래시 페이지 테두리 않보이게 하기! (이올라스패치) 제가 사용하는 초 간단 방법입니다. 요즘은 어도비 드림위버에서 기본적으로 js 를 포함시키고 자동 변형 시켜주지만(스크립트 방법으로) 저같으 경우에는 그런 방법을 쓴다면, 모든 페이지를 의무적으로 드림위버의 형식을 적용해야 하므로, 그냥 아래의 방법을 사용합합니다. 소스 사용법은 js 파일 입니다. *참고 사항 미니위니 갤러리 flashvars 를 사용하는 경우로 force object 를 추가해 주셔야 합니다 iezn_embed_patch.js 파일내에 var __flash_force_objs = {} 부분을 var __flash_force_objs = {miniwiniFlashGallery:true} 로 변경후 일반패치방법 적용 제로보드 제로보드는..","author":{"@type":"Person","name":"Font_Charisma","logo":null},"image":{"@type":"ImageObject","url":"https://img1.daumcdn.net/thumb/R800x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Ftistory_admin%2Fstatic%2Fimages%2FopenGraph%2Fopengraph.png","width":"800px","height":"800px"},"datePublished":"20081007T01:14:08","dateModified":"20081024T05:51:00","publisher":{"@type":"Organization","name":"TISTORY","logo":{"@type":"ImageObject","url":"https://t1.daumcdn.net/tistory_admin/static/images/openGraph/opengraph.png","width":"800px","height":"800px"}}} </script> <!-- END STRUCTURED_DATA --> <link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/style/dialog.css"/> <link rel="stylesheet" type="text/css" href="//t1.daumcdn.net/tistory_admin/www/style/top/font.css"/> <link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/style/postBtn.css"/> <link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/style/comment.css"/> <link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/style/tistory.css"/> <script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/script/common.js"></script> <script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/script/comment.js" defer=""></script> </head> <body> <script type="text/javascript">(function($) { $(document).ready(function() { lightbox.options.fadeDuration = 200; lightbox.options.resizeDuration = 200; lightbox.options.wrapAround = false; lightbox.options.albumLabel = "%1 / %2"; }) })(tjQuery);</script> <div style="margin:0; padding:0; border:none; background:none; float:none; clear:none; z-index:0"></div> <script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/script/common.js"></script> <script type="text/javascript">window.roosevelt_params_queue = window.roosevelt_params_queue || [{channel_id: 'dk', channel_label: '{tistory}'}]</script> <script type="text/javascript" src="//t1.daumcdn.net/midas/rt/dk_bt/roosevelt_dk_bt.js" async="async"></script> <script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-dcd72a92cfa46d05916d7729aa74e508c9f6ce4f/static/script/menubar.min.js"></script> <script>window.tiara = {"svcDomain":"user.tistory.com","section":"글뷰","trackPage":"글뷰_보기","page":"글뷰","key":"160461-15","customProps":{"userId":"0","blogId":"160461","entryId":"15","role":"guest","trackPage":"글뷰_보기","filterTarget":false},"entry":{"entryId":"15","categoryName":"스크립트/[Embed]flash,etc...","categoryId":"168893","author":"170047","image":"","plink":"/entry/%ED%94%8C%EB%9E%98%EC%8B%9C-%ED%8E%98%EC%9D%B4%EC%A7%80-%ED%85%8C%EB%91%90%EB%A6%AC-%EC%95%8A%EB%B3%B4%EC%9D%B4%EA%B2%8C-%ED%95%98%EA%B8%B0-%EC%9D%B4%EC%98%AC%EB%9D%BC%EC%8A%A4%ED%8C%A8%EC%B9%98","tags":["flash","flv","JS","swf","스크립트","이올라스","테두리","패치","플래시"]},"kakaoAppKey":"3e6ddd834b023f24221217e370daed18","appUserId":"null"}</script> <script type="module" src="https://t1.daumcdn.net/tistory_admin/frontend/tiara/v1.0.0/index.js"></script> <script src="https://t1.daumcdn.net/tistory_admin/frontend/tiara/v1.0.0/polyfills-legacy.min.js" nomodule="true" defer="true"></script> <script src="https://t1.daumcdn.net/tistory_admin/frontend/tiara/v1.0.0/index-legacy.js" nomodule="true" defer="true"></script> </body> </html>


js 파일 입니다.



*참고 사항

미니위니 갤러리
flashvars 를 사용하는 경우로 force object 를 추가해 주셔야 합니다
iezn_embed_patch.js 파일내에
var __flash_force_objs = {} 부분을
var __flash_force_objs = {miniwiniFlashGallery:true}
로 변경후 일반패치방법 적용

제로보드
제로보드는 lib.php 에서...</head> 를 검색해서 그 위에 스크립트소스를 넣어주시고 iezn_embed_patch.js 화일을 제로보드 폴더에 넣어주시면 됩니다.
* 알릭님 글 참고

참고사항
DOM 으로 엑세스를 하므로 HTML문서 구조가 깨져있는경우(body 태그가 2개라던가 아니면 테이블태그나 기타 태그에 오류가 있는경우)
에는 올바르게 패치되지 않을 수 있습니다.
브라우져 출력이 태그에 대하 상당히 관대하기 때문에 HTML 태그가 올바르지 않더라도 사용자가 보기에는 별 이상없이 출력 되지만
HTML 구조를 파싱하는 방식에서는 오류가 발생 할 수 있습니다

소스내 자바스크립트 에러가 있으면 안됩니다
브라우져 하단에 자바스크립트 에러메세지가 있는 홈페이지에는 적용하셔도 효과를 보실 수 없을 수 있습니다


Object 태그의 classid 기반이기때문에 올바르지 않은 Object나 허용되지 않은 classid 에 대하여는 원본 그대로 출력합니다
현재는 플래쉬와 미디어 플래어어기반 패치만 적용됩니다

소스 제작 한 곳입니다.
http://www.iezn.com/test/ie/index.php

내 윈도우 자체적으로 해결하려면 아래 클릭.