Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes floating image in firefox ? still in trouble ^_^ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "floating image in firefox ? still in trouble ^_^" Watch "floating image in firefox ? still in trouble ^_^" New topic
Author

floating image in firefox ? still in trouble ^_^

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, good day everyone, i running this floating image in firefox, but it show me some part with overlaping other ..how do i solve it ? it running well in IE ..there have a flash file which i doesn't know how to attach it here, you might simply put some picture to test for animation



thank you very much for helping !

[ December 19, 2004: Message edited by: Alvin chew ]
[ December 19, 2004: Message edited by: Alvin chew ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Are you saying that the items in the page are showing through the flash?

Not sure what you are asking exactly.

Eric
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi,eric, the problem is when the flash image displaying or runnning in firefox ..the flash image will place on top and simply just overwrite/cover the background ..and for this sample ..you can see part of the table missing cause by flash image overlapping
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
anyone have solution or related script for this effect ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
position:absolute; left:610px; top:0; width:700; height:450;

That is making the flash file cover everything, unless you change this information it is going to cover it since its absolute positioning.

Eric
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
eric, the problem still exist as i have change position to other like static, relative ...i need to show the whole table and at the same time the flash is running on top of table and it doesn't cover the table
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
it simply show a white background like box contain a flash animation, aand the white bg just cover the table
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
position:relative;

you try that?



Eric
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
yes, eric ..i have try relative, and it will make the flash go below of table ..but not on top of table ..means the flash simply out of position

[ December 21, 2004: Message edited by: Alvin chew ]
[ December 21, 2004: Message edited by: Alvin chew ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
make it relative and add the <script> before the the table

<body>
<script>
</script>
<table>

Eric
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
eric..still happen .. can i print screen and send to your email account ? thank you !
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: floating image in firefox ? still in trouble ^_^