Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Mar 2003
    Location
    a cardboard box
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    MAking a site your home page?

    How do you make an auto pop up that asks if the user wants to make that page their home page?

    Is it possible to make it the home page automatically without asking?
    -Scke Xival
    http://www.codingforums.com/images/icons/icon15.gif Elite Piece of Crackers

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    It's annoying if it happens without the link being pressed

    <!--[if IE]>

    <a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('YOUR SITE URL HERE');">Click here to make my site your default homepage!</a>

    <![endif]-->

    Also there are a few ways in IE to make it work without the prompt, but I don't think anyone here will give you that hack

  • #3
    New Coder
    Join Date
    Mar 2003
    Location
    a cardboard box
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    umm

    how do u make it pop up?
    -Scke Xival
    http://www.codingforums.com/images/icons/icon15.gif Elite Piece of Crackers

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    With that code a dialog in IE should come up asking the person if they want to set the page to their homepage.
    OracleGuy

  • #5
    Regular Coder
    Join Date
    Jan 2003
    Posts
    680
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is it possible to make it the home page automatically without asking?
    Yes, through a security exploit. It's used by scumware and sometimes called a 'virus'.
    Don't you want your visitors to come back - ever?
    (o<
    //\ &nbsp; &nbsp; &nbsp; =^..^=
    &nbsp; &nbsp; $!

  • #6
    Banned
    Join Date
    Mar 2003
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I would be careful

    I really don't like it when it asks me to change something. It might scare some people.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •