Log in

View Full Version : Tab Content Script won't work in firefox 2



EricJerome
10-12-2007, 10:25 PM
1) Script Title: Tab Content Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent2.htm

3) Describe problem: Script works perfectly in every browser except firefox. In fire fox only rollover works. The links do not work and when clicked do nothing. i am including this script in a .cfm doc and it worls fine in IE7 but is useless in firefox. i have hunted every forum know to man and can't find any help. Please let me know if you have encountered this issue before. I CAN'T SEND YOU A LINK SINCE IT IS ON OUR CORP. INTRANET SITE WITHOUT OUTSIDE ACCESS. Thanks in advance. i will paste the link section of .cfm doc below. All other .js files have not been altered.

________________________________________________________
<BODY CLASS="bodyContent" STYLE="margin:0; " >
<TABLE WIDTH="100%" ALIGN="center" CELLPADDING="3" CELLSPACING="0" BORDER="0">
<cfinclude template="/Aims/Header.cfm">
<cfinclude template="/Aims/Menu.cfm">
<TR>
<td align="center">
<CFOUTPUT>
<CFFORM NAME="frmEdit" ACTION="/Aims/Cfc/com/vergedata/surity/applicationlogic/Power.cfc">
<CFINPUT TYPE="hidden" NAME="method" VALUE="EditPower">
<CFINPUT TYPE="hidden" NAME="PowerId" VALUE="#qryPower.PowerId#">

<br>
<br>
<br>
<!--- Power Tabs --->
<ul id="maintab" class="shadetabs">
<li class="selected"><a href="##" rel="General">General</a></li>
<li><a href="##" rel="Payments">Payments For Power</a></li>
<li><a href="##" rel="AssociatedDocuments">Associated Documents</a></li>
<li><a href="##" rel="ReportsContainingPower">Reports Containing Power</a></li>
<li><a href="##" rel="Collateral">Collateral For Power</a></li>
<li><a href="##" rel="PowerStatusTimeline">Power Status Timeline</a></li>
<cfif val(qryForfeiturePowers.RecordCount) gt 0 ><li><a href="##" rel="ForfeiturePowers">Forfeiture Powers</a></li></cfif>
<li><a href="##" rel="Comments">Comments </a></li>
</ul>

djr33
10-12-2007, 11:03 PM
Is this a general problem with the script on the demo page and any version of it, or is this only happening with your specific version of the script (on the local intranet)?

EricJerome
10-12-2007, 11:58 PM
Thanks for getting back to me so quickly.
I beleive it to be a general problem with the script in Firefox.
If you use coldfusion docs (as in .cfm instead of .html) the problem arises.
I tried changing doc type to strict instead of transitional and still no good.
I know this is not the basic implimentation of your script, but it should work fine since it owrks in every browser but firefox 2.0.0.7 (running on a dell with vista os).
I appreciate any insight you can give me.
Sorry i can't send you a direct link to the pages since they are running locally.
Thanks again.

ddadmin
10-13-2007, 12:29 AM
Hmmm we need more info, even if you can't post a link to to problem page:

1) Which script exactly are you referring to? In your link to the script on DD, it points to the older version of Tab Content script, yet the snippet you posted following it seems to suggest you're talking about the new version (Tab Content V 2.0). Please edit your thread with the correct info.

2) Can you extract just the full HTML for the Tab Content script on your page, and post it here? As mentioned, right now, there isn't enough info to go by. The script does work in Firefox in general.