Jump to content
xisto Community
Sign in to follow this  
djleli

Set site as homepage

Recommended Posts

<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('PUT YOUR URL HERE');"><font color=navy face=verdana size=2><b>Click here to set this as your home page</b></font></a>

Under "PUT YOUR URL HERE" you insert something like Xisto.com or something

Share this post


Link to post
Share on other sites

<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('PUT YOUR URL HERE');"><font color=navy face=verdana size=2><b>Click here to set this as your home page</b></font></a>
Technically thats JavaScript, not HTML, even if it doesnt say <script> anywhere. Just though i'd point that out... Cool though, I'll be using it :lol:

Share this post


Link to post
Share on other sites

You can also redirect to your homepage from another page with PHP like so:

<?phpheader( 'Location: [url="http://forums.xisto.com/no_longer_exists/; );?>
Make sure you put it above the HTML code like so:
<?phpheader( 'Location: [url="http://forums.xisto.com/no_longer_exists/; );?><html><head><title>Redirecting Now...</title><style type="text/css">body{background: #000000;}p, h1, h2, h3, h4, h5, h{color: #CCCCCC;}</style></head><body><h1>Redirectiom Page</h1><p>Redirecting Now...</p></body><html>

Notice from rvalkass:

Code tags are needed around all code.

Share this post


Link to post
Share on other sites

Those are some pretty cool codes.But...For the one that adds to favorites, that means you could use it to add a *different* site to favorites too, right?Like a blind one I mean...Be on Xisto but have it add something like http://www.rofl.com/ to the favorites instead?

Share this post


Link to post
Share on other sites

Well thanks alot for the tip. What i used to do is when i wanted people to make my page as their homepage is write:To make my website your homepage click ctrl:d or firefox users please go to internet options and set this as your homepageWell now i have better options..surely :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.