Closed WRobynson closed 6 years ago
Hi @WRobynson,
etiqueta
is a PNotify object, so it has no height
method. You can get its scrollheight with etiqueta.elem.get(0).scrollHeight
, or if you want to use jQuery, you can do etiqueta.elem.height()
or etiqueta.get().height()
.
Keep in mind, that is only for v3. In v4, the get
method is for getting PNotify option values. Instead, you would use etiqueta.refs.elem.scrollHeight
in v4.
It works perfectly!!!
Thanks a lot, @hperrin .
Hi,
I'm using PNotify with ajax to show "title" dynamically. So when the clicked object is on the bottom from page, the notify doesn't apper properly. I need know the height (which varies with the ajax result) to properly position the stach.
I have something like this:
`function shToolTip(user, id){ var p = $("#"+id);
}`
Tank you.