Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Java Script nt working correctly www.shadyhillsumc.com can supply the scrit as I designed the site works on 12.0 firefox and all other browsers Chroe etc...

  • 3 balasan
  • 2 ada masalah ini
  • 29 paparan
  • Balasan terakhir oleh cor-el

more options

The java script:

// configuration structure
 var A_TPL = {
  // randomize the array each time page loads
  'random' : false,
  // number of transparency changes during the transition
  // increase for smoother transition, reduce for less CPU usage
  'steps' : 40,
  // transition duration in seconds
  'transtime': .8,
  // slide time in seconds
  'slidetime': 2,
  // width of the slide (optional)
  'width' : 590,
  // height of the slide (optional)
  'height': 343,
  // alt text for the image (optional)
  'alt' : 'Slideshow',
  // css class assigned to the slide <img> (optional)
  'css' : ''
 };

 // list of images to display
 var A_ITEMS = [
  'images/church0.jpg',
  'photos/sancuary0.jpg',
  'photos/kids.jpg',
  'images/church1.jpg',
  'images/church2.jpg',
  'photos/kids2.jpg',
  'images/church3.jpg',
  'images/church4.jpg'
  ];

 // fader initialization 
 var mySlideShow = new tFader (A_ITEMS, A_TPL);
The java script: <pre><nowiki>// configuration structure var A_TPL = { // randomize the array each time page loads 'random' : false, // number of transparency changes during the transition // increase for smoother transition, reduce for less CPU usage 'steps' : 40, // transition duration in seconds 'transtime': .8, // slide time in seconds 'slidetime': 2, // width of the slide (optional) 'width' : 590, // height of the slide (optional) 'height': 343, // alt text for the image (optional) 'alt' : 'Slideshow', // css class assigned to the slide <img> (optional) 'css' : '' }; // list of images to display var A_ITEMS = [ 'images/church0.jpg', 'photos/sancuary0.jpg', 'photos/kids.jpg', 'images/church1.jpg', 'images/church2.jpg', 'photos/kids2.jpg', 'images/church3.jpg', 'images/church4.jpg' ]; // fader initialization var mySlideShow = new tFader (A_ITEMS, A_TPL);</nowiki></pre>

Diubah oleh cor-el

Penyelesaian terpilih

That is a problem with the Tigra Fader script tFader.js 1.0
That script uses the no longer supported -moz-opacity (e_element.style.MozOpacity = n_opacity / 100;) for Gecko based browsers
You can update to version 1.0.1 to use the correct opacity property and have the script work again.

See:

Baca jawapan ini dalam konteks 👍 0

All Replies (3)

more options

Penyelesaian Terpilih

That is a problem with the Tigra Fader script tFader.js 1.0
That script uses the no longer supported -moz-opacity (e_element.style.MozOpacity = n_opacity / 100;) for Gecko based browsers
You can update to version 1.0.1 to use the correct opacity property and have the script work again.

See:

more options

Works like a charm the newer TFader 1.0.1 Thanks

more options

You're welcome.