Results 1 to 4 of 4

Thread: Add to homepage script - for firefox

  1. #1
    Join Date
    Dec 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Add to homepage script - for firefox

    Hi guys,
    I have tried searching.. but I can't find anything.

    When you view Yahoo! in IE and click add to homepage.. it does the normal thing - however if you view the Yahoo! page in Firefox.. it comes up with a drop down box.. and an icon you can drag into the 'home' icon.. to set the page as your homepage.

    Can anyone tell me how to 1) Make it do different things for the browser 2) Come up with the icon.. a while script would be appreciated!

    I hope you get what i mean and thanks for any help!

    Sam

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    well, I don't think they're doing anything special. All you need to do is drag ANY linked image or text link to the home icon in FF and it says it'll become your home page.
    So... make an icon, link it to your main page or whatever, then tell them to drag it to the home icon in the menu bar.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Dec 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How do i make it recognise either FF or IE

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    Make what? If you're just talking about a linked img tag, then there's nothing to recognize. Drag and drop.

    If you want to alternate between what is displayed based on the browser, then you should look into user agent detection. Kinda messy and doesn't always work right, so it might have errors.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •