Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coding bookmark links within custom marquee

Status
Not open for further replies.

jasonsalas

IS-IT--Management
Jun 20, 2001
480
GU
Hi everyone,

I'm building a news ticker element contained within a DIV on a page I've got, using JavaScript to manage the left-to-right animation. However, I'd like to include a separate DIV below the main container, which lets people jump ahead to a certain category within te content contained in a <NOBR> element, effectively skipping over the currently-displayed items using <a href="#categoryName">CategoryName</a>.

But, the URL the browser thinks it's linking to is the name of the page the DIV sits on, so the link doesn't work.

<div id="newsContainer" class="electionResultsScroller">
<nobr id="resultsScroller" class="newsItems"></nobr>
</div>
<div class="jumpLinks">
<a href="#news">News</a> :: <a href="#sports">Sports</a> :: <a href="#financial">Financial</a>
</div>

Does anyone have any ideas how I can rename the link, or get assign the bookmark link so that it points to something like this:

resultsScroller.name = "news
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top