Link to home
Start Free TrialLog in
Avatar of nathan1038
nathan1038Flag for United Kingdom of Great Britain and Northern Ireland

asked on

create a html page with 3 state buttons using photoshop

I am building an app where for part of it I do the following -

User opens up a html object with a definitive size e.g. 400x300

For ease of use I use dreamweaver and do the following - make margins 0 and
just create a 400x300 image in photoshop and link it in. Currently then what i do is create
a button (3 stages, e.g. black when not active, red when rolled over and yellow when clicked down) I can then insert the button through the software and place it in the right place. But these
buttons are not part of the html page, they are on top of it, what i want to do is actually have a
3 state button inside the html - how do i do that
Avatar of v2Media
v2Media
Flag of Australia image

Firstly, html supports 4 button states; link, active, visited, and hover. If you want onclick, or onmousedown, your solution will require javascript.

Secondly, "User opens up a html object with a definitive size e.g. 400x300" is an ambiguous description. Specifically what are you referring to as an html object?

Lastly, what is the purpose of the button and have you at made an attempt to mock up this page in DW yourself?
Avatar of nathan1038

ASKER

Its the software I use that creates .exe's. To save you time let me say this,

I need to create a photoshop type website with buttons so need to know how to put one of those buttons
in there.

I tell you what, why don't you tell me the code for an up / over / down (not visited as I do not require this)
and I will try and see if i can make up a prototype and continue this question on from there
I guess what i am after is a photoshop website type page with slices
Usage is
a:link {color:#FF0000} /* unvisited link */
a:visited {color:#00FF00} /* visited link */
a:hover {color:#FF00FF} /* mouse over link */
a:active {color:#0000FF} /* selected link */

refer this
http://meyerweb.com/eric/css/link-specificity.html
http://snipplr.com/view/287/css-anchor-basic-styling-alink-active-visited-hover/
ASKER CERTIFIED SOLUTION
Avatar of David Brugge
David Brugge
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial