Grasp the chance to enhance your site with the best fitting layout, including elements like buttons, headers and logos.  Home Photoshop Web Layout Creating Eye Opener Rollover Button

Creating Eye Opener Rollover Button


Start by creating a rounded rectangle in a new file.

image 1

Press Shift and create a circular shape at one end of the rectangle.

image 2

Apply 3 pixels stroke to the button shapes.

image 3

Type text "Eye Open Article".

image 4

Create an ellipse in the circular portion of the button.

image 5

Select the ellipse using direct selection tool. Using convert point tool click on the right and left node of this ellipse. This will create an eye shape out of the ellipse.

image 6

Apply stroke using following settings.

image 7

Create a circle for the eye lid.

image 8

Add more details to the eye using pen tool as per your requirement.

image 9

image 10

Duplicate the eye shape (only the white background eye shape layer).

image 11

Merge all other eye layers. Hide the merged layer. Select the duplicate layer. Press Alt and using up arrow move the eye shape a few pixels up. This will create a duplicate of the shape.

image 12

Press subtract from shape area from the top bar. This will create a closed eye position.

image 13

image 14

Switch to Image Ready by clicking edit in Image Ready button at the bottom of the tool bar. In image ready make sure your web content palette and layer's palette are open.

image 15

Select the blue button layer. From layer menu select new layer based slice.

image 16

This will create a slice shape surrounding the button automatically. This will be the hit area of the button.

image 17

In web content palette click "create rollover state" button. This will create a separate over state.

image 18

With over state selected, hide the closed eye layer and unhide the open eye layer.

image 19

Press Ctrl+Alt+Shift+S to save the roll over button. Save as an HTML file along with images. Photoshop will take care of the java script code that is required for rollover button to function.

image 20

Roll over the button below to see it in action. The eye will open as you rollover the button.

Creating Eye Opener Rollover Button Tutorial: Final Result



Author's URL: Head Nerd
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Advance your current skills or acquire new skills in Photoshop by creating projects using our step-by-step tutorials. More Tutorials: Most Popular Materials | Fresh Materials | TutorialKit New Photoshop Tutorials

Add comments to "Creating Eye Opener Rollover Button"

Only registered users can write comment

No comments yet...