Fast solution - $(div.my).hide(); - update div's content by ajax / js - get $(div.my).height() / width() - $(div.my).show()
2009/6/30 serenobs <[email protected]> > > Hi. > > I'd like to know the size of div before showing. > For example, > > .my { > position: absolute; > } > > with this css, size is not determined yet. > I want to place this div at center of viewport after calling > Ajax.updater > But I can get only initial size unless show element. > > How can I get right size? > > > > -- Best Regards, Vladimir Tkach +972-54-7574166 [email protected] http://teamco-anthill.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
