Вниз
Скачать: CL | DM;

Подсветка синтаксиса кода на форуме в Firefox и Chrome (beta)   Найти похожие ветки 

← →
RWolf ©   (2011-12-15 17:09) [160]

[10.12.1976 14:30:16] JavaScript - http://delphimaster.net/view/1-1323780356/
User Javascript thread
Uncaught exception: TypeError: Cannot convert "this.parentNode" to object
Error thrown at line 118, column 5248 in <anonymous function: after>(E):
   this.parentNode.insertBefore(E,this.nextSibling)
called via Function.prototype.call() from line 118, column 11580 in <anonymous function: domManip>(J, M, L):
   var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0] .ownerDocument||this[0]),I),H=I.firstChild;
called from line 118, column 5151 in <anonymous function: after>():
   return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.ne xtSibling)})
called from line 118, column 10812 in <anonymous function: replaceWith>(E):
   return this.after(E).remove()
called from line 156, column 12 in <anonymous function>():
   $(this).replaceWith($("<pre/>").html($(this).html()));
called via Function.prototype.call() from line 118, column 15654 in <anonymous function: each>(G, K, F):
   for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H])
called from line 118, column 2276 in <anonymous function: each>(F, E):
   return o.each(this,F,E)
called from line 153, column 2 in highlightCode():
   $("code").each(function() {
called from line 148, column 0 in <anonymous function>():
   highlightCode();
called from line 134, column 0 in program code:
   (function() {

Opera 11.60, WinXP.


← →
Омлет ©   (2012-02-20 10:15) [161]


> Kerk ©


В стиле http://roman.yankovsky.me/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shCore.css?ver=3.0.83c
замени, пожалуйста,

 white-space: pre !important;

на

 white-space: pre-wrap !important;

чтобы не появлялось горизонтальной полосы прокрутки, когда строка кода не влазит в экран.


← →
Kerk ©   (2012-02-20 13:22) [162]

Заменил.
Может потребоваться переустановить скрипт, либо каким-то образом очистить кэш.


← →
Омлет ©   (2012-02-20 13:35) [163]

Спасибо, работает.


← →
вопросец   (2012-02-20 16:57) [164]

Удалено модератором


← →
вопросец   (2012-02-20 16:57) [165]

Удалено модератором


← →
вопросец   (2012-02-20 17:45) [166]

Удалено модератором



Страницы: 1 2 3 4 5 вся ветка

Скачать: CL | DM;



Память: 0.59 MB
Время: 0.084 c
15-1343889055
БарЛог
2012-08-02 10:30
2013.03.22
Велопоход в никуда с палаткой на несколько дней


2-1329143289
Scott Storch
2012-02-13 18:28
2013.03.22
хранить список стран


2-1328619572
Сергей
2012-02-07 16:59
2013.03.22
Как подключиться к Oracle?


1-1297432162
Gu
2011-02-11 16:49
2013.03.22
Доверие виндов


15-1343668211
vasa777
2012-07-30 21:10
2013.03.22
дельфи устарело




   Наверх