Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: inframe scolling text didn't work in FF

  1. #1
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default inframe scolling text didn't work in FF

    My inframe scolling text didn't work in FF. Please let me know if something wrong with the code below.

    <html>
    <body>

    <head>
    <title>Company</title>
    <style type="text/css">
    h3 {font-family: times}

    p {font-family: courier}
    p.sansserif {font-family: sans-serif}
    p.cent {font-family: century gothic}
    </style>

    </head>


    <script type="text/javascript">

    var page_name = '';
    var iv='';var pn=page_name;var ui='company';
    function sE(){return true;}window.onError=sE;function clr()
    {document.ct.src="http://64.49.222.57/0.gif";}
    pn=escape(pn);var url='http://www.web-stat.com/';
    var al='Web-Stat hit counters';var rn=0;
    if (window.screen){var sw=screen.width;var sh=screen.height;
    var sc=screen.colorDepth;}else{var sw='';var sh='';
    var sc='';}var qry=ui+"::"+escape(document.referrer)
    +'::'+sw+'x'+sh+'::'+sc+'::'+pn+'::'+iv+'::'+rn;
    document.write('<a href="'+url+'stats.shtml?'+ui+'" tar');
    document.write('get="new"><img name="ct" border=0 src="');
    document.write(url+'count.cgi?'+qry+'" onAbort="clr();"');
    document.write(' onError="clr();" alt="'+al+'"><\/a>');

    </script><noscript>
    <a href="http://www.web-stat.com/stats.shtml?company" target="new">
    <img src="http://www.web-stat.com/count.cgi?company::NoJavaScript"
    alt="web-stat hit counter" border=0></a></noscript>




    <TABLE WIDTH=100% ALIGN="left" BORDER =0>

    <TR>

    <td align = left valign = top width = "50%" height="910">

    <h1><font face="Century Schoolbook" size="5" color="#006699">&nbsp;<b>News & Events</b></font></h1>
    <p><ul>
    <li><font face="Century Gothic"><A HREF="index.pl?page=asterisk_ip_pbx">
    <li><font face="Century Gothic"><A HREF="index.pl?page=pc104_wireless">
    </font>

    <pre>
    &nbsp
    &nbsp
    &nbsp
    </pre><font face="Century Gothic"><A HREF="index.pl?page=NewProduct">
    <IMG SRC="/images/NewProducts.jpg" WIDTH=180 HEIGHT=25 HSPACE=5 BORDER=0 ></a>
    <br><A HREF="index.pl?page=NewProduct">
    <IMG SRC="/images/banner.gif" BORDER=0 height = 214 width = 309></A> </font>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</td>



    <td align =left valign = top width = "29%" border="1" height="910">
    <h1><font color="#006699"><b><font size="5" face="Century Schoolbook">Recent
    News</font></b></font></h1>



    <!--<IFRAME> scroller- By Dynamic Drive-->
    <!--For full source code and more DHTML scripts, visit http://www.dynamicdrive.com-->
    <!--This credit MUST stay intact for use-->

    <font face="Century Gothic">

    <iframe id="datamain" src="/pages/external.dat" width=350 height=200 marginwidth=0 marginheight=4 hspace=0 vspace=4 frameborder=1 scrolling=no></iframe>


    </font>


    <p>


    <table cellspacing="0" cellpadding="5" border=0>

    <td align =left valign = top width = "29%" border="1" height="200">
    <h1><font color="#006699"><b><font size="5" face="Century Schoolbook">Events</font></b></font></h1
    <p><font face="Century Gothic">
    <font style="font-size: 9pt"><A HREF="http://focus.ti.com/general/docs/tidc/general.tsp?templateId=6180&navigationId=12320&path=templatedata/cm/tidcgeneral/data/am_landing/na_landing"> TI Developer Conference</A><br>March 7-9, 2007 in Dallas, TX</p>



    <tr>
    <td valign="top>
    <br><a href="index.pl?page=c54_55_67xx" style="text-decoration:none"><font class="general_white" color="FF0000"><b>
    <font size="1" face="Century Gothic">TI DSP Based Hardware</font><font face="Century Gothic">
    </font>
    </b></font><font face="Century Gothic"></a>
    </font>
    </td>
    </tr>

    </table>


    </font>


    </table>
    </body>

  2. #2
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please help

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Can't tell much without your external page. How a bout a link to your problem page, that would be ideal for diagnostic purposes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here the link to the page (http://www.signalogic.com). The scrolling text is working fine with IE but not on the FF.

    Hannah

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    First thing I would try is changing the name of this page:

    http://www.signalogic.com/pages/external.dat

    to:

    http://www.signalogic.com/pages/external.htm

    Don't forget to update the src in the iframe:

    Code:
    <iframe id="datamain" src="/pages/external.htm" width=350 height=200 marginwidth=0 marginheight=4 hspace=0 vspace=4 frameborder=1 scrolling=no></iframe>
    If you cannot change the filename, perhaps you can change its mime type to text/html in your .htaccess file.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John-

    I changed the .dat to .htm file and also tried to upload it online. But inside the scrolling text doesn't work correctly. Please see the link of a picture (http://www.signalogic.com/images/Signalogic&#37;20main.jpg). Please let me know if I did something wrong with it.

    FYI. The external.htm file below

    <html>
    <body>

    <div id="datacontainer" style="position:absolute;left:1px;top:10px;width:100%" onMouseover="scrollspeed=0" onMouseout="scrollspeed=cache">

    <!-- ADD YOUR SCROLLER CONTENT INSIDE HERE -->


    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a
    href="http://www.signalogic.com/sigc55xx_sodimm.html">Sig5502 Board Availability</a><font color="#0000FF">&nbsp;</font></font></strong><font color="#0000FF" face="Century Gothic" style="font-size: 7pt"><br>

    </font>

    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a href="http://www.signalogic.com/index.pl?page=sigc5561_ptmc" target="_top">SigC5561-7x7-PTMC VoIP Board</a><font color="#0000FF">&nbsp;</font></font></strong><font color="#0000FF" face="Century Gothic" style="font-size: 7pt"><br>


    </font>


    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a href="http://www.signalogic.com/HW400c2.html">HighWire HW400c/2 Gateway and Communication Server cPCI Blade</a><font color="#0000FF">&nbsp;</font></font></strong><font color="#0000FF" face="Century Gothic" style="font-size: 7pt"><br>

    </font>

    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a href="http://www.signalogic.com/index.pl?page=sigc64xx_ptmc" target="_top">SigC641x-PTMC Octal DSP Resource Board</a><font color="#0000FF">&nbsp;</font></font></strong><font color="#0000FF" face="Century Gothic" style="font-size: 7pt"><br>

    </font>

    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a href="http://www.signalogic.com/index.pl?page=wanPTMC_256T3" target="_top">Channelized T3 Interface PTMC Module Board</a><font color="#0000FF">&nbsp;</font></font></strong><font color="#0000FF" face="Century Gothic" style="font-size: 7pt"><br>

    </font>

    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a href="http://www.signalogic.com/sigc67xx_sodimm.shtml" target="_top">Highest Floating-Point
    DSP Density on the Planet</a><font color="#0000FF">&nbsp;</font></font></strong><font face="Century Gothic" style="font-size: 7pt"><br>
    The <a href="/index.pl?page=sigc67xx_sodimm" target="_top">SigC67xx module</a> provides up to 5.4 GFLOPS in 6 sq. inches, the highest floating-point processing density available
    on the market. The module supports processors types C6711, C6712, and C6713.</font></p>

    <p align="left"><strong><font face="Century Gothic" style="font-size: 7pt"><a href="/index.pl?page=wireless" target="_top">Wireless PC/104 Board</a><br>
    </font>
    </strong><font face="Century Gothic" style="font-size: 7pt">The SigC5/6xx-PC104 Wireless Board is available now.



    <p align="left"><strong><a href="/index.pl?page=competitive" target="_top">Introductory Competitive Offer Available for
    Selected Customers</a><font color="#008080"><br>
    </font>
    </strong>For selected new customer, Signalogic will match competitive offers by other vendors for
    similar DSP, data acquisition, telephony and wireless hardware products.

    <p align="left"><strong><a href="/index.pl?page=tech_support" target="_top">Tech Support Pages Improved</a><br>
    </strong>New customer case-incidents are constantly being added to the Technical Support pages, to allow our customers to resolve hardware and software installation and usage issues as fast as</font><font face="Century Gothic" size=1><font face="Century Gothic" style="font-size: 7pt">
    possible</font>.




    </font><font face="Verdana" size=1>
    <!-- END SCROLLER CONTENT -->

    </div>

    <script type="text/javascript">

    /***********************************************
    * IFRAME Scroller script- &#169; Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    //Specify speed of scroll. Larger=faster (ie: 5)
    var scrollspeed=cache=2

    //Specify intial delay before scroller starts scrolling (in miliseconds):
    var initialdelay=500

    function initializeScroller(){
    dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")
    dataobj.style.top="5px"
    setTimeout("getdataheight()", initialdelay)
    }

    function getdataheight(){
    thelength=dataobj.offsetHeight
    if (thelength==0)
    setTimeout("getdataheight()",10)
    else
    scrollDiv()
    }

    function scrollDiv(){
    dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+"px"
    if (parseInt(dataobj.style.top)<thelength*(-1))
    dataobj.style.top="5px"
    setTimeout("scrollDiv()",40)
    }

    if (window.addEventListener)
    window.addEventListener("load", initializeScroller, false)
    else if (window.attachEvent)
    window.attachEvent("onload", initializeScroller)
    else
    window.onload=initializeScroller

    </script>

    </body>
    </html>

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks like you skipped this part:

    Quote Originally Posted by jscheuer1 View Post

    Don't forget to update the src in the iframe:

    Code:
    <iframe id="datamain" src="/pages/external.htm" width=350 height=200 marginwidth=0 marginheight=4 hspace=0 vspace=4 frameborder=1 scrolling=no></iframe>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John-

    I have it in the index.html (main page) but not in the external.htm

    Where should I put the scr of the ifame to?

    (<iframe id="datamain" src="/pages/external.htm" width=350 height=200 marginwidth=0 marginheight=4 hspace=0 vspace=4 frameborder=1 scrolling=no></iframe>)

    -Hannah

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Everywhere it is referenced. Here in the source code of your index page:

    Code:
        <td   align =left  valign = top width = "29%" border="1" height="910">
    <h1><font color="#006699"><b><font size="5" face="Century Schoolbook">Recent 
    News</font></b></font></h1>
    
    
    
    <!--<IFRAME> scroller- By Dynamic Drive-->
    <!--For full source code and more DHTML scripts, visit http://www.dynamicdrive.com-->
    <!--This credit MUST stay intact for use-->
    
    <font face="Century Gothic">
    
    <iframe id="datamain" src="/pages/external.dat" width=350 height=200 marginwidth=0 marginheight=4 hspace=0 vspace=4 frameborder=1 scrolling=no></iframe>
    
    
    </font>
    
    
    <p>
    The page itself must also exist:

    http://www.signalogic.com/pages/external.htm

    If you really have changed it as you say you have, I think there may be a problem with how your server is setup.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John-

    Do you have any suggestions where I need to look on it?

    -Hannah

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •