Try taking this out: "STYLE="display:none"
John McKown
Delaware.Net, Inc.
> -----Original Message-----
> From: paul . [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 4:43 PM
> To: CF-Talk
> Subject: iframe issue please suggest CFML makes problem
>
>
> Hi Guys!
> well am trying to use iframe to show the results within the same
> page but someting goes wrong am not seeing anything apart from a
> javascript error
> i ll be gratefull if some one rectifies this for me .
> Thanks-Paul
> ------------------------------------------------------------------
> -------------------------
> <p align="center"><i><b><font face="Arial, Helvetica,
> sans-serif">CA STAFF MEETINGS</font></b></i></p>
> <cfif team_meetings_count gt 0>
>
> <table border="1" cellspacing="0" cellpadding="6"
> bordercolor="#000000" align="center" width="750">
> <tr align="center" valign="top">
> <td bgcolor="#666666"><font color="#FFFFFF" size="2"><b><font
> face="Arial, Helvetica, sans-serif">Meeting</font></b></font></td>
> <td bgcolor="#666666"><font color="#FFFFFF" size="2"><b><font
> face="Arial, Helvetica, sans-serif">Scheduled<br>
> Date </font></b></font></td>
> <td bgcolor="#666666"><font face="Arial, Helvetica,
> sans-serif" size="2" color="#FFFFFF"><b>Occurance<br>
> Date</b></font></td>
> <td bgcolor="#666666"><font color="#FFFFFF" size="2"><b><font
> face="Arial, Helvetica, sans-serif">Non-Attendees</font></b></font></td>
> </tr>
> <cfoutput query=qry_get_meetings_teams>
> <tr align="center" valign="top" bgcolor="##FFFFFF">
> <td align="left"><font face="Arial, Helvetica, sans-serif"
> size="1">#meeting_name#</font></td>
> <td align="left"><font face="Arial, Helvetica, sans-serif"
> size="1">
> <cfif scheduled_date neq "1001-01-01">
> #dateformat(scheduled_date, "mmmm dd yyyy")#
> <cfelse>
> Not started yet
> </cfif>
> </font></td>
> <td align="left"><font face="Arial, Helvetica, sans-serif"
> size="1">
> <cfif occurance_date neq "1001-01-01">
> #dateformat(occurance_date, "mmmm dd yyyy")#
> <cfelse>
> Not completed yet
> </cfif>
> </font></td>
> <td><font size="2"><b><font face="Arial, Helvetica,
> sans-serif" size="1"><a class="anchorclass"
> href="javascript:doSection(thesection)">xxx</a></font></b></font>
> <a name = "test">
>
>
> <div id ="thesection" onClick =
> "noSection(thesection)" STYLE="display:none"><iframe
> SRC="index.cfm?fuseaction=modify_nonattendees&meeting_idx=#rec
> _id#" WIDTH=800 HEIGHT=200>
> </iframe><a href="javascript:noSection(thesection)"> Close</a></div>
> <br/><br/>
> </a> </td>
>
> </tr>
>
>
> </cfoutput>
> </table>
> </cfif>
> ------------------------------------------------------------------
> --------------------------
> This is the javascript i have used
> --------------
> <script language ="javascript">
> function doSection(secNum)
> {
> /*
> if(secNum.style.display == "none") {secNum.style.display = ""; }
> else {secNum.style.display = "none"; }
> */
> secNum.style.display = "";
> }
>
> function noSection (secNum)
> {
> if(secNum.style.display == "") {secNum.style.display = "none";}
> }
>
> </script>
> -----------------------
> The ERROR is : "style is not an Object"
> ------------------------------
> i need you Guys to rectify this for me
> thanks
>
>
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists