This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
View Entire Thread
Re: nead help with something to me it doesn't make sense

so you can actualy see the players? because that is my problem the players and trees arn't showing up and also the movement doesn't work in internet explorer because internet explorer sucks

Browser: IE 8

Re: nead help with something to me it doesn't make sense

No, all I see is the green squares. How are the players and trees being rendered? if it's by ajax, then this solution will work for that as well.

As far as the code goes...

1) You need to call the netmap file before setting up the init() function.

2) It may be an advantage to create a function that can execute the ajax request, passing in a url and a callback function. This means you don't need to set it up in every function in the file.

3) Look into event listeners. IE uses them differently from other browsers (IE uses "attach event" rather than "add event" but I use a wrapper function that deals with this.

If you want some example code, there's some useful functions in my common.js file and xmlhttp.js file. Anything that isn't mine is commented to say so.

Hopefully using standard input buttons and adding an event to them will help solve your problem in IE.

-Scut

Browser: Mozilla Firefox 3.6.*

OS: Windows 7

Re: nead help with something to me it doesn't make sense

Cache? Shouldn't be a problem on a page I've never been to. But I see it works in browsers that between them are used by more than 90% of us, so never mind.