Web Analytics Made Easy -
StatCounter ie favorite question - CodingForum

Announcement

Collapse
No announcement yet.

ie favorite question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    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; Feb 26, 2004, 01:27 PM.
    hmm... ?

    Comment


    • #3
      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"

      Comment

      Working...
      X