[BNM] Javascript/ajax makes my text crusty in IE!
Dan Eastwell
daneastwell at gmail.com
Mon Jan 8 09:55:04 GMT 2007
'Crustified's a technical term, eh? ;)
Got any more details/example?
Have you tried using an alternative library e.g jquery (which I am using) -
not that I've done any detailed comparisons between libraries, but this
might solve it.
Loading a page via innerHTML is pretty straightforward with this:
$("div#example").load("results.php?theValue=" + theValue);
("search for div id="example" and load results.php's returned HTML into it,
passing 'theValue' from the page")
It would also be an idea to make sure that you *do* have a doctype, opening
and closing html tags, etc, in your example, to be sure that you know you're
not throwing flaky old IE into any unknown rendering mode.
HTH, but not super-clear on what you're trying to do/what's happening.
Cheers,
Dan.
On 1/4/07, delarge <delargerock at gmail.com> wrote:
>
> Greetings all.....
>
> I was messing around with simpleJS (http://simplejs.bleebot.com/) to get
> some page loading action, see here:
> http://v8.pegasusblur.com/simplejs/
>
> Fine in FF - but in IE the text goes crustified after the first letter H
>
> the page loads 2 files
> > hello.php
> > hello2.php
>
> all that is in these files is
>
> <h1>Hello</h1>
> and
> <h1>Hello 2!!</h1>
>
> .... no opening html tags etc....
>
> (btw - i know reset isn't really a reset, just trying to pass null values
> around a bit)
>
> Any idea why my text is deformed?
>
--
Daniel Eastwell
Portfolio and articles:
http://www.thoughtballoon.co.uk
Blog:
http://www.thoughtballoon.co.uk/blog
More information about the BNMlist mailing list
BNMlist is hosted by Screenlists, a Screen-Play.net service