Closed Bug 276969 Opened 20 years ago Closed 20 years ago

Marquee is not rendered if scrollamount + inner width > width and behavior="alternate"

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 274322

People

(Reporter: x, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

The above link works fine in MS IE6 but not at all in Firefox.  If I limit the
image/link to just one, the web page displays accurately in both MS IE6 and Firefox.

Any suggestions about what is going on?

Source code:

[code]<html>
<head>
<base target=_blank>
<style>
body { overflow:hidden; margin: .0em .0em .0em .0em; background-color:transparent }
</style>
</head>
<body>
<marquee behavior="ALTERNATE" scrolldelay="3000" scrollamount="750"
loop="infinite" height="60" width="100%"><nobr>&nbsp;
<img
src="http://service.bfast.com/bfast/serve?bfmid=5607334&siteid=40873964&bfpage=power_search2sm"
BORDER="0" WIDTH="1" HEIGHT="1" NOSAVE ><a
href="http://service.bfast.com/bfast/click?bfmid=5607334&siteid=40873964&bfpage=power_search2sm"><img
src="http://img2.musiciansfriend.com/dbase/pics/nav/power_search2sm.gif"
BORDER="0" WIDTH="114" HEIGHT="37" ALT="Power Search 114x37"></a> 
                                                                               
                                                 
<a href="http://www.qksrv.net/click-1412329-10293407"><img
src="http://www.qksrv.net/image-1412329-10293407" width="88" height="31"
alt="Welcome to eBags.com   " border="0"></a> 
                                                                               
                                                 
<a href="http://www.qksrv.net/click-1412329-7213195"><img
src="http://www.qksrv.net/image-1412329-7213195" width="88" height="31"
alt="NOVICA" border="0"></a> 
                                                                               
                                                 
<a href="http://www.qksrv.net/click-1412329-1515142"><img
src="http://www.qksrv.net/image-1412329-1515142" width="88" height="31"
alt="Shop at HomeVisions.com" border="0"></a> 
                                                                               
                                                 
<a href="http://www.qksrv.net/click-1412329-818244"><img
src="http://www.qksrv.net/image-1412329-818244" width="120" height="30"
alt="BodyTrends.com Health and Fitness" border="0"></a> 
                                                                               
                                                 
<a href="http://www.qksrv.net/click-1412329-8131931"><img
src="http://www.qksrv.net/image-1412329-8131931" width="88" height="31"
alt="Click to visit Atrendyhome.com" border="0"></a> 
                                                                               
                                                 
<a href="http://www.seenontv.com/?afid=lvzardoz"><img
src="http://lvshopnet.com/images/seenontv3.gif" width=171 height=30 alt="Seen On
TV"></a> 
                                                                               
                                                 
<a href="http://www.vonage.com/?refer_id=lvs"><img
src="http://www.lanet.com/banners/unlimited_120x30_24.gif" HEIGHT=30 WIDTH=120></a> 
                                                                               
                                                 
&nbsp;</nobr></marquee> 
                                                                               
                       
</body>
</html>[/code]

Actual PHP code is:

[code]<html>
<head>
<base target=_blank>
<style>
body { overflow:hidden; margin: .0em .0em .0em .0em; background-color:transparent }
</style>
</head>
<body>
<?php ob_end_flush(); ?>
<marquee behavior="ALTERNATE" scrolldelay="3000" scrollamount="750"
loop="infinite" height="60" width="100%"><nobr>&nbsp;
<?php

require("core/mysqladapter.phpclass");
$objDB = new MySQLAdapter("my-las-vegas-neighborhood.com;ncv_lvs;ncv_lvs;k9lvsnet");
$records = $objDB->getRecords("SELECT Name,Link,Size FROM affiliate WHERE Day =
'b'");

flush();
ob_flush();

foreach($records as $row)
{
  echo $row['Link'];
  echo " \n                                                                    
                                                            \n";
  flush();
  ob_flush();
  usleep(50000);
}

echo "&nbsp;</nobr></marquee> \n                                               
                                                           \n"; 
flush();
ob_flush();
?>
<!-- script type="javascript/text">{ history.go(0); }</script -->
</body>
</html>
[/code]
Attached file Bob's testcase
Bob, in future please attach testcase as attachments instead of copy'n'pasting
them into the comments section. Thanks for you help in making Mozilla/Firefox
better!
It is rendered if the window width > scrollamount + inner width (in this case
about 750px + 802px). The problem only occurs for behavior="alternate".
Assignee: bugs → nobody
Status: UNCONFIRMED → NEW
Component: File Handling → Layout: Misc Code
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
QA Contact: aebrahim-bmo → core.layout.misc-code
Summary: HTML Marquee code fails using multiple images → Marquee is not rendered if scrollamount + inner width > width and behavior="alternate"
Version: 1.0 Branch → Trunk
Attached file Testcase #2
Keywords: testcase
Is this the same as bug 274322? 
Depends on: 274322
Yes, I think it's the same problem.

*** This bug has been marked as a duplicate of 274322 ***
Status: NEW → RESOLVED
Closed: 20 years ago
No longer depends on: 274322
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: