Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > BlueVoda Tips, Tricks and Shortcuts

Notices

BlueVoda Tips, Tricks and Shortcuts Know a great BlueVoda (or Web design) tip or trick? Share it with the world here. Become famous for your brilliance! Please, No Questions or Problems!

Reply
 
LinkBack Thread Tools
  #1  
Old 08-17-2007, 01:37 PM
Private
 
Join Date: Jun 2007
Posts: 4
Default How to make a "Make this your homepage" button

I want to add a "make this your homepage" button on my site. I can find the html code but am unable to make a button do the job. I may be being a bit thick but how do I use the code

<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your HomePage" onClick="this.style.behavior='url(#default#homepag e)'; this.setHomePage('http://www.npda.co.uk');">
</FORM>

in a button. Naval design showed how to do it for a "bookmark this site" button in another thread which I made work no probs.

Any help much appreciated

Cheers
John

www.npda.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 08-17-2007, 07:35 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: How to make a "Make this your homepage" button

If you use the script as it is, you don't need a button, the script creates it. Just drag a html box in your page, and paste the code in the box. Please note that you have a small mistake, there is a whitespace: homepag e

However, this will produce a standard button.

You can also do it with a BV Advanced Button (you can find it in the Forms Toolbar). Place the button in your page, make it Onclick, OnClick Action: Execute Javascript Function, and in the Onclick Value field paste this:
this.style.behavior='url(#default#homepag e)'; this.setHomePage('http://www.npda.co.uk');

The advantage of using a BV Advanced Button is that you can style both the text and the button as you like, you can even use an image for the button
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 09-04-2007, 10:05 PM
Private
 
Join Date: Jun 2007
Posts: 4
Default Re: How to make a "Make this your homepage" button

Brilliant, thanks for the response its been bugging me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 12:55 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54