This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » Extension Developing » advanced tooltip... repeat region recordset
Reply

advanced tooltip... repeat region recordset

Nicolas K.
Member



Since: 12 Nov 2004
Posts: 18
Posted 30 Jun 2008 15:41:26

I try to use repeating region from a recordset
I have a list with master and detail info
I want to hide the detail and appear when mouse over with advanced tooltip,

but it is a nested region, so the detail show the same info for all record if I use hide/show div Advancedtooltip

I also try to call direct from the recordset but it need the id from the master recordset ( empty result )

if any one have an idea of how I should do... (hope you understand my englush...)

here for the case of a direct call to the detail record set :

<?php do { ?>
<div onmouseover="applyDMXTooltip(this,'<?php echo $row_detail2liste['name_gall']; ?>','fade','easeOutQuad','mouse','out',600,600,'mouseout','yellow',false,'','',0,0,'auto','auto','auto','auto')"><?php echo $row_master1artist['prenom_artist']; ?><?php echo $row_master1artist['nom_artist']; ?></b></div>

<div id="test"> <?php
if ($totalRows_master1artist>0) {
$nested_query_detail2liste = str_replace("123456789", $row_master1artist['id_art'], $query_detail2liste);
mysql_select_db($database_connection);
$detail2liste = mysql_query($nested_query_detail2liste, $connection) or die(mysql_error());
$row_detail2liste = mysql_fetch_assoc($detail2liste);
$totalRows_detail2liste = mysql_num_rows($detail2liste);
$nested_sw = false;
if (isset($row_detail2liste) && is_array($row_detail2liste)) {
do { //Nested repeat
?>
<tr>
<td><span class="style1">Gallerie:</span>  <?php echo $row_detail2liste['name_gall']; ?>-<br />
<span class="style2">Description:</span> <?php echo $row_detail2liste['text_gall']; ?><br />
<span class="style2">example link:</span> <?php echo $row_detail2liste['link_gall']; ?><br /></td>
</tr>
<?php
} while ($row_detail2liste = mysql_fetch_assoc($detail2liste)); //Nested move next
}
}
?>
</div>
</div>
<?php } while ($row_master1artist = mysql_fetch_assoc($master1artist)); ?><p> </p>





Edited by - refnikko on 30 Jun 2008 15:42:01

I try to use repeating region from a recordset
I have a list with master and detail info
I want to hide the detail and appear when mouse over with advanced tooltip,

but it is a nested region, so the detail show the same info for all record if I use hide/show div Advancedtooltip

I also try to call direct from the recordset but it need the id from the master recordset ( empty result )

if any one have an idea of how I should do... (hope you understand my englush...)

here for the case of a direct call to the detail record set :

<?php do { ?>
<div onmouseover="applyDMXTooltip(this,'<?php echo $row_detail2liste['name_gall']; ?>','fade','easeOutQuad','mouse','out',600,600,'mouseout','yellow',false,'','',0,0,'auto','auto','auto','auto')"><?php echo $row_master1artist['prenom_artist']; ?><?php echo $row_master1artist['nom_artist']; ?></b></div>

<div id="test"> <?php
if ($totalRows_master1artist>0) {
$nested_query_detail2liste = str_replace("123456789", $row_master1artist['id_art'], $query_detail2liste);
mysql_select_db($database_connection);
$detail2liste = mysql_query($nested_query_detail2liste, $connection) or die(mysql_error());
$row_detail2liste = mysql_fetch_assoc($detail2liste);
$totalRows_detail2liste = mysql_num_rows($detail2liste);
$nested_sw = false;
if (isset($row_detail2liste) && is_array($row_detail2liste)) {
do { //Nested repeat
?>
<tr>
<td><span class="style1">Gallerie:</span>  <?php echo $row_detail2liste['name_gall']; ?>-<br />
<span class="style2">Description:</span> <?php echo $row_detail2liste['text_gall']; ?><br />
<span class="style2">example link:</span> <?php echo $row_detail2liste['link_gall']; ?><br /></td>
</tr>
<?php
} while ($row_detail2liste = mysql_fetch_assoc($detail2liste)); //Nested move next
}
}
?>
</div>
</div>
<?php } while ($row_master1artist = mysql_fetch_assoc($master1artist)); ?><p> </p>





Edited by - refnikko on 30 Jun 2008 15:42:01

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency