PDA

View Full Version : how to make a button.. link to another page..


Winterworks
02-18-2009, 09:53 PM
I want to make a button exactly like...

https://vborg.vbsupport.ru/

A default button really, but I want it to say "Download Version 1.0.0", and link to "../freeversiondownload/"

Can someone show me how to do this? Or give me a code for it?

I just don't know how to make a button..

UKBusinessLive
02-18-2009, 10:22 PM
I want to make a button exactly like...

http://img3.imageshack.us/img3/2470/teeheetu8.jpg

A default button really, but I want it to say "Download Version 1.0.0", and link to "../freeversiondownload/"

Can someone show me how to do this? Or give me a code for it?

I just don't know how to make a button..

Here you go my little friend :D

<DIV ALIGN=CENTER>
<br>
<form>
<input type="button" value="Download Version 1.0.0"
onClick="location.href='http://www.ukbusinesslive.co.uk/forum'">
</form>
</br>
</DIV>

Winterworks
02-18-2009, 10:25 PM
Oh, thank you so much. =) now..

If I upload a .zip file, and link to it, will it automatically start a download when you visit it?

UKBusinessLive
02-18-2009, 10:27 PM
Oh, thank you so much. =) now..

If I upload a .zip file, and link to it, will it automatically start a download when you visit it?

If you upload a zip file to your server and call it via the button then it should ask if you want to open / save etc, you know what i mean ;)

Winterworks
02-18-2009, 10:32 PM
Ah, thank you mate, exactly what I wanted to know. =)

Dismounted
02-19-2009, 04:14 AM
You may consider just using an image or a text link, as that button requires the user to have JS enabled.

Vaupell
02-19-2009, 05:32 AM
or with css,
A "fake" botton, just coloring around it with css
to make the link appear as a botton ;)


a.botton {
border: 2px outset;
padding: 1px;
text-decoration: none;
font-size: 11px;
background:#D4D0C8;
color: #000000;
line-height: normal;
padding-bottom: 2px;
padding-top: 2px;
padding-left: 1em;
padding-right: 1em;
}


<a href="http://www.eeeee.ddddd" class="botton">"add new link"</a>

Note : "" is not needed around the actual botton text.

95154