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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

navigation bar

Status
Not open for further replies.

aarellano

MIS
Oct 22, 2007
168
US
Hello, I am trying to build a vertical navigation bar. I was able to do this
[oode]
<% While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) %>

<a href="<%=(Recordset1.Fields.Item("link").Value)%>" target="_top" onclick="MM_nbGroup('down','group1','buttons','',0)" onmouseover="MM_nbGroup('over','buttons','<%=(Recordset1.Fields.Item("imageover").Value)%>','',0)" onmouseout="MM_nbGroup('out')"><img src="<%=(Recordset1.Fields.Item("imageon").Value)%>" alt="" name="buttons" width="203" height="45" border="0" id="<%=(Recordset1.Fields.Item("id").Value)%>" onload="" /></a><br />

<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
[/code]

This puts the buttons vertically. The only problem that I am having is that when you put the cursor over it is supposed to load the next button but it does not.
I have now idea why

any help???

thanks
 
Code:
onmouseover="MM_nbGroup('over','buttons','<%=(Recordset1.Fields.Item("imageover").Value)%>','',0)"[/

What does that line look like when you view source in a browser? Is the Javascript quitting at the quotes around imageover? Don't those need to be escaped?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top