Results 1 to 2 of 2

Thread: Amazon Drop In Box Object Required error in IE8

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Amazon Drop In Box Object Required error in IE8

    1) Script Title: Amazon style Drop-in content box

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...amazondrop.htm

    3) Describe problem: Hello, I have no idea what I'm doing wrong, but I'm using the Amazon drop in box on my site (http://www.centerwest.org/publicatio...ome/index1.php) and it works in firefox and safari but when I try to test it in ie6 and ie7 it doesn't work and ie 8 it keeps giving me the following error:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Thu, 15 Oct 2009 19:58:13 UTC


    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.centerwest.org/publicatio...ome/index1.php

    The dynamic drive page works fine in ie and I've tried everything I could possibly think of on my site but I still can't get it to work. What am I doing wrong?

    Thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There should be nothing, not even a comment before the DOCTYPE. When I remove this (highlighted):

    Code:
    <!--Last edited by Amber 6/12/09-->
    <!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" lang="en" xml:lang="en">
    	<head>
    		<title>What Every Westerner Should Know About Oil Shale</title>
    		<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
    		<meta http-equiv="Content-Language" content="en-us" />
    		<link href="/public . . .
    It works in IE 7, and the error goes away in IE 8. However, I was getting a different error in IE 8 than you were. Also, there are other scripts on the page, at least one external. So it is unclear to me just where the error you were getting was (IE doesn't always give the correct line number when there are external scripts involved).
    - John
    ________________________

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

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
  •