Okay so here's my problem: I've made this navigationbar in Adobe Fireworks and I put in the code into my index file. Everything works, when I mouseover it changes color and when I click it changes color but now I want to make links to these buttons. So here's the problem there is allready a link in the buttons code. Here's what it looks like:

<td>[B][U]<a href="javascript:;"[/U][/B] onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','navbar_r1_c1_s1','navbar/navbar_r1_c1_s2.gif','navbar/navbar_r1_c1_s3.gif',1);" onclick="MM_nbGroup('down','navbar1','navbar_r1_c1_s1','navbar/navbar_r1_c1_s3.gif',1);"><img name="navbar_r1_c1_s1" src="navbar/navbar_r1_c1_s1.gif" width="128" height="36" border="0" alt="" /></a></td>

How should I make a link for that code :/?

Recommended Answers

All 2 Replies

Try using the link utl insted of javascript:;...

Or use

onclick="window.location = 'yoururl.html';"

Okay so here's my problem: I've made this navigationbar in Adobe Fireworks and I put in the code into my index file. Everything works, when I mouseover it changes color and when I click it changes color but now I want to make links to these buttons. So here's the problem there is allready a link in the buttons code. Here's what it looks like:

How should I make a link for that code :/?

<td>[B]<a href="put_here://where.you.want.to.go.com"[/B] onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','navbar_r1_c1_s1','navbar/navbar_r1_c1_s2.gif','navbar/navbar_r1_c1_s3.gif',1);" onclick="MM_nbGroup('down','navbar1','navbar_r1_c1_s1','navbar/navbar_r1_c1_s3.gif',1);"><img name="navbar_r1_c1_s1" src="navbar/navbar_r1_c1_s1.gif" width="128" height="36" border="0" alt="" /></a></td>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.