Posted by Seree.
Results > Posts Tagged With > dom
Posted by Seree.
This is a simple & stupid knowledge that I taken about 2 days to solve it.
I have a project that have to use this code….
var con = document.getElementById(“menu”);
con.style.left = “10″;
con.style.top = “20″;
When I run this code in Internet Explorer 6, 7.
I got it working like I want!
But when I try with Mozilla FireFox.
It never works!
Man! I hate DOM, if I have enough money. I’ll buy Microsoft and stop Internet Explorer project to reduce browser compatibility issues.
I try to …
Posted by Seree.
Hey friends,
In a few days ago, I’ve just stuck with how to change “float” style in JavaScript and very confuse why it doesn’t work at all!
I’m using …
var obj = document.getElementById(“some1”);
obj.style.float = “left”;
No luck at all. I tried both on Internet Explorer and Firefox. Even I use Internet Explorer Toolbar and Firebug. I can change the style via that tools but no luck with JavaScript.
Silly?
I’m fool with DOM. I try to find a solution and suddenly found that.
In DOM, there are …