...

View Full Version : ie favorite question



adi
02-26-2004, 03:41 PM
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?

swmr
02-26-2004, 05:24 PM
That might be possible locally, but probably wouldn't work online.

The ShowBrowserBar Method (http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/showbrowserbar.asp) is another option.

Here's an example of its usage:



<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>

Vladdy
02-26-2004, 05:38 PM
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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum