YAFLogo

brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
10 years ago
Hi
I wanted some easy to use navigation buttons.. so I made some!

I thought I would share the code with you.

You can see the buttons with this link:

Excel to database forum 

I made the button images here :
http://www.glassybuttons.com/glassy.php 

Here is asp code you need to modify as you require and paste into the default.aspx file, just below the forum logo:


<DIV style="position:relative;left:10px;">
 <input type="image"  onmouseout="this.src='http://leansoftware.net/forum/images/home.jpg';" 
	onmouseover="this.src='http://leansoftware.net/forum/images/home_hover.jpg';" 
	runat="server" 
	onclick="window.location.href = 'default.aspx?g=topics&f=4';"	
	id="home" src="~/images/home.jpg" />

 <input type="image"  onmouseout="this.src='http://leansoftware.net/forum/images/userguide.jpg';" 
	onmouseover="this.src='http://leansoftware.net/forum/images/userguide_hover.png';" 
	onclick="window.location.href = 'default.aspx?g=topics&f=6';"
	runat="server" id="UserGuide" 
	src="~/images/userguide.jpg" />
<input type="image"  onmouseout="this.src='http://leansoftware.net/forum/images/case.jpg';" 
	onmouseover="this.src='http://leansoftware.net/forum/images/case_hover.jpg';" 
	onclick="window.location.href = 'default.aspx?g=topics&f=9';"
	runat="server" id="case" 
	src="~/images/case.jpg" />

 <input type="image"  onmouseout="this.src='http://leansoftware.net/forum/images/download.jpg';" 
	onmouseover="this.src='http://leansoftware.net/forum/images/download_hover.jpg';" 
	onclick="window.location.href = 'default.aspx?g=topics&f=7';"
	runat="server" id="download" 
	src="~/images/download.jpg" />

<input type="image"  onmouseout="this.src='http://leansoftware.net/forum/images/testing.jpg';" 
	onmouseover="this.src='http://leansoftware.net/forum/images/testing_hover.jpg';" 
	onclick="window.location.href = 'default.aspx?g=topics&f=8';"
	runat="server" id="testing" 
	src="~/images/testing.jpg" />
</div>

Have a nice day
Richard

p.s. please thank if you found it useful 🙂
UserPostedImage New Network Edition V2.8 - Released Dec 2013 
Sponsor

YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button