I keep reading about fb.tagAnchors like in a thread from Nov 2008
"After updating a panel, you need to run the fb.tagAnchors function"
or a more recent thread
"After you dynamically load content, you have to run fb.tagAnchors() against that content to light it up. See the API reference for details."
I read the API reference but still have no ideas what to do.
If I'm running a page that uses ajax content, the new content does not run the floatbox. From my reading I understand that using the fb.TagAnchors can solve this issue. My problem is I have no idea how to use it and where to put it. Is it used in an "onclick" I'm not so good at writing javascript
any help is appreciated!
how exactly do I...
Page: 1
Author | Post |
---|---|
NBB
|
#1 Wed May 20, 2009 9:11 pm
|
Guest | |
#2 Wed May 20, 2009 9:50 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
I've got an update to the docs coming out real soon now that covers this topic better. Here's the excerpt. The key is to find the place in your existing javascript where your ajax content is inserted into your page, and run the two lines fb.anchors.length = 0; and fb.tagAnchors(document); after that insertion.
|
Page: 1