カテゴリ | |
---|---|
サマリ | 脚注から引用元ページに飛んでしまう |
バージョン | 1.4.5 |
投稿者 | いど |
状態 | 完了 |
投稿日 | 2005-02-20 (日) 15:00:14 |
わたしのサイトではcalendar_viewerを使ってトップにblog2で使った記事を引用表示しています。 トップで記事内にある脚注をクリックすると該当記事にページが飛んでしまい、トップの下部に表示されている脚注に飛ばないのですがこれは仕様でしょうか?
// Footnote - $foot_explain[$id] = <<<EOD - <a id="notefoot_$id" href="$script?$page#notetext_$id" class="note_super">*$id</a> - <span class="small">$note</span> - <br /> - EOD; + $foot_explain[$id] = '<a id="notefoot_' . $id . + '" href="#notetext_' . $id . + '" class="note_super">*' . $id . '</a>' . "\n" . + '<span class="small">' . $note . '</span><br />'; // A hyperlink, content-body to footnote - $name = '<a id="notetext_' . $id . '" href="' . $script . '?' . $page . - '#notefoot_' . $id . '" class="note_super" title="' . + $name = '<a id="notetext_' . $id . + '" href="#notefoot_' . $id . '" class="note_super" title="' . htmlspecialchars(strip_tags($note)) . '">*' . $id . '</a>';とすれば、トップの下部に表示されている脚注に飛ぶようになります。 -- sagen 2005-02-23 (水) 20:43:00