(sorry for my english)
Thank for very nice Floatbox
I have this problem:
My photogallery is in php/mysql code
All metadata is reading from database
Sample this gallery is here
http://galerie.dawep.net/dawe5?id=8
I need metadata ( data-fb-options="caption:` metadata `" )
like AJAX Content or Inline DIV Content
caption2:` category / name / name lat ` is OK
But i dont know how.
Here is code from my gallery snippet:
echo '<div class="content_in">';
echo '<p class="floatbox" data-fb-options="group:demo1">';
$i = 0;
foreach ($vypis2 as $val) {
$ed = $val->get('id_galerie');
if ($i >= $start and $i < $start+$pagesize) {
echo '<span class="gal">';
echo '<a href="'.$val->get('path_large').'" title="'.$val->get('name_cz').'"
data-fb-options="caption:`
<span class=\'popis\'>['.$val->get('short_text').']</span><br/>
<span class=\'data\'>['.$val->get('kde').' | '.$val->get('kdy').']</span>'.'`
caption2:`
<span class=\'kat\'>['.$val->get('name').']</span>
<span class=\'name_cz\'>'.$val->get('name_cz').'</span>
<span class=\'name_lat\'>'.$val->get('name_lat').'</span>`">
<img class="xedit" src='.$val->get('path_thumbs').' />
</a>';
echo '</span>';
}
echo '<div class="end"> </div> <!-- end end-->';
echo '</p>';
echo '</div> <!-- end content_in --> ';
and here options floatbox js
fbPageOptions = {
roundCorners: "all",
maxContentHeight: 800,
maxContentWidth: 800,
minContentHeight: 160,
minContentWidth: 160,
inFrameResize: false,
enableImageResize: false,
autoFitImages: false,
splitResize: false,
doSlideshow: true,
slideInterval: 3,
endTask: 'loop',
startPaused: true,
navOverlayWidth: 50,
cornerRadius: 4,
shadowSize: 8,
padding: 16,
overlayOpacity: 90,
resizeDuration: 0,
imageFadeDuration: 0,
overlayFadeDuration: 0,
colorTheme: "custom",
contentBackgroundColor: "#999999",
innerBorderColor: "#282828",
outerBorderColor: "#282828",
overlayColor: "#000000",
boxColor: "#333333",
};
Simply:
when is one window with floatbox image a need in this window link and open another little window with metadata and another information formated with html tags
(like AJAX Content or Inline DIV Content) ?
Please, help me
:-)