Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Add qTip to div before it's available..
24th June, 15:46 (This post was last modified: 24th June 15:50 by chiggz.)
Post: #1
[Solved] Add qTip to div before it's available..
Hi,

So got a strange question here..

I've got a few divs created via javascript after a page has loaded e.g. onclick events, etc.

Now, I want to add qtip calls to these divs BEFORE the div has been added to the page (appendChild.div).

Is this possible?

I know I would use document.ready if the div was created before the page loads, and this works if the qtip function was called after the div was added to the page.

I've attached an example file..

#test2 gets created after #test1 is clicked but the qtip function fails to do anything because the div hasn't actually been added to the page yet (I need the qtip call first!).

Thanks


Attached File(s)
.html  dynamic_qtip_jquery_test.html (Size: 1.09 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
24th June, 17:26
Post: #2
RE: Add qTip to div before it's available..
Nevermind.. decided to ensure the div has been added before I make the qtip call!!

Thanks..
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  show qtip in a specified div or position myapweb 1 259 27th December 17:53
Last Post: Craig
  [Solved] QTip content from existing div element on page? dcash 4 1,868 8th December 18:29
Last Post: Craig
  [Solved] Problem with Fixed Position div and scrolling homerlex 7 852 26th October 19:35
Last Post: Craig
  [Solved] add an image to the qtip? knowlton 2 676 21st October 04:58
Last Post: nevf
  [Solved] Part of autosuggest div that overflows qtip is hidden jstewmc 3 1,317 25th August 18:27
Last Post: Craig
  [Solved] Add div tage in Qtip. Elango 1 819 12th July 17:31
Last Post: Craig
  [Solved] Is div of qtip can move? igood 9 1,969 3rd July 23:01
Last Post: Sempiterna
Question [Solved] Can't bind qtip to a div??? SDirk 1 596 20th June 17:18
Last Post: Craig
Question How to add link in tip monica 6 1,497 5th June 17:20
Last Post: stefanogrini
  [Solved] Mouseover Div With Child Components hluu 2 1,091 14th May 18:32
Last Post: hluu



User(s) browsing this thread: 1 Guest(s)