Results 1 to 5 of 5

Thread: Active X control

  1. #1
    Join Date
    Jan 2006
    Location
    At home
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Active X control

    I recently added a calendar script on my page and when I was tring to my broswer showed me (just below the tool bar)" this page contains Active x that may harm your computer. What is active x. I just had added calender script that was of no harm?? How I can make it run on the visitors page without such warning????? I need to know about Active x control also......

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,980
    Thanks
    43
    Thanked 3,196 Times in 3,158 Posts
    Blog Entries
    12

    Default

    That only happens locally, as a security measure. As far as IE is concerned, javascript is ActiveX. Click on the bar and click on allow and click on yes. Once your page is live, this will not happen. You can also give your page 'the mark of the web'. That way (in most cases) it will not display the security bar locally either. Put this right after your <html> tag like so:

    Code:
    <html>
    <!-- saved from url=(0014)about:internet -->
    <!-- this and above comment should be removed for live, non-demo use -->
    <head>
    But, navigating away from the page to another local page, or including another local page on it via a frame or an iframe can be problematical if said page does not also have 'the mark of the web' on it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2007
    Location
    England
    Posts
    254
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Interesting

    Do you have any other info on that method as I've never seen it before.
    Does it just trick IE into thinking page is from the net?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,980
    Thanks
    43
    Thanked 3,196 Times in 3,158 Posts
    Blog Entries
    12

    Default

    Right, that's all it does and yes, I have a bit more information. If you save a page from the web using IE's save as web page complete, it will add 'the mark of the web' to the page so that it has a better chance of being viewed locally as it was viewed on the web. I can also say that the number:

    (0014)

    must correspond to the number of characters in the URL listed in the comment. Further the second comment is just my idea, as a reminder to folks to remove it before uploading. Keeping those comments there when going live probably won't hurt anything but, it certainly does no good.

    If there is more information available about 'the mark of the web' you can probably find it using Google and/or in the Microsoft Knowledge Base.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jan 2006
    Location
    At home
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks a lot

    This was good piece of information sir!! thanks a lot!!

Bookmarks

Posting Permissions

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