Welcome to Dream.In.Code
Become an Expert!

Join 149,523 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,418 people online right now. Registration is fast and FREE... Join Now!




cross-browser programming

 
Reply to this topicStart new topic

cross-browser programming, z-index in firefox

seeing
1 Jul, 2007 - 07:22 AM
Post #1

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
hello all


i could really do with some help here guys pls....


i have a table

one cell has a .jpg background

inside the same cell are a href text links

on top of the links, in the same cell, is
a flash movie that covers the links

the flash movie is played/activated, and the links
are uncovered by the movie, and appear using the
wmode transparent for the flash movie

(this means the background of the flash movie is
set to transparent)

the flash "layer" is placed into the cell ontop of the
a href links and the background .jpg using z-index=1


test in browser.......IE 6.0 fine
FF 1.5 not fine


both IE & FF see the background .jpg and the a href
links however the links only function in IE

its like FF doesnt know they are there although FF does
display the a href links

i have attatched the code

please can anyone save my beautiful hair as i have
nearly pulled it from its roots working on this problem


thanks bucket loads, Sophia



p.s. i suck at programming sad.gif


Attached File(s)
Attached File  gurrrr.html ( 5.01k ) Number of downloads: 21
User is offlineProfile CardPM
+Quote Post

fyrestorm
RE: Cross-browser Programming
1 Jul, 2007 - 08:27 AM
Post #2

D.I.C Lover
Group Icon

Joined: 4 Apr, 2002
Posts: 3,103



Thanked: 2 times
Dream Kudos: 228
My Contributions
out of curiosity, why not put the links into the flash movie and save you the trouble of programming the cross browser compatibility into the html?
User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
1 Jul, 2007 - 08:44 AM
Post #3

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
hi fyrestorm *_*


yeah, i know what you mean and yeap, it would
be super great and funky to do it this way....

but alass, this is not the way the site works


any ideas????


thanks, sophia
User is offlineProfile CardPM
+Quote Post

fyrestorm
RE: Cross-browser Programming
1 Jul, 2007 - 08:51 AM
Post #4

D.I.C Lover
Group Icon

Joined: 4 Apr, 2002
Posts: 3,103



Thanked: 2 times
Dream Kudos: 228
My Contributions
do you have this hosted somewhere so that we can take a look and see exactly what it is you're talking about, the html file doesn't do us much good without all the associated elements (i.e. the images and the flash file)

thanks.
User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
1 Jul, 2007 - 09:15 AM
Post #5

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
there you go....

http://www.freewebs.com/audio_data01/

the a herf links work fine in IE but FF fails to see them as links

it seems that FF doesnt get on with z-index

as you can see, the two bars to the left and right expand to expose the a href
links that lie underneath the flash movie and on top of the table cell background jpeg




This post has been edited by seeing: 1 Jul, 2007 - 09:27 AM
User is offlineProfile CardPM
+Quote Post

fyrestorm
RE: Cross-browser Programming
1 Jul, 2007 - 02:54 PM
Post #6

D.I.C Lover
Group Icon

Joined: 4 Apr, 2002
Posts: 3,103



Thanked: 2 times
Dream Kudos: 228
My Contributions
QUOTE(seeing @ 1 Jul, 2007 - 10:44 AM) *

hi fyrestorm *_*


yeah, i know what you mean and yeap, it would
be super great and funky to do it this way....

but alass, this is not the way the site works


any ideas????


thanks, sophia


sophia, i think you're doing it the funky way, and before I dive into it, I'm curious, why are putting those links in the flash movie not the way the site works? I'm just trying to understand the logic behind what you're doing because I think they way you're doing it is making the site design harder than it has to be.
User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
1 Jul, 2007 - 04:10 PM
Post #7

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
the reasons are:

1) the main "box" is used to load the content of the site
into it, and the links are not only on the left, underneath
the flash movie, but all over the site

2) a 100% flash site is bad news

3) it works in IE so i didnt think the "workload" was so intense

4) why shouldnt it work fine in Firefox?

the site is hand coded in notepad (HTML, DHTML, JAVA SCRIPT, CSS)

I have tried opening the site in

IEv6.0, whole site works fine

FFv1.5, the same apart from the a href links

Opreav6.0, has problems loading the page due to java script
calling the external java script file (without the java script to
call the flash movies into the site, oprea works fine too!!)

Netscapev6.2, is dead sad.gif R.I.P.


Hey, thanks for you time by the way


maybe my hair will stay in tact after all!!??!!??


This post has been edited by seeing: 1 Jul, 2007 - 04:30 PM
User is offlineProfile CardPM
+Quote Post

fyrestorm
RE: Cross-browser Programming
1 Jul, 2007 - 06:12 PM
Post #8

D.I.C Lover
Group Icon

Joined: 4 Apr, 2002
Posts: 3,103



Thanked: 2 times
Dream Kudos: 228
My Contributions
fair enough, i'm gonna have to think on this some though before I can answer. I took a look at your code and my initial thoughts aren't valid, so I'm currently at a loss.
User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
1 Jul, 2007 - 06:23 PM
Post #9

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
ok fyerstorm

dont worry too much, that is not to saya that i dont
what you to help rather, i dont what take your time
too much


thanks again *_*

User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
1 Jul, 2007 - 09:49 PM
Post #10

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
BINGO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


http://toronto.bluejays.mlb.com/index.jsp?c_id=tor


the video (on thte right hand side) has the same functionality
as the example url i posted ealier


as in, it slides down (closed) to show the a href links underneath
the flash movie


this site WORKS in FF


w00t!!!!!!!!!!!!!!!



the only thing now is that i need to find out how
the blooming heck they did this......


thank you for your replies fyrestrom *_*


when i find out how to do this, i will close this link
for other users that may be stuck with the same
problem


the best thing is that i have seen this effect working
so that means that i can do it


w00t!!!!!!!!!!!!!!



thanks again, sophia


p.s. anyone up for decoding this site with me????? Razz

This post has been edited by seeing: 1 Jul, 2007 - 09:53 PM
User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
1 Jul, 2007 - 11:14 PM
Post #11

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
still no closer to understanding how this works exactly
but i have found another take on the same effect

this example "changes" the z-index of the layers on
button press (on releaese) and is coded into the flash
movie and is calling a java script to carry out the
functiton

http://home.wanadoo.nl/ej.beerlage/test2/


looks abit odd but does thte job in question too


any help here please??????



thanks, sophia


User is offlineProfile CardPM
+Quote Post

seeing
RE: Cross-browser Programming
3 Jul, 2007 - 01:22 AM
Post #12

New D.I.C Head
*

Joined: 1 Jul, 2007
Posts: 21


My Contributions
any help with this please?????


thanks, sophia
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 08:37PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month