hrefタグ付きのテキストを自分のWebサイトの特定のセクションにリンクしようとしています。
ホームページに引用があり、それを言った人の名前があります。彼の名前を「About」セクションの「UpcomingEvents」タブにリンクしたいと思います。
ウェブサイトはhttp://www.verticalministries.netです。「AaronIvey」という名前は、「About」セクションの「UpcomingEvents」タブにリンクする必要があります。このWebサイトは、JavaScriptを使用してスクロールする1ページのポートフォリオです。
name属性を使用してみましたが、hrefタグが次のように<a href="#about#ivey>Aaron Ivey</a>
なり、クラスを介してページをスクロールしているため、有効なコードではないため、機能しませんでした。name属性を確認し、#iveyを付けました。
<div class="fifth_page" style="display:none">
<h1>Upcoming Events</h1>
<h4>Feb. 15 - Aaron Ivey Band</h4>
<a name="#ivey"></a>
<img src="images/iveypromo.jpg" alt="Aaron Mug Shot" class="floatRight img_left_space" />
<p> “Aaron Ivey believes that all worship is a response to a creative and compelling God. Serving as one of the worship pastors at <a href="http://www.austinstone.org" target="_blank">The Austin Stone</a>...</p>
</div>
どんな助けでも大歓迎です。
ご不明な点がございましたら、お気軽にお問い合わせください。
ありがとうございました。
心から、
DHJolesch