www.webdeveloper.com
Results 1 to 4 of 4

Thread: Need debugging help - javascript not firing in IE8

  1. #1
    Join Date
    May 2012
    Posts
    9

    Need debugging help - javascript not firing in IE8

    The page in question works great on every browser except IE8. There is a div underneath the blue logo on the left hand side of the page that fades in with some copy. It is driven by a simple embedded script. However, I cannot figure out why it is not working in IE8. It just will not show up. I have tried multiple things and at this point I dont care if the fade in works, I just want the side text to appear on the left hand side of the page underneath the logo without having to reformat the page. I tried removing the javascript altogether and and removing the "Display: none" funtion from each div so they would be visible, but they are still not showing up. What gives?

    The div that it being called by the javascript code is #wrapper_content_home, by which it contains three other divs within it that fade-in when the script id fired (#pageTitle, #solidDivider, #sideContent).

    I am currently using VirtualBox to test and have it configured to Windows XP 32 bit using IE8.

    Can anyone tell me what's wrong with my code or what I need to do to fix this issue? Could it be a Doctype declaration issue? At this point, I have no idea. Thanks in advance for any help with this!

    Here is a link to the page in question: http://fountainplace.com/team/

    Here is a JS Fiddle I set up for debugging (view my code): http://jsfiddle.net/FAzaD/2/

  2. #2
    Join Date
    Oct 2009
    Posts
    658
    Where did you declare the Effect object? Best is get the latest browser. Then use the tools there. Quickly it gave me an error that Effect is undefined.
    Good Luck

    Santos Systems

  3. #3
    Join Date
    May 2012
    Posts
    9
    Not sure I am following. I wasn't aware that I needed to declare it anywhere. Is Effect not a pre-defined code property? If this is the case where and how do I declare it? Also, I am testing in IE8 via virtualbox since other options have proved to be inaccurate from a UX standpoint.

  4. #4
    Join Date
    Oct 2009
    Posts
    658
    The only real core property is the ones on core javascript. getElementByTag, etc.

    http://madrobby.github.com/scriptaculous/core-effects/ Look at the source you'll see he's referencing a prototype.js. Either download and reference it or hotlink it.
    Good Luck

    Santos Systems

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles