1 Star 0 Fork 6

陈思聿 / weaver_work

forked from wanghr / weaver_work 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
convert.eclick 2.17 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
wanghr 提交于 2015-01-21 16:08 . 修改了eclick提示信息
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript">
function setParam(){
var eclick_path = window.location.href.replace("file:///","");
var project_path = eclick_path.substring(0,eclick_path.lastIndexOf('weaver_work'))+'weaver_work';
var worksa = document.getElementById('workDiv').getElementsByTagName('a');
for(var i=0;i<worksa.length;i++){
worksa[i].href=worksa[i].href+'&project_path='+project_path;
}
}
function showMsg(ela,msgDiv){
var msg = document.getElementById(msgDiv);
if(ela.innerHTML.indexOf('+')==0){
msg.style.display='block';
ela.innerHTML = ela.innerHTML.replace('+','-');
}else if(ela.innerHTML.indexOf('-')==0){
msg.style.display='none';
ela.innerHTML = ela.innerHTML.replace('-','+');
}
}
</script>
</head>
<body onload="setParam()">
<a href="#" onclick="showMsg(this,'show1')" style="text-decoration:none;font-size:14px;">+ IDE常用设置</a>
<br/>
<br/>
<br/>
<br/>
old源码 -> JSP -> new源码 <a href="#" onclick="showMsg(this,'show')" style="text-decoration:none;font-size:14px;">+ 自动刷新配置</a><BR/><BR/>
<div id="workDiv">
<a href="http://localhost:8080/weaver_work/convert.jsp?work=toJsp" target="toJspInfo">old源码->JSP</a>
info:<span style="border:solid 1px;"><iframe name="toJspInfo" frameborder="0" scrolling="no" style="height:25px;width:150px;"></iframe></span>
<br/>
<span style="margin-left:65px;"></span><a href="http://localhost:8080/weaver_work/convert.jsp?work=toSrc" target="toSrcInfo">JSP->new源码</a>
info:<span style="border:solid 1px;"><iframe name="toSrcInfo" frameborder="0" scrolling="no" style="height:25px;width:150px;"></iframe></span>
</div>
<br/>
<br/>
<br/>
<br/>
<div id="show" style="display:none;font-size:14px;">
(window->Preferences->General->Workspace->选中Refresh automatically)有些版本选项不一样如下<br/>
(window->Preferences->General->Workspace->选中勾选选项:refresh using native hooks or polling和refresh on access)
</div>
<div id="show1" style="display:none;font-size:14px;">
1、当Eclipse页面窗口混乱时,请点击Window->Reset Perspective(透视)
</div>
</body>
</html>
1
https://gitee.com/icegroup/weaver_work.git
git@gitee.com:icegroup/weaver_work.git
icegroup
weaver_work
weaver_work
master

搜索帮助

14c37bed 8189591 565d56ea 8189591