[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - weergave anders in IE dan in Mozilla
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

weergave anders in IE dan in Mozilla

Het echte opmaakwerk, alles vragen over HTMLen, CSSen en Javascripten.

weergave anders in IE dan in Mozilla

Berichtdoor Samm » 16 jan 2008 15:19

Hoi ik ben met een site bezig met een dropdown en wereldklokken script. Nou worden de scriptjes in IE niet of anders (dropdown verspringt te ver naar rechts) weergegeven en in Firefox wel goed. Ik doe vast iets fout in de doctype maar wat?

samm
Samm
wmpr
 
Berichten: 14
Geregistreerd: 20 jun 2007 13:42

javascript weergave anders in IE dan in Mozilla

Berichtdoor Samm » 17 jan 2008 14:17

Samm
wmpr
 
Berichten: 14
Geregistreerd: 20 jun 2007 13:42

Re: weergave anders in IE dan in Mozilla

Berichtdoor Stef » 17 jan 2008 20:56

Waarschijnlijk is je Javascript enkel voor IE6 geschreven, het script uitpluizen en kijken waar FF wel werkt is meer werk dan een goed .
Avatar gebruiker
Stef
wmpr
 
Berichten: 5575
Geregistreerd: 27 nov 2003 21:51

Re: weergave anders in IE dan in Mozilla

Berichtdoor Samm » 17 jan 2008 21:53

Stef daar was ik al bang voor. Ik ben er al druk mee bezig. Thanks voor je reactie.
Samm
wmpr
 
Berichten: 14
Geregistreerd: 20 jun 2007 13:42

Re: weergave anders in IE dan in Mozilla

Berichtdoor KillerSponge » 22 jan 2008 13:21

Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: weergave anders in IE dan in Mozilla

Berichtdoor ElbertF » 22 jan 2008 14:17

Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: weergave anders in IE dan in Mozilla

Berichtdoor KillerSponge » 22 jan 2008 18:57

Het 'probleem' is dat het in IE niet uitmaakt vanwaar je de innerHTML aanroept, en bij Firefox wel. In het script uit dit topic is het bijvoorbeeld zo dat het stuk javascript in de header staat, dus het kan geen elementen uit de body aanpassen.

Onderstaande link is het script uit dit topic, maar dan aangepast aan de officiële DOM methode.
http://downloads.killersponge.nl/wereldklok.zip

Dat script werkt wél in IE én FF. Alleen Opera werkt niet helemaal zoals t hoort, maar ik verdenk de bagger javascriptengine van Opera...
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: weergave anders in IE dan in Mozilla

Berichtdoor ElbertF » 22 jan 2008 19:28

Dat klopt niet, ik roep mijn AJAX-engine aan vanuit de header en alles werkt overal perfect (ook Opera dus). Voorwaarde is natuurlijk wel dat dit in een functie staat die pas aangeroepen word wanneer de elementen ook daadwerkelijk ingeladen zijn op de pagina maar dat geldt voor elke browser en is bij dit script ook het geval.

Alleen IE heeft problemen met cellen en select-velden (hoewel je hiervoor MS' verzinsel outerHTML kunt gebruiken).
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: weergave anders in IE dan in Mozilla

Berichtdoor KillerSponge » 22 jan 2008 20:03

(pst, innerHTML is ook een MS verzinsel ;) )

Dat bedoelde ik ook. Het script staat volledig in de header, de functie aanroep begint onLoad. Anyway: kennelijk werkt het niet. Zodra ik het innerHTML stuk verving door het DOM stuk, werkte het wel :)

Enne, de Opera bug had niks met innerHTML/DOM te maken: om de één of andere rede vind Opera dat het altijd '0-1' seconde is. Alle overige browsers doen dit wel goed.
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: weergave anders in IE dan in Mozilla

Berichtdoor ElbertF » 22 jan 2008 20:43

Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: weergave anders in IE dan in Mozilla

Berichtdoor KillerSponge » 22 jan 2008 22:41

Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: weergave anders in IE dan in Mozilla

Berichtdoor ElbertF » 22 jan 2008 22:55

innerHTML heeft niks met 'draggable' te maken, HTML zal ook nooit interactief worden zoals PHP (AJAX). Ik vraag me wel af wat ze ermee bedoelen. :}
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: weergave anders in IE dan in Mozilla

Berichtdoor KillerSponge » 22 jan 2008 22:59

Ik doelde op het feit dat het interactiever wordt, in de zin van minder statisch. Dingen die je kan doen zonder de pagina te refreshen. Natuurlijk moet er voor de rest van het systeem wel iets van PHP achter hangen :P
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05


Keer terug naar HTML, CSS, Javascript



cron