文件名称:yuanDaiMaXuanRan

  • 所属分类:
  • JSP源码/Java
  • 资源属性:
  • [MacOS] [Java] [源码]
  • 上传时间:
  • 2015-06-23
  • 文件大小:
  • 275kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 何**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

利用syntaxhighlighter开源渲染插件,完成自动查看源码并对源码进行高亮渲染的功能。本例基于ssh,但可根据你的要求修改,因为主要用到的是js效果。

步骤:

1.合理放置syntaxhighlighter(js)的文件夹

2.页面上引用add_js_java.js

3.页面上添加id为add-lookCode的div

4.修改js中的跳转路径为你放置add_js_java.jsp的路径

5.合理放置控制器AddJSJava.java

效果:

页面id为add-lookCode的div处生成“查看源码”按钮,点击后,弹出网页源码并已被高亮渲染。-Using syntaxhighlighter open source rendering plug-in, complete automatic check the source and the source of features are highlighted.In this case, based on SSH, but can be modified according to your requirements, is used as main js effect.

Steps:

1. Reasonable placed syntaxhighlighter (js) folder

2. Page references add_js_java. Js

3. The page to add the id for the add- lookCode div

4. Modify the js jump in the path for you placed add_js_java. The path of the JSP

5. Reasonable placement controller AddJSJava. Java

Effect:

Page id of the add- lookCode div generation view source button, click later, fill out this website source code and has been the highlight color.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





yuanDaiMaXuanRan

................\AddJSJava.java

................\add_js_java.js

................\add_js_java.jsp

................\syntaxhighlighter

................\.................\LGPL-LICENSE

................\.................\MIT-LICENSE

................\.................\compass

................\.................\.......\_theme_template.scss

................\.................\.......\config.rb

................\.................\.......\shCore.scss

................\.................\.......\shCoreDefault.scss

................\.................\.......\shCoreDjango.scss

................\.................\.......\shCoreEclipse.scss

................\.................\.......\shCoreEmacs.scss

................\.................\.......\shCoreFadeToGrey.scss

................\.................\.......\shCoreMDUltra.scss

................\.................\.......\shCoreMidnight.scss

................\.................\.......\shCoreRDark.scss

................\.................\.......\shThemeDefault.scss

................\.................\.......\shThemeDjango.scss

................\.................\.......\shThemeEclipse.scss

................\.................\.......\shThemeEmacs.scss

................\.................\.......\shThemeFadeToGrey.scss

................\.................\.......\shThemeMDUltra.scss

................\.................\.......\shThemeMidnight.scss

................\.................\.......\shThemeRDark.scss

................\.................\index.html

................\.................\scripts

................\.................\.......\shAll.js

................\.................\.......\shAll2.js

................\.................\.......\shAutoloader.js

................\.................\.......\shBrushAS3.js

................\.................\.......\shBrushAppleScript.js

................\.................\.......\shBrushBash.js

................\.................\.......\shBrushCSharp.js

................\.................\.......\shBrushColdFusion.js

................\.................\.......\shBrushCpp.js

................\.................\.......\shBrushCss.js

................\.................\.......\shBrushDelphi.js

................\.................\.......\shBrushDiff.js

................\.................\.......\shBrushErlang.js

................\.................\.......\shBrushGroovy.js

................\.................\.......\shBrushJScript.js

................\.................\.......\shBrushJava.js

................\.................\.......\shBrushJavaFX.js

................\.................\.......\shBrushPerl.js

................\.................\.......\shBrushPhp.js

................\.................\.......\shBrushPlain.js

................\.................\.......\shBrushPowerShell.js

................\.................\.......\shBrushPython.js

................\.................\.......\shBrushRuby.js

................\.................\.......\shBrushSass.js

................\.................\.......\shBrushScala.js

................\.................\.......\shBrushSql.js

................\.................\.......\shBrushVb.js

................\.................\.......\shBrushXml.js

................\.................\.......\shCore.js

................\.................\.......\shLegacy.js

................\.................\src

................\.................\...\shAutoloader.js

................\.................\...\shCore.js

................\.................\...\shLegacy.js

................\.................\styles

................\.................\......\shCore.css

................\.................\......\shCoreDefault.css

................\.................\......\shCoreDjango.css

................\.................\......\shCoreEclipse.css

................\.................\......\shCoreEmacs.css

................\.................\......\shCoreFadeToGrey.css

................\.................\......\shCoreMDUltra.css

................\.................\......\shCoreMidnight.css

................\.................\......\shCoreRDark.css

................\...........

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org