Web design

Status
Not open for further replies.

Lexluethar

Fully Optimized
Messages
4,708
Location
127.0.0.1
I'm a noob when it comes to websites. I'm creating a small website to sell items online for someone.

Honestly the only experience i've had in the past is Flashed based websites or HTML (using frontpage and now publisher).

Currently i'm creating a site in publisher (before bashing the program keep in mind this is NOT my full time job and i have no desire to learn much about web design, i'm sure there are much more versatile tools out there). I have the site designed and layout done.

I'd like to have buttons that interact when the cursor goes over them, it's a target button and when you scroll over it it'd like the target button to change from a full target to a broken one.

What would be the best method to accomplish this? I know i can imbed flash to get something to play, but i didn't know how to get that to just 'play' when someone scrolls over it.
 
I'd like to have buttons that interact when the cursor goes over them, it's a target button and when you scroll over it it'd like the target button to change from a full target to a broken one.

Can you elaborate more on this? I'm not sure what you mean by changing the full target to a broken one.
 
No need to use javascript for simple hover functionality like that.

CSS provides a :hover state just for that purpose.

In web design, always try to limit scripting as much as possible.
 
If i embed that into the HTM code would it work that way or is there something else that needs to be done to get CSS to work with an HTML page?
 
You can either create a css file dedicated for that or apply the css directly at the top of the html file inside the <head> tags. If you need an example I can provide one.
 
Status
Not open for further replies.
Back
Top Bottom