Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-26-2004, 03:41 PM   PM User | #1
adi
New to the CF scene

 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
adi is an unknown quantity at this point
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?
adi is offline   Reply With Quote
Old 02-26-2004, 05:24 PM   PM User | #2
swmr
Regular Coder

 
Join Date: Feb 2003
Posts: 638
Thanks: 0
Thanked 0 Times in 0 Posts
swmr is an unknown quantity at this point
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>
__________________
hmm... ?

Last edited by swmr; 02-26-2004 at 05:27 PM..
swmr is offline   Reply With Quote
Old 02-26-2004, 05:38 PM   PM User | #3
Vladdy
Senior Coder

 
Join Date: Jun 2002
Location: Nashua, NH
Posts: 1,724
Thanks: 0
Thanked 0 Times in 0 Posts
Vladdy is an unknown quantity at this point
Re: ie favorite question

Quote:
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"
Vladdy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:09 PM.


Advertisement
Log in to turn off these ads.