Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/astahost/public_html/rkrt/rkrt_tracker.php on line 186
Help With Interactive Button
Astahost.com   Mar 22, 2010
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > JavaScript

Help With Interactive Button - someone know how to make such a button..

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > JavaScript

Help With Interactive Button - someone know how to make such a button..

warbird
Does anybody know how to make a button that is interactive (such one that react when the mouse goes over it).
Please help me.

Comment/Reply (w/o sign-up)

rIxXoN
I think this is for a web-page?? In that case you should do it this way:

First of all you have to make to buttons, almost looking the same, but with another text or background color. Do this with any kind of program. (I suggest Adobe Photoshop). Then do the following:

Put this code in the header of the html-file:

CODE
button1_up = new Image();
button1_up.src="images/button1_up.gif"

button1_down = new Image();
button1_down.src = "images/button1_down.gif"


And this code on the place you want to have the button in the <body>:

CODE
<a href="link.htm"
    onMouseOver = document.images["link"].src="images/button1_down.gif";
    onMouseOut = document.images["link"].src="images/button1_up.gif";>
<img src="images/button1_up.gif" border = 0 name = "link"></a>

 

 

 


Comment/Reply (w/o sign-up)

nakulgupta
If u're using frontpage its a piece of cake...Just go to Insert-> Interactive Buttons and choose from a variety of options. If u want to use your own image, then u'll have to use its inbuilt DHTML editor which will allow you to change what happens when a person:-

a) places the cursor over the button

cool.gif clicks the button

U will have to define all the custom images yourself.

1. First enable the DHTML view toolbar in frontpage.

2. Then select the button and choose the option you require i.e. Mouse Hover, Mouse Click.

3. In actions choose the one that lets you change the image(Forgot exact name though) and specify the file(s).

If u still face any problems...then reply.

Hope i was helpful.

Comment/Reply (w/o sign-up)

warbird
thnx a lot you both

Comment/Reply (w/o sign-up)

nakulgupta
anytime....

Comment/Reply (w/o sign-up)

hihihihi88
I know Image Ready also can make mutton easily .
You can try this ~~~! ^^

Comment/Reply (w/o sign-up)

Aaron
I never knew that Interactive button have the same meaning as OnMouseHover.

Comment/Reply (w/o sign-up)

szupie
This is starting to ramble on... I'm closing this topic.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)




See Also,

*SIMILAR VIDEOS*
Searching Video's for interactive, button, make, button
advertisement




Help With Interactive Button - someone know how to make such a button..

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com



Creative Commons License