<html><div style='background-color:'><DIV>
<P>Nevermind. I found the answer.</P>
<P>The script does not display if there is only one item in the database (and throws
an error if there are none). I'll have to see if I can tweak the script to account for
these scenarios.<BR><BR><BR></P>
<DIV></DIV>
<P><STRONG><FONT face="Bradley Hand ITC" color=#008080><FONT face="Lucida Handwriting,
Cursive"><FONT color=#0066cc>Terri Stocke<BR></FONT>ColdFusion
Developer<BR></FONT></P></DIV>
<P><FONT face="Courier New, Courier, Monospace" color=#003333 size=2>If you had to
identify, in one word, the reason why the human race has not achieved, and never will
achieve, its full potential, that word would be "meetings". -- Dave
Barry</FONT></P>
<DIV></DIV></FONT></STRONG>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>----Original Message Follows----
<DIV></DIV>From: "Terri Stocke" <[EMAIL PROTECTED]>
<DIV></DIV>Reply-To: [EMAIL PROTECTED]
<DIV></DIV>To: CF-Talk <[EMAIL PROTECTED]>
<DIV></DIV>Subject: the mysterious disappearing DHTML
<DIV></DIV>Date: Fri, 20 Jul 2001 19:25:29 +0000
<DIV></DIV>
<DIV></DIV>
<DIV>
<DIV>Hey group,</DIV></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>Has anyone else had any experiences where a DHTML script just disappers into thin
air? </DIV>
<DIV></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>I am using CF_Newscroll to display on screen the latest 10 records added to the
database.</DIV>
<DIV></DIV>
<DIV>It was working perfectly in both IE and Netscape (for several days) until just a
little while ago. I had been tweaking some other templates in my site to account for
some db changes I had made, but I did NOT touch the page affected by the news
scroller (index.cfm). However, when I just went to that page, the scroller was gone. I
don't get any errors, and if I view the source the script is still there, including
the data passed back from the db.</DIV>
<DIV></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>Has anyone else had this happen? What causes it, and how do I fix it?</DIV>
<DIV></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>JFYI, here is my query and the call to the custom tag:</DIV>
<DIV></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV><cfquery name="latest_updates" datasource="cf_market"
maxrows="10"><BR>SELECT cs_number, title, entry_date<BR>from main<BR>ORDER by
entry_date desc<BR></cfquery></DIV>
<DIV></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV><cf_NewsScroll <BR> NewsX="250" <BR> NewsY="70"
<BR> NewsW="500" <BR> NewsH="25"<BR> FontFace="verdana" FontSize="3"
FontColor="407A9D"<BR> BGColor="ffffff" BorderColor="ffffff"><BR><cfloop
query="latest_updates"><BR><cf_NewsItem NewsItem="#title#, added
#dateformat(entry_date, 'MM/DD/YYYY')#"
Link="search_details.cfm?cs_number=#cs_number#"><BR></cfloop><BR></cf_NewsScroll><BR><BR>Thanks!<BR></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<P><STRONG><FONT face="Bradley Hand ITC" color=#008080><FONT face="Lucida Handwriting,
Cursive"><FONT color=#0066cc>Terri Stocke<BR></FONT>ColdFusion Developer<BR></FONT></P>
<DIV></DIV>
<P><FONT face="Courier New, Courier, Monospace" color=#003333 size=2>If you had to
identify, in one word, the reason why the human race has not achieved, and never will
achieve, its full potential, that word would be "meetings". -- Dave
Barry</FONT></P>
<DIV></DIV>
<DIV></DIV></FONT></STRONG>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV><BR clear=all>
<HR>
Get your FREE download of MSN Explorer at <A
href="http://go.msn.com/bql/hmtag_itl_EN.asp">http://explorer.msn.com</A><BR>
<DIV></DIV>
<DIV></DIV>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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