The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How do you make a Java Script?

View previous topic View next topic Go down

How do you make a Java Script?

Post by !_NICK_! on April 10th 2011, 5:04 am

Like on google it will say "Make Google your homepage" and when you click it it make it your home page. How do you do that?

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: How do you make a Java Script?

Post by MrMario on April 10th 2011, 6:49 pm

Code:
<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');">
</FORM>

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Re: How do you make a Java Script?

Post by !_NICK_! on April 10th 2011, 8:42 pm

Where do I put it?

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: How do you make a Java Script?

Post by MrMario on April 10th 2011, 10:06 pm

Anywhere. Widget, homepage message area, html page.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum