DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

#1 2009-08-26 09:58:45

ben
New member

HTC support

Hi there,

I'm running Windows Vista Business Service Pack 2 and IE 8.0.

I have been wanting to test some drop-down menus in different versions of Internet Explorer. To get round IE6 not working with drop-down menus, I'm using an HTC file which I reference from the style sheet. However, the drop-down menu is still not working in IE6 using IE tester. Does IE tester support HTC files? I'm now not sure whether my code is faulty or whether the problem lies with IE tester.

Can anyone help??

Thanks in advance.

Ben

P.S I've googled HTC with IE tester and found a small reference to saying there was some kind of bug but that's all.

Offline

 

#2 2009-08-26 10:17:22

ben
New member

Re: HTC support

Hi again..

I managed to solve it. Instead of using an HTC file I used the suckerfish solution using javascript (http://www.htmldog.com/articles/suckerfish/dropdowns/) and it's all working fine now.

Still don't know if IE tester supports HTC files though...

Ben

Offline

 

#3 2009-08-26 10:49:39

fabrice
DebugBar Support

Re: HTC support

Can you send an url where I can reproduce the HTC problem, or sample code ?

Offline

 

#4 2009-08-26 10:54:59

ben
New member

Re: HTC support

Hi Fabrice,

Here's my original code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>drop down menu</title>

<style type="text/css">

#nav .norightborder {
    border-right:none;
}

#nav * {
    margin:0;
    padding:0;
}

#nav {
    font-family:lucida, arial, sans-serif;
    border:1px solid #686;
    float:left;
    behaviour:url(http://www.whatcanido.co.uk/deafplus15/csshover.htc);
}

#nav ul {
    float:left;
}

#nav li {
    list-style-type:none;
    float:left;
    position:relative;
    background-color:#ded;
    border-right:2px solid #aca;
    /*border-left:2px solid #aca;*/
}

#nav li  ul {
    position:absolute;
    width:7em;
    left:-999em;
    /*display:none;*/
}

#nav li ul li {
    width:100%;
    border:1px solid #686;
    border-top:none;
}

#nav li:hover ul, #nav li.sfhover ul {
    display:block;
    left:auto;
}

#nav a {
    background-color:#DDD;
    padding:.3em 6px;
    display:block;
    color:#686;
    text-decoration:none;
}

#nav a:hover {
    color:#ded;
    background-color:#464;
}

</style>
</head>

<body>

<div id="nav">
    <ul>
        <li>
            <a href="#">Item 1</a>
            <ul>
                <li><a href="#">Item 1a</a></li>
                <li><a href="#">Item 1b</a></li>
               </ul>
        </li>
        <li class="norightborder"><a href="#">Item 2</a></li>
    </ul>
</div>

</body>
</html>


Ben

Offline

 

#5 2009-08-26 10:56:24

fabrice
DebugBar Support

Re: HTC support

Thanks !

I'll have a look when I get some time.

Offline

 

#6 2009-08-26 11:01:05

ben
New member

Re: HTC support

de rien smile

Offline

 

#7 2009-10-23 23:34:18

fabrice
DebugBar Support

Re: HTC support

I tested on a real IE6, and it does not work. So, that's why it's not working under IETester.

Unless I'm doing something wrong.

Offline

 

#8 2009-11-09 11:08:42

ben
New member

Re: HTC support

Maybe there's something wrong with my code then...

the htc file which I reference at behaviour:url(http://www.whatcanido.co.uk/deafplus15/csshover.htc) would need to be on your own server of course, I'm sure you knew that though

Offline

 

#9 2009-11-09 14:04:09

fabrice
DebugBar Support

Re: HTC support

If you could provide a sample url where I can test it that would be great.

Thanks.

Offline

 

#10 2009-11-09 14:14:00

ben
New member

Offline

 

#11 2009-11-09 14:30:02

fabrice
DebugBar Support

Re: HTC support

I just tested with a real IE6 under XPSP2 and it does not work, so I don't see any problem with IETester.

Offline

 

#12 2009-11-09 14:47:44

ben
New member

Re: HTC support

Ok, thank you for your help.

Offline

 

#13 2009-11-09 17:42:41

Uncle Bill
New member

Re: HTC support

I have a couple of projects that use the htc workaround solution for dropdown (flyout) menus in ie6. They work fine in IETester's ie6 tab.

Last edited by Uncle Bill (2009-11-09 17:50:11)

Offline

 

#14 2009-11-09 17:48:19

fabrice
DebugBar Support

Re: HTC support

Can you provide an url so I can test on my side ?

Offline

 

#15 2009-11-09 17:53:13

Uncle Bill
New member

Re: HTC support

fabrice--

I corrected my previous post. Don't know why the htc scripts didn't work first time I tried them in IETester, but now I've reopened IETester and on second try everything is good.
Could it be I had ie7 and 1e8 tabs also open first time? I'll test it.

Offline

 

#16 2009-11-09 18:03:47

Uncle Bill
New member

Re: HTC support

Nope, can't duplicate the problem, so must continue to assume that IETester is the greatest thing since sliced bread.

Offline

 

#17 2009-11-10 05:49:50

Uncle Bill
New member

Re: HTC support

Postscript to ben's original post--

Using Peter Nederlof's latest version of his htc script (http://www.xs4all.nl/~peterned) and calling it properly in the body element (body { behavior:url("csshover3.htc"); }) with 'behavior' spelled correctly, rather than the #nav element, ben's dropdown menu code works quite well in IE6 according to IETester.

Offline

 

#18 2009-11-10 10:07:58

ben
New member

Re: HTC support

Hi Uncle Bill,

Many thanks for your update. I obviously wanted to blame my tools before my own work...

Ben

Offline

 

#19 2011-12-21 07:28:20

walkerworks
New member

Re: HTC support

Any time I launch an IE tester window with an HTC file loaded in a css behavior selector - IE tester crashes. In my particular case this was with Pie.htc and ie-css3.htc

Offline