You down with OOP? Yeah you know me!
Originally posted by Justin Fox:
if you have the div relative it will push everything down nicely.
also, you might want to have the [+] and [-] populate the same little div,
by altering that div's "innerHTML".
Originally posted by Sarathy Srinivas:
can some1 pls provide me with a link for gettin more info on 'div'
You down with OOP? Yeah you know me!
Originally posted by Bear Bibeault:
Please use real words when posting to the forums. Abbreviations such as "some1" in place of "someone" only serve to make your posts more difficult to read and less likely to generate useful responses.
Please read this for more information.
thanks,
bear
JavaRanch sheriff
strBuf.append("<div id=/"adv/" style=/"display:none/">");
//more stuff appended
strBuf.append("/div")
You down with OOP? Yeah you know me!
Originally posted by Justin Fox:
key.innerHTML = "<font>[+]</font>";
you need to set the innerHTML to HTML, not plain text.
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|