Code for 'Make This Page Your Homepage'?

Discussion in 'HTML & Website Design' started by HarnessCentral, Jun 25, 2007.

  1. #1
    Hey guys,

    I need te code which you would use to make a page your homepage.

    I want to have it so you click on an image and then this screen appears.

    I need this ASAP please!!

    Thanks, :)
     
    HarnessCentral, Jun 25, 2007 IP
  2. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #2
    Here you go
    <a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yourwebsite.com');">Click here to make this website your default homepage</a>
    Code (markup):
     
    Clive, Jun 26, 2007 IP
  3. HarnessCentral

    HarnessCentral Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for that,

    I want to use an image though,

    What code do I add on for this?
     
    HarnessCentral, Jun 26, 2007 IP
  4. JimKarvo

    JimKarvo Peon

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Replace the "Click here to make this website your default homepage"

    With the image code..
     
    JimKarvo, Jun 26, 2007 IP
  5. HarnessCentral

    HarnessCentral Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks Mate
     
    HarnessCentral, Jun 26, 2007 IP
  6. mark_kris

    mark_kris Banned

    Messages:
    331
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    nice idea. =)
     
    mark_kris, Jun 26, 2007 IP
  7. HarnessCentral

    HarnessCentral Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I tried this code but it didn't work.

    What do I need to change with it?

    <a><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.harnesslink.com/harnesscentral');"><IMG
    SRC="http://media.live.harnesslink.com/images/i1182756529.jpg"
    border="1"></a> 
    HTML:
    My image code is:

    <IMG
    SRC="http://media.live.harnesslink.com/images/i1182756529.jpg"
    border="1"></a> 
    HTML:
    I'm after urgent help!!!!
     
    HarnessCentral, Jun 26, 2007 IP
  8. JimKarvo

    JimKarvo Peon

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    <a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.harnesslink.com/harnesscentral');"><img src="http://media.live.harnesslink.com/images/i1182756529.jpg"
    border="1"></a>
    Code (markup):
    Try that
     
    JimKarvo, Jun 26, 2007 IP
  9. HarnessCentral

    HarnessCentral Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Still doesn't work!

    Any otehr ideas?
     
    HarnessCentral, Jun 26, 2007 IP
  10. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #10
    is javascript enabled in your IE? else what error are you getting?
     
    it career, Jun 26, 2007 IP
  11. JimKarvo

    JimKarvo Peon

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I thing that you changed the behavior='url(#default#homepage)'

    with the

    behavior='url(http://www.YOURPAGE.com)'

    ...
     
    JimKarvo, Jun 26, 2007 IP
  12. KeyboardHustler

    KeyboardHustler Well-Known Member

    Messages:
    1,087
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    145
    #12
    It's working for me in IE but not FireFox :)
     
    KeyboardHustler, Jun 26, 2007 IP
  13. JimKarvo

    JimKarvo Peon

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    There aren't anyscript to add an site as a homepage to firefox ;)
     
    JimKarvo, Jun 26, 2007 IP
  14. KeyboardHustler

    KeyboardHustler Well-Known Member

    Messages:
    1,087
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    145
    #14
    What, why not ? :D
     
    KeyboardHustler, Jun 26, 2007 IP
  15. JimKarvo

    JimKarvo Peon

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I don't know.. maybe for security reasons of firefox ;)

    But You can add the "Bookmae Us ;)"
     
    JimKarvo, Jun 26, 2007 IP
  16. KeyboardHustler

    KeyboardHustler Well-Known Member

    Messages:
    1,087
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    145
    #16
    hehe, I will add that :D Bookmae us ;)
     
    KeyboardHustler, Jun 26, 2007 IP
  17. JimKarvo

    JimKarvo Peon

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    JimKarvo, Jun 26, 2007 IP
  18. KeyboardHustler

    KeyboardHustler Well-Known Member

    Messages:
    1,087
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    145
    #18
    np haha thanks
     
    KeyboardHustler, Jun 26, 2007 IP