PDA

View Full Version : Cross-Browser problem with DHTML-script


tangoe
14.07.2001, 18:53
In short: Probelms with mac-compability of a script at
www.aabnedoere.dk/test.html

Am I describing this totaly insane, since nobody is replying (thoug some are reading) or is there just very few people wiht mac-platform around these apges ???????

well, since I hardly use any css it´s maybe more correct to say "problems with a java-script"...However:
I use a script that adresses a <div>-tag in the body, that is: Javascript in the <head> writes a html-content [image src, link] to the div-tag. The method of writing is specifyed for NS and IE. So far evrything looks nice.
Now this script is combined with a positioning script, and so far evrything goes fine. Except in IE.5.0 for mac, and maybe other browsers too, which I can´t check.
I´m not into the very sophisticated DOM_lib-thing, allthough I´d like too and find it very absolute and impressive.
For a "here & now" solution to my problem:
Consider you do NOT use css-positioning/stylesetting:

Is there any difference in the positioning of a <div> between different browsers/platforms, if the <div>is placed alone in the body-section of a page ???

Is there any difference in postioning if you
write to <div>-tag´s postion, say ex: just writing a plain position like "left=120" from a script in the head, agaign between the different platforms and browsers ???


I´m aware of the two different methods used by IE & NS to adress the content of a div.

Am I missing something to get NS6 - compatibility ? Am I in conflict with the MAC-platform on something ?

NOW, my initial thought for the MAC-problem is, that I need to incorporate the postioning directly into the <div>writing, instead of having a wraked script trying to style it for me.

Please, someone lend me a hand (and brain) here.
This is a community-site non profit for 100 artists in Denmark, and I´m paid zero and I´m only a reporter, NOT a webdesigner, allthough I´ve created these monsters.

Did I forget the url´s, sp you can get some hands on ???

The problems with the scripts concerned is
1. a slideshow at www.aabnedoere.dk/test.html
2. an overview-page at www.aabnedoere.dk/oversigt.html

The main problem (right now) is MAC-compatibility, but allso a total cross-browser-adaption would be appriciated !!

[url:4dhdu404d4][/url:4dhdu404d4]



Edited by - tangoe on 07/15/2001 06:14:34

Edited by - tangoe on 07/16/2001 13:33:45