I have a page which displays multiple peoples bios. When their name is clicked on it opens up their information in Thickbox. Inside of this content there are previous and next links which go to the previous and next bios (obviously).
They do work (somewhat), but for whatever reason it is not a smooth simple transition from bio to bio. When clicked on Next or Previous it seems as though that the thickbox loads the content and then flickers a couple of times, then finally stops and displays the content. Any idea on how to make it a smooth, seamless transition from bio to bio?
Also, is there anyway to include a "Close window" link inside of the content which closes the thickbox too?
Comments
Comment #1
sarhad commenteduse same "rel" property for A tag. thickbox grouping images by "rel" for using "prev, next, close" buttons
if u using views module - my solutuion (for image gallery):
1. install views_customfield module (allow you to use PHP code for output).
2. don't use image field - use "Customfield: PHP Code". it will provide for you $data variable with $data->nid. after u can use what you want. my example:
rel="a1" - for grouping images for thickbox ( "prev,next,close" buttons )
Comment #2
n4te02 commentedThanks for the response... the thing is I'm not using this for images. I am using a page-profile.tpl.php to display the biographies. The next and previous buttons are working... it's just not a smooth transition at all. Which boggles my mind seeing it's all in an iFrame. You would think the actual thickbox wouldn't be affected at all...