• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
rosewiper / itsm_git star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
itsm_gitsrcmainwebappse2jsserviceHuskyEZCreator.js
Download as .zip file
File name
Commit message
Commit date
DATABASE
첫번째 커밋
06-19
service/impl
첫번째 커밋
06-19
src/main
첫번째 커밋
06-19
web
첫번째 커밋
06-19
.gitignore
첫번째 커밋
06-19
pom.xml
첫번째 커밋
06-19
searchQuery.sql
첫번째 커밋
06-19
File name
Commit message
Commit date
java/egovframework
첫번째 커밋
06-19
resources
첫번째 커밋
06-19
webapp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
WEB-INF
첫번째 커밋
06-19
common
첫번째 커밋
06-19
crosseditor/binary/images
첫번째 커밋
06-19
css
첫번째 커밋
06-19
direct
첫번째 커밋
06-19
font-flexslider
첫번째 커밋
06-19
fonts
첫번째 커밋
06-19
html
첫번째 커밋
06-19
images
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
se2
첫번째 커밋
06-19
sso
첫번째 커밋
06-19
email.txt
첫번째 커밋
06-19
engleftmenu03.html
첫번째 커밋
06-19
engleftmenu04.html
첫번째 커밋
06-19
engleftmenu05.html
첫번째 커밋
06-19
engleftmenu06.html
첫번째 커밋
06-19
index.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
css
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
photo_uploader
첫번째 커밋
06-19
SmartEditor2.html
첫번째 커밋
06-19
SmartEditor2Skin.html
첫번째 커밋
06-19
SmartEditor2Skin_en_US.html
첫번째 커밋
06-19
SmartEditor2Skin_ja_JP.html
첫번째 커밋
06-19
SmartEditor2Skin_ko_KR.html
첫번째 커밋
06-19
SmartEditor2Skin_zh_CN.html
첫번째 커밋
06-19
SmartEditor2Skin_zh_TW.html
첫번째 커밋
06-19
SmartEditor2noframe.html
첫번째 커밋
06-19
smart_editor2_inputarea.html
첫번째 커밋
06-19
smart_editor2_inputarea_ie8.html
첫번째 커밋
06-19
File name
Commit message
Commit date
lib
첫번째 커밋
06-19
service
첫번째 커밋
06-19
smarteditor2.js
첫번째 커밋
06-19
smarteditor2.min.js
첫번째 커밋
06-19
File name
Commit message
Commit date
HuskyEZCreator.js
첫번째 커밋
06-19
SE2BasicCreator.js
첫번째 커밋
06-19
SE2M_Configuration.js
첫번째 커밋
06-19
hp_SE2M_AttachQuickPhoto.js
첫번째 커밋
06-19
hp_SE_OuterIFrameControl.js
첫번째 커밋
06-19
hp_SE_ToolbarToggler.js
첫번째 커밋
06-19
husky_SE2B_Lang_en_US.js
첫번째 커밋
06-19
husky_SE2B_Lang_ja_JP.js
첫번째 커밋
06-19
husky_SE2B_Lang_ko_KR.js
첫번째 커밋
06-19
husky_SE2B_Lang_zh_CN.js
첫번째 커밋
06-19
husky_SE2B_Lang_zh_TW.js
첫번째 커밋
06-19
rosewiper 06-19 7ef7d0e 첫번째 커밋 UNIX
Raw Open in browser Change history
/* Copyright (C) NAVER corp. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ if(typeof window.nhn=='undefined') window.nhn = {}; if (!nhn.husky) nhn.husky = {}; /** * @fileOverview This file contains application creation helper function, which would load up an HTML(Skin) file and then execute a specified create function. * @name HuskyEZCreator.js */ nhn.husky.EZCreator = new (function(){ this.nBlockerCount = 0; this.createInIFrame = function(htOptions){ if(arguments.length == 1){ var oAppRef = htOptions.oAppRef; var elPlaceHolder = htOptions.elPlaceHolder; var sSkinURI = htOptions.sSkinURI; var fCreator = htOptions.fCreator; var fOnAppLoad = htOptions.fOnAppLoad; var bUseBlocker = htOptions.bUseBlocker; var htParams = htOptions.htParams || null; }else{ // for backward compatibility only var oAppRef = arguments[0]; var elPlaceHolder = arguments[1]; var sSkinURI = arguments[2]; var fCreator = arguments[3]; var fOnAppLoad = arguments[4]; var bUseBlocker = arguments[5]; var htParams = arguments[6]; } if(bUseBlocker) nhn.husky.EZCreator.showBlocker(); var attachEvent = function(elNode, sEvent, fHandler){ if(elNode.addEventListener){ elNode.addEventListener(sEvent, fHandler, false); }else{ elNode.attachEvent("on"+sEvent, fHandler); } } if(!elPlaceHolder){ alert("Placeholder is required!"); return; } if(typeof(elPlaceHolder) != "object") elPlaceHolder = document.getElementById(elPlaceHolder); var elIFrame, nEditorWidth, nEditorHeight; try{ elIFrame = document.createElement("<IFRAME frameborder=0 scrolling=no>"); }catch(e){ elIFrame = document.createElement("IFRAME"); elIFrame.setAttribute("frameborder", "0"); elIFrame.setAttribute("scrolling", "no"); } elIFrame.style.width = "1px"; elIFrame.style.height = "1px"; elPlaceHolder.parentNode.insertBefore(elIFrame, elPlaceHolder.nextSibling); attachEvent(elIFrame, "load", function(){ fCreator = elIFrame.contentWindow[fCreator] || elIFrame.contentWindow.createSEditor2; // top.document.title = ((new Date())-window.STime); // window.STime = new Date(); try{ nEditorWidth = elIFrame.contentWindow.document.body.scrollWidth || "500px"; nEditorHeight = elIFrame.contentWindow.document.body.scrollHeight + 12; elIFrame.style.width = "100%"; elIFrame.style.height = nEditorHeight+ "px"; elIFrame.contentWindow.document.body.style.margin = "0"; }catch(e){ nhn.husky.EZCreator.hideBlocker(true); elIFrame.style.border = "5px solid red"; elIFrame.style.width = "500px"; elIFrame.style.height = "500px"; alert("Failed to access "+sSkinURI); return; } var oApp = fCreator(elPlaceHolder, htParams); // oEditor oApp.elPlaceHolder = elPlaceHolder; oAppRef[oAppRef.length] = oApp; if(!oAppRef.getById) oAppRef.getById = {}; if(elPlaceHolder.id) oAppRef.getById[elPlaceHolder.id] = oApp; oApp.run({fnOnAppReady:fOnAppLoad}); // top.document.title += ", "+((new Date())-window.STime); nhn.husky.EZCreator.hideBlocker(); }); // window.STime = new Date(); elIFrame.src = sSkinURI; this.elIFrame = elIFrame; }; this.showBlocker = function(){ if(this.nBlockerCount<1){ var elBlocker = document.createElement("DIV"); elBlocker.style.position = "absolute"; elBlocker.style.top = 0; elBlocker.style.left = 0; elBlocker.style.backgroundColor = "#FFFFFF"; elBlocker.style.width = "100%"; document.body.appendChild(elBlocker); nhn.husky.EZCreator.elBlocker = elBlocker; } nhn.husky.EZCreator.elBlocker.style.height = Math.max(document.body.scrollHeight, document.body.clientHeight)+"px"; this.nBlockerCount++; }; this.hideBlocker = function(bForce){ if(!bForce){ if(--this.nBlockerCount > 0) return; } this.nBlockerCount = 0; if(nhn.husky.EZCreator.elBlocker) nhn.husky.EZCreator.elBlocker.style.display = "none"; } })();

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up