Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorpardis
    • CommentTimeJan 12th 2008
     

    No clue what the problem is, here. I only discovered it today.


    www.mideastminute.com

    It's been working fine for months, but now it just doesn't want to work in IE7. The javascript error I get is "object required" on line 1503 at character 5, code "0" (not sure what that means).


    It still works perfectly in Firefox. Well, actually, one issue I have is that the videos begin playing right away - how do I make it so that the videos are paused when they're loaded?

    • CommentAuthorAran
    • CommentTimeJan 13th 2008
     
    I am just taking an educated guess here, but I am not sure if you are allowed to use just numbers as your DOM id. You have set the id for your flash file as 0104. If you put a string in front of it like "vid0104", then I think you'd be all good. Others on the board who are more into their HTML can probably definitively say one way or the other. As the page is still functioning, this may be your issue.

    I couldn't see anything else out of the ordinary on my first cursory look. You are including prototype.js though (I am not sure if you are even using it for anything) which has been known to cause some issues for others in the past.

    Aran
    • CommentAuthorpardis
    • CommentTimeJan 15th 2008
     
    Nope, that didn't fix it.

    It seems to be a problem with my IE, not just my site. Can anyone reproduce this problem with their IE7? Mine's version 7.0.5730.11 on XP SP2. Again, Firefox still running smoothly.
    • CommentAuthorphilip
    • CommentTimeJan 22nd 2008
     
    DOM IDs cannot start with a number or any punctuation except an underscore(_). IDs need to start with a letter.

    also, in Firefox, your page returns an error with prototype.js ("element has no properties") line 1502

    - philip
    • CommentAuthorpardis
    • CommentTimeJan 22nd 2008
     
    So what does this mean, exactly? How do I fix it?
    • CommentAuthorphilip
    • CommentTimeJan 22nd 2008
     
    RE: the numbers in ID names
    change your IDs and see if you still have problems.

    RE: the prototype error:
    it means somewhere on your page, you're using prototype to do something, and it's returning an error.

    it appears you're only using prototype to support the code in mailingList.js, so i'd start by temporarily removing mailingList.js and see if you still have errors. if you have no errors after removing mailingList.js, you'll know the code in mailingList.js is causing the problem. at that point i suggest you go to the sitepoint forums for advice on that particular piece of code (it came from http://www.sitepoint.com/article/use-ajax-php-build-mailing-list).

    - philip
    • CommentAuthorpardis
    • CommentTimeJan 22nd 2008 edited
     
    Rightio.

    Well, the javascript error has nothing to do with the Flash version error, it seems. http://www.mideastminute.com/testy.html has both .js files removed, and the names of both the flash file and the ID changed to video0104, but to no avail. The javascript error is gone, which is nice, but it doesn't rectify the flash version error.

    I have two laptops that I check. The site works fine in Firefox always, and fine in IE on my Vista laptop, but it doesn't recognize that Flash is updated in IE on my XP laptop.

    Incidentally, unless others are having the same Flash version error, I think it might just be my specific machine.

    • CommentAuthorpardis
    • CommentTimeJan 22nd 2008
     
    By the way, Philip, Aran, thanks to both of you for taking the time to help. I appreciate it. And I hope the site didn't offend you :)
    • CommentAuthorphilip
    • CommentTimeJan 22nd 2008
     
    Flash Player in IE is notorious for corrupt installs. it seems to happen more with people who install Flash Player via the CS3 installer than with the people who use the standalone Flash Player install from Adobe's website.

    try uninstalling the player from IE using Adobe's uninstaller, then reinstalling the player using the latest version from the website.

    see aran's post here:
    http://blog.deconcept.com/swfobject/forum/discussion/492/flash-player-uninstaller/#Item_1

    - philip

    PS - no worries, no offense taken. :)
    • CommentAuthorpardis
    • CommentTimeJan 22nd 2008
     
    That must be it! The laptop that's buggy has CS3 installed on it! Phew. I thought that maybe _all_ our IE visitors had the same problem.
    • CommentAuthorpardis
    • CommentTimeJan 22nd 2008
     
    Oh, and if you weren't offended, then I hope you enjoyed the site :)