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

asp if else and then

Status
Not open for further replies.

dorling

Technical User
Mar 25, 2004
80
GB
hi there,

i know this is very basic but i've never used ASP before!!

basic i need 5 button called button1, button2 and etc

and they need to change a image to button1.gif or button2.gif etc

very simple i know but how can i do this



thanks in advance

Jonathan D
 
sorry for got to add can this be done with out reload the asp page

thanks in advance

Jonathan D
 
You don't need ASP for this. ASP executes on the server, so if you wanted it to refresh the page (load from server each time) then you would use ASP. If you want it to magically change in the browser without reloading then you would use somehting client-side like javascript or client-side VBScript.

There are seperate forums for those, though I am not sure how much help you will get without showing some code to prove you tried first, or at least listing some thing you tried searching for in Google.

-T

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
Help, the rampaging, spear-waving, rabid network gnomes are after me!
 
Tarwn is correct, you do not need ASP and it does not sound like ASP would even be a fitting option. What event do you want the buttons to change on? ie, onMouseOver? Do you want rollovers? Images that swap when you put the mouse pointer over them? If so, look at the CSS or javascript forums...they will have your answer. You could also just google "css rollover" or "javascript rollover"

hope that helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top