iframe - Mootools absolute TIP positioning -
i need position mootool events calendar inside iframe.
unfortunately tool tip appears on date events, cut boundary of iframe.
how can set tooltip position it's @ x=0 , y=0 of container div (here "calcontainer")?
here piece of code generates tip
if (this.showtip) { newtip = new tips(eventdiv, { fixed: true }); eventdiv.store('tip:title', time).store('tip:text', this.options.cevents[i].title + '<br /><i>' + this.options.cevents[i].location +'</i>') ; }
here html
<div class="calcontainer" > <div id="calbody"></div> </div>
calbody div containing calendar
thanks
why want tooltips positioned 0,0 container ? people not understand tooltip relevant date.
you set fixed:true
- fixed flag sais if tooltip follow mouse or stay fixed.
what can either enlarge iframe contains gap of tooltips or use tips attribute offset
or windowpadding
can read in tips docs
Comments
Post a Comment