SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Sep 2002
    Location
    Vancouver, Canada
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Home page and add to favorites

    I have 2 questions.

    First I need a script for a button or a text link which would make my website the visitors start page.

    Second, I got a script which places my page into the visitors favorites folder but here is the problem:

    javascript:window.external.AddFavorite(location.href,document.title)\">')

    I provide this link out of a pop up window, and it puts the pop up window into the favorites, not the actual site. How can I specify URL I want placed in the favorites instead the location.href.

    Thanx

  2. #2
    SitePoint Guru
    Join Date
    Jan 2001
    Location
    Alkmaar, Netherlands
    Posts
    710
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    2 method comes to my mind

    javascript:parent.window.external.AddFavorite(location.href,document.title)\">')


    javascript:window.external.AddFavorite(parent.location.href,parent.document.title)\">')
    Last edited by sylow; Sep 18, 2002 at 18:37.

  3. #3
    SitePoint Member
    Join Date
    Sep 2002
    Location
    Vancouver, Canada
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmmm neither worked


    Thanx for replying though

  4. #4
    SitePoint Member
    Join Date
    Sep 2002
    Location
    Vancouver, Canada
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there any way I can specify the url?


Bookmarks

Posting Permissions

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