PDA

View Full Version : Set homepage button?



alexi_dst
08-16-2006, 08:18 AM
This is the script from dynamic drive to set the homepage:

<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://dynamicdrive.com');">Click here to make Dynamic Drive your default homepage</a>

but you have to click on the link to perform the task.

Here is my thought,

I want to make a submission button so that when it's clicked, it submits the values from the page and set my page as a homepage( doesn't matter if there's a prompt ). Any ideas?