开发者

Syntaxhighlighter is not working

开发者 https://www.devze.com 2023-01-28 16:53 出处:网络
I am using 开发者_如何学Cthe syntaxhighlighter, but it is not working. You can see the page : http://fast-code.sourceforge.net/templates1.htm. Any ideas?

I am using 开发者_如何学Cthe syntaxhighlighter, but it is not working. You can see the page : http://fast-code.sourceforge.net/templates1.htm. Any ideas?

EDIT : It is working okay now but But now a strange scroll is coming as shown below.

Syntaxhighlighter is not working


I copied your html into a page on my site. I didn't change much. Here are all the changes that I made:

  1. Changed the references to use my copy of SyntaxHighlighter. This was only necessary to make it work behind my domain.
  2. Changed the reference to your css from a relative path to a fully qualified path. Yes I am leaching your css from you...hope you don't mind ;)
  3. Removed the 'autoloader' stuff. I think this is the big issue.

Here is a link to a working page:

http://bobcravens.com/demos/test/syntax.html

View source on it and you should be able to make modifications to your original.

Hope this helps.

Bob

0

精彩评论

暂无评论...
验证码 换一张
取 消