WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Accespted Back Forward Refresh Buttons Sun Jan 03, 2010 9:52 pm

Sanket

Sanket
Administrator
Administrator
Back, Forward, Refresh Buttons
Create your Back, Forward, Refresh buttons for your html page.

Hello Everyone Very Happy

This is a very simple tutorial to add buttons in your HTML page to go back, go forward & to refresh the page.

The code should go in the body tags.
Code:
<body>
<center>
<form>
<input type="button" value="Back" onClick="history.go(-1)" style="font-family:verdana; color:red; background-color:black; font-size:10px;">
<input type="button" value="Forward" onCLick="history.go(1)">
<input type="button" value="Refresh" onCLick="history.go(0)">
</form>
</center></body>
1) You can change the font color from red to any color you want, add the color code from here
2) background-color: can be changed from black to any color from the link above.
3) Change the font-size to whatever you want.

Back Forward Refresh Buttons 20tm077

To test the buttons, do the following
- Open www.google.com in a new tab
- Paste our demo link (http://webartzdemo.forumotion.com/BackForwardRefresh-h4.htm) in the address bar & hit enter
- Paste www.hitskin.com in the address bar & hit enter.
- Hit the back button of the browser, now test all the buttons they shall work.

Thank You Very Happy
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators.

Was just playing around with my coffee cup editor & found this nice tool Wink
Comments please?

http://www.webartzforum.com

2Accespted Re: Back Forward Refresh Buttons Mon Jan 04, 2010 12:03 am

MrMega

MrMega
Registered Member
Registered Member
Wow that's really cool.

Thanks for sharing & keep it up Smile

3Accespted Re: Back Forward Refresh Buttons Mon Jan 04, 2010 1:08 am

Dreamly

Dreamly
Registered Member
Registered Member
Wow, I actually didn't know the back and forward.. Thanks! =)

http://www.sparkchat.net

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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