Letractively / tooltips

Automatically exported from code.google.com/p/tooltips
0 stars 0 forks source link

Nested Div #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is not a problem actually. I'm trying to place nested div inside the
cooltip popup, so that i can achieve different styles of display inside the
cooltip dialogue. inside the cooltip dialogue. But without success.

I was thinking that maybe the assignment element.title=string forces any
nested div to become literal string, so i've tried the following hack:

initialize: function( el, options ) {
  ....
  var custom_src = options.custom_selector ? 
       this.el.select(options.custom_selector).first() : false;
  if( custom_src ) {
    this.content = custom_src.innerHTML;
  } else {
    ... // original code
  }
} 

Without success. Is there anyway i can nest div or span or watever to
achieve diff stylings inside the popup?

Any help is appreciated.

Original issue reported on code.google.com by ngt...@gmail.com on 8 Jul 2008 at 11:24