PDA

View Full Version : Tab Script not working in Firefox



FMJEFF
12-30-2006, 07:19 PM
1) Script Title:
Tab Content Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:

Go here in firefox and IE:

http://www.petsunlimited.com/vets/index.cfm

The page renders correctly in IE but not in firefox. It just doesn't appear. What could possibly be conflicting with it?

jscheuer1
12-30-2006, 08:05 PM
This script appears to be in conflict:


<script type="text/javascript">var sePaz5=document.createElement("script");sePaz5.type="text/javascript";sePaz5.defer=true;sePaz5.src=(location.protocol.indexOf("https")==0?"https://secure.providesupport.com/image":"http://image.providesupport.com")+"/js/petsunlimited/safe-standard.js?ps_h=Paz5\u0026ps_t="+new Date().getTime();document.getElementById("sdPaz5").appendChild(sePaz5)</script>

If I remove it from a local demo, the tab script works. There could be other problems. I say this especially because there is another script on the page that is written only for some (notably IE) document.all compliant browsers and there are several other scripts on or linked to the page. With so many scripts, it is hard to say what might happen under various circumstances that may arise as the page is used.

FMJEFF
12-30-2006, 08:36 PM
that did it. thanks so much.