Results 1 to 5 of 5
  1. #1
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Pop up blocker (IE 6)

    I have been developing various styles of dynamic menu bars in html and css. These menu bars using html/css work fine in Firefox but there is a underlying behavioural problem with IE in as much that it does not like the hover in css. To get around this problem I have found a file called csshover.htc.

    This file is in my root folder and there is a relative link to it.

    Now here is the problem.

    When I open the page, it "sees" the file containing script and the pop up blocker jumps in. It will only work if I allow it.

    Now the questions:

    1) Is it because of the htc file extension that causes the block? or
    2) The script it contains( IE can tell)?
    Jerry

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pop up blocker (IE 6)

    Perhaps my experience with IE and running scripts on local pages on my own WinXP SP2 machine can help you. <UL><LI>Any file with a script reference and a URL to my own machine (such as D: or whatever) will encounter script prevention - no matter how I configure my Trusted Zones<LI>If I add my machine to Trusted Zones, share the folder (or drive) the file is in and load the file with a {computername}[sharename}...... URL, then the script operates with the Trusted Zones permissions.<LI>This wortkaround may become obsolete with the permissions on Vista[/list]HTH
    Gre

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Pop up blocker (IE 6)

    Hi

    Thanks for the input, that makes sense for trusted zones etc. and useful.

    I was hoping this could work if published on the www as well but I have a feeling the htc file will downloaded to the PC's cache hence the warning. Any ideas on that aspect?
    Jerry

  4. #4
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pop up blocker (IE 6)

    Better minds than me can look at this, but it seems to be JavaScript. Thus you'd have to have folks take you into their Trusted Zone in order for the thing to work. (That happens more often than you might think!) <img src=/S/smile.gif border=0 alt=smile width=15 height=15> HTH
    Gre

  5. #5
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Pop up blocker (IE 6)

    Thank you <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Jerry

Posting Permissions

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