i have a div panel, when i click on a button it shows up, with scroller on position 0 on lines number "gutter"滾動到特定的行號與SyntaxHighlighter的
i have a highlight line on line 200 and 201 as shown
<pre class="brush: php;highlight:[24,25,28,29,30,200,201]; toolbar: false;">
<?php
$html = file_get_contents("index.php");
echo htmlspecialchars($html);
?>
</pre>
編輯:問題是,我不能搶號線,因爲它是屬於語法高亮插件 和源代碼是另一個文件(file_get_contents ...)
我想自動滾動到行號201當我點擊按鈕顯示我的面板....這可能嗎?我無處不在尋找解決方案,你能幫我嗎?
您可以分享迄今爲止所做的工作嗎? –