This website requires JavaScript.
Explore
Help
Sign In
ashatora
/
openlayers
Watch
1
Star
0
Fork
0
You've already forked openlayers
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
1397f816b51ff76e57cd873f6a8f4c28e830a44d
openlayers
/
tests
/
Popup
History
euzuro
3007b23621
Bubble out the code that handles the re-sizing of the popup into an APIMethod: updateSize(). Other change is that now instead of using the 'contentHTML' string property to autosize, we will now use the actual contentDiv's 'innerHTML' property. This is possible because in the setContentHTML() function, we switch around the order and set the conentDiv.innerHTML *before* calling updateSize(). Seemingly minor, this change actually does wonders towards distancing us from the horrendous idea that the 'contentHTML' property was in the first place. Now, if users go in and fudge with the contentDiv DOMElement directly, they can still benefit from the auto-sizing. In fact, 'contentHTML' can be totally ignored altogether. joy. All tests pass, including an eyeballing of the acceptance test examples/popupMatrix.html in ff2 and ie7. Mil gracias to cr5 for the speedy review (
Closes
#1708
)
...
git-svn-id:
http://svn.openlayers.org/trunk/openlayers@7886
dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-28 20:04:17 +00:00
..
Anchored.html
Bubble out the code that handles the re-sizing of the popup into an APIMethod: updateSize(). Other change is that now instead of using the 'contentHTML' string property to autosize, we will now use the actual contentDiv's 'innerHTML' property. This is possible because in the setContentHTML() function, we switch around the order and set the conentDiv.innerHTML *before* calling updateSize(). Seemingly minor, this change actually does wonders towards distancing us from the horrendous idea that the 'contentHTML' property was in the first place. Now, if users go in and fudge with the contentDiv DOMElement directly, they can still benefit from the auto-sizing. In fact, 'contentHTML' can be totally ignored altogether. joy. All tests pass, including an eyeballing of the acceptance test examples/popupMatrix.html in ff2 and ie7. Mil gracias to cr5 for the speedy review (
Closes
#1708
)
2008-08-28 20:04:17 +00:00
AnchoredBubble.html
bring back r6710 now that popup changes are in
2008-03-31 05:03:49 +00:00
FramedCloud.html
The FramedCloud popup throws an error if you attempt to call setContentHTML
2008-04-02 14:08:01 +00:00