jasonsalas
IS-IT--Management
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
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