目前在做公司的OA,现在有这么一个模块:
网址收藏。就是可以实现对超链接直接右击鼠标,鼠标内有这么一个选项:收藏到OA然后就可以直接收藏到oa里自己的网址收藏里面。这个该怎么实现?使用java能做么?求大神。java
网址收藏。就是可以实现对超链接直接右击鼠标,鼠标内有这么一个选项:收藏到OA然后就可以直接收藏到oa里自己的网址收藏里面。这个该怎么实现?使用java能做么?求大神。java
解决方案 »
- jdbctemplate query问题
- struts2 拦截器类的问题
- 本人菜鸟~急需帮助~~关于FORM的struts标准的··当转换页面时会变成空白页
- 还是关于通用泛型DAO的理解和实现
- 请问一下什么我加的Hibernate包不能使用MyEclipse工具生成实体类和映射文件?
- 一个struts标志的输出值如何作为另一个标志的属性值
- 两个有关EJB的问题
- servlet连接EJB问题
- WAR包里的类怎么调用同在这个WAR包中WEB_INF目录下的一个配置文件?
- 更换jdk至1.8版本之后还是提示Unsupported major.nor version 52.0
- 如何让每个用户将收到的信息发送到自己的页面
- 关于hibernate的dao层的问题
<HEAD>
</HEAD>
<BODY oncontextmenu="return false">
<SCRIPT>
var menutime1=null,showobjs1=null
function document.onmouseup(){if(event.button==2)menushow(menu2,60,20);else if(event.button==1&&event.srcElement.tagName!="roundrect"){clearInterval(menutime1);menutime1=null;menuclose(menu2,30)}}
function menushow(showobjs,showwid,showsudu){
if(menutime1!=null){clearInterval(menutime1);menutime1=null}
showobjs.style.left=event.x;showobjs.style.top=event.y;
showobjs1=showobjs.all.tags("roundrect");var showlens=showobjs1.length
for(i=0;i<showlens;i++){showobjs1[i].style.width=0;showobjs1[i].style.visibility="hidden"}
showobjs.style.display=""
menutime1=setInterval("for(i=0;i<"+showlens+";i++){showobjs1[i].style.visibility='';if(showobjs1[i].offsetWidth<"+showwid+"){showobjs1[i].style.width=showobjs1[i].offsetWidth+"+showsudu+";break;}else{if(i=="+(showlens-1)+"){clearInterval(menutime1);menutime1=null}}}",20)
}
function menuclose(showobjs2,showsudu2){
if(menutime1!=null)return false
showobjs1=showobjs2.all.tags("roundrect");var showlens=showobjs1.length-1
menutime1=setInterval("for(i="+showlens+";i>-1;i--){if(showobjs1[i].offsetWidth>0){try{showobjs1[i].style.width=showobjs1[i].offsetWidth-"+showsudu2+";break;}catch(e){showobjs1[i].style.visibility='hidden';if(i==0){clearInterval(menutime1);menutime1=null}}}}",20)
}
</SCRIPT>
<SPAN id=menu2 onmouseover="if(event.srcElement.tagName=='roundrect'){event.srcElement.strokecolor='blue';event.srcElement.style.color='blue';event.srcElement.style.marginLeft=10}" style="DISPLAY: none; FONT-SIZE: 12px; Z-INDEX: 40000; LEFT: 395px; CURSOR: hand; COLOR: #739efe;FONT-FAMILY: 宋体; POSITION: absolute; TOP: 210px" onmouseout="if(event.srcElement.tagName=='roundrect'){event.srcElement.strokecolor='#739EFE';event.srcElement.style.color='#739EFE';event.srcElement.style.marginLeft=0}">
<v:roundrect class=menulist arcsize = ".5" coordsize = "21600,21600" fillcolor = "#739efe" strokecolor = "#739efe"><v:fill type = "gradient" opacity = "26214f" color2 ="white" angle = "50"></v:fill><a href="http://www.zzjs.net">aaa</a></v:roundrect><BR>
<v:roundrect class=menulist arcsize = ".5" coordsize = "21600,21600" fillcolor = "#739efe" strokecolor ="#739efe">
<v:fill type = "gradient" opacity = "26214f" color2 = "white" angle ="50"></v:fill><a href="<#ZC_BLOG_HOST#>cat=1">bb</a></v:roundrect><BR><v:roundrect class=menulist arcsize = ".5" coordsize = "21600,21600" fillcolor = "#739efe" strokecolor = "#739efe">
<v:fill type = "gradient" opacity = "26214f" color2 = "white" angle = "50"></v:fill>ddd</v:roundrect><BR>
<v:roundrect onmouseup=menuclose(menu2,30) class=menulist arcsize = ".5" coordsize = "21600,21600" fillcolor = "#739efe"
strokecolor = "#739efe"><v:fill type = "gradient" opacity = "26214f" color2 ="white" angle = "50"></v:fill>ddd</v:roundrect> </SPAN>
</BODY>
</HTML>搜的例子,看看