Well, first of all, that's invalid HTML. Only li elements may be the direct children of a ul element. But that might not be the issue. Still I would try markup like so:
Code:
<div id="priorityscroll">
<span><a href="/"><i>home</i></a></span>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</div>
Leave the script as it originally was. Then, in the stylesheet, add whatever styles are needed to get your fixed span to look and behave as desired.
Another option would be to create the fixed link outside the menu entirely:
Code:
<span id="fixedlink"><a href="/"><i>home</i></a></span>
<div id="priorityscroll">
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</div>
Again, leave the script itself as it originally was, and use style to get the span to look and act as desired.
If you want more help, please post a link to the page on your site with the problematic code.
Bookmarks