+ Reply to Thread
Results 1 to 4 of 4

Thread: Make a link set the users homepage!

  1. #1
    intertec's Avatar
    intertec is offline x10 Elder intertec is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Brisbane, Australia
    Posts
    946

    Make a link set the users homepage!

    This html tutorial is easy but really what html tutorial isnt easy so here it goes:

    This tutorial will teach you how to place a link on your site so that when someone clicks it it will change there home page to your homepage. As a webmaster you should do everything you can to get a user to come back to your page and if you have a handy link that lets them set it as there home page they are bound to be coming back!


    CODE
    <a href="#" onclick="this.style.behavior='url(#default#homepag e)'; this.setHomePage('http://www.neogt.com');"> Set (Your sites name) As Hompage</a>


    Now if that was an actual link and we would have clicked it, it would have set this page as the home page of your browser!

    Let me explain it a little bit more!

    First we needed a regular html link <a href="#" then we used the attribute onclick to tell the browser what we wanted to do once the url was clicked. Then all we needed was to have our text in there "set (your sites name) as homepage" Once that was complete we needed to end the html code with </a>

    All you have to do to is edit the link and replace your sites name with your actual websites name!

    Hope you learned something!

  2. #2
    lordtron is offline x10Hosting Member lordtron is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    85

    Re: Make a link set the users homepage!

    Sweet man, I have been looking for this, well not really. But I sure wanted to use it on a site or 2.

  3. #3
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Make a link set the users homepage!

    Nice info.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  4. #4
    FalseHope's Avatar
    FalseHope is offline Lord Of The Keys FalseHope is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    IRC
    Posts
    1,639

    Re: Make a link set the users homepage!

    I always did wonder how to do this, thanks
    :happysad:;):cool::nuts::rant2::drool::eek4::dunno::thefinger:laugh::hahano::lockd::naughty:

+ Reply to Thread

Similar Threads

  1. Banner and text link advertisement
    By gateway in forum Ads & Offers
    Replies: 4
    Last Post: 03-22-2008, 03:11 PM
  2. Link exchange
    By taha116 in forum Link Exchange
    Replies: 8
    Last Post: 01-02-2008, 09:28 AM
  3. Link Exchange
    By Conor in forum Scripts & 3rd Party Apps
    Replies: 117
    Last Post: 12-09-2007, 12:20 PM
  4. Suspended Again Cuze I cant link!!!!!
    By Jass1989 in forum Free Hosting
    Replies: 2
    Last Post: 07-07-2007, 12:57 AM
  5. Link pic
    By Tyler in forum Scripts & 3rd Party Apps
    Replies: 14
    Last Post: 03-13-2005, 07:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers