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 3 of 3
  1. #1
    adi
    adi is offline
    New to the CF scene
    Join Date
    Feb 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ie favorite question

    is there posible with IE browser to do <select> script </select> that shows your favourites list in drop down ? if yes anyone has a script pls?

  • #2
    Regular Coder
    Join Date
    Feb 2003
    Posts
    638
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That might be possible locally, but probably wouldn't work online.

    The ShowBrowserBar Method is another option.

    Here's an example of its usage:

    Code:
    <html>
    <head>
    <title>showBrowserBar</title>
    <script type="text/JScript">
    var toggle = 0;
    function toggleFavorites(){
    toggle++;
    var sAp = new ActiveXObject("Shell.Application");
    switch (toggle % 2){
    case 1 : 
    document.oForm.oButton.value = "Hide Favorites";
    sAp.ShowBrowserBar("{EFA24E61-B078-11d0-89E4-00C04FC9E26E}", true);
    break;
    case 0 : 
    document.oForm.oButton.value = "Show Favorites";
    sAp.ShowBrowserBar("{EFA24E61-B078-11d0-89E4-00C04FC9E26E}", false);
    break;
    }}
    </script>
    </head>
    <body>
    <form name="oForm">
    <input type="button" name="oButton" value="Show Favorites" onclick="toggleFavorites()">
    </form>
    </body>
    </html>
    Last edited by swmr; 02-26-2004 at 06:27 PM.
    hmm... ?

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ie favorite question

    Originally posted by adi
    is there posible with IE browser to do <select> script </select> that shows your favourites list in drop down ? if yes anyone has a script pls?
    First, select element (as of now) only allows two levels of nesting: <optgroup><option>, while favourites list has a higher limit (not sure what it is).
    Second, I'm just curious, what's the point?
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"


  •  

    Posting Permissions

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