CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution Widget JS not appearing in IE
Pages: [1]

Author Topic: Contribution Widget JS not appearing in IE  (Read 1748 times)

okmedia

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
    • Save Rescue
  • CiviCRM version: 4.2.1
  • CMS version: Wordpress 3.4.2
  • MySQL version: 5
  • PHP version: 5.3
Contribution Widget JS not appearing in IE
January 13, 2011, 12:02:41 pm
Hello,

I have a site which is running the 3.3 CiviCRM. I updated the contribution widget to the latest JS version and placed it on the site. It works great in FireFox, Safari and Chrome, however in IE, the widget is only showing the background and not the graphics.

I'm running Drupal 6, with php 5.2. site is carams dot org

Thank you for your help..



« Last Edit: January 13, 2011, 12:05:17 pm by okmedia »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contribution Widget JS not appearing in IE
January 14, 2011, 05:46:06 am
I would suggest trying switching to a core theme such as Garland and test if it still fails.

For a live site, you can login as user #1, enable Garland, and then switch just your user to test. That's one easy way anyhow. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Re: Contribution Widget JS not appearing in IE
January 21, 2011, 10:13:15 am
Quote from: okmedia on January 13, 2011, 12:02:41 pm
Hello,

I have a site which is running the 3.3 CiviCRM. I updated the contribution widget to the latest JS version and placed it on the site. It works great in FireFox, Safari and Chrome, however in IE, the widget is only showing the background and not the graphics.

I'm running Drupal 6, with php 5.2. site is carams dot org

Thank you for your help..

I was able to fix this by changing one line in the widget JS code:

        if(document.readyState == "interactive") {

to:
         if(document.readyState == "complete") {

(The problem was, executing the 'onReady' function before the external javascript was loaded.  This likely only happens with slow-ish servers & IE.)

okmedia

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
    • Save Rescue
  • CiviCRM version: 4.2.1
  • CMS version: Wordpress 3.4.2
  • MySQL version: 5
  • PHP version: 5.3
Re: Contribution Widget JS not appearing in IE
January 21, 2011, 10:53:21 am
THAT WORKED!!! Thank you so much for your solution. I'm sure it will help many other folks as well. Way to go! ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution Widget JS not appearing in IE

This forum was archived on 2017-11-26.