Advanced Tooltips Support Product Page

This topic was archived

Error on dynamic php content

Asked 15 May 2009 11:53:01
1
has this question
15 May 2009 11:53:01 vdh claudius posted:
Hi,
when I add the tooltip whith dynamic php data ,
the page let the dynamic text appear without tooltip comportment.

I saw that we have to replace the string in ASP language,
could you help me for the php language with that string :
<?php echo $row_RsMat['mat']; ?>

what do I have to replace??
cordialy
Claude


Replies

Replied 15 May 2009 13:18:46
15 May 2009 13:18:46 Miroslav Zografski replied:
Hello Claude,

Can you be more specific in your issue description and can you provide a code example as well?

Regards,
Replied 15 May 2009 15:24:35
15 May 2009 15:24:35 vdh claudius replied:
Well, the code source of the php page :
______________________________________

<a href="#" onMouseOver="applyDMXTooltip(this,'<p><strong>[u]<font face="arial, helvetica, sans-serif">Equipement de base :<br /></font>[/u]</strong><font face="arial, helvetica, sans-serif"><strong>En montagne, privilégier la superposition des couches (essayer de supprimer le coton).<br /></strong></font><font face="arial, helvetica, sans-serif">    1 ou 2 Tee shirt respirant<br />    </font><font face="arial, helvetica, sans-serif">1 ou 2 sous-vêtements respirant à manches longues <br />    </font><font face="arial, helvetica, sans-serif">1 gilet sans manche polaire ou duvet synthétique. <br />    </font><font face="arial, helvetica, sans-serif">2 paires de chaussettes type bouclettes. <br />    </font><font face="arial, helvetica, sans-serif">Veste polaire coupe vent ou veste en duvet ou duvet synthétique (moins sensible à l’humidité). <br />    </font><font face="arial, helvetica, sans-serif">Collant ski de fond ou pantalon montagne Soft Shell type Montura Vertigo Zip.<br />    </font><font face="arial, helvetica, sans-serif">Sur veste imperméable et respirant « type goretex ».<br />    </font><font face="arial, helvetica, sans-serif">Sur Pantalon avec zips le long des jambes, respirant « type goretex ».<br />    </font><font face="arial, helvetica, sans-serif">Bonnet ; gants fins (gants de ski de fond) et gants chauds (moufles) en rechange<br />    </font><font face="arial, helvetica, sans-serif">Chapeau ou casquette.<br />    </font><font face="arial, helvetica, sans-serif">Lunettes de soleil et un masque de ski (avec écran brouillard).<br />    </font><font face="arial, helvetica, sans-serif">Gourde 1,5 litre/ pers (une bouteille de Coca fera très bien l’affaire) + petit thermo 0.5l/pers.<br />    </font><font face="arial, helvetica, sans-serif">1 couteau type Opinel avec, ou un tire bouchon ? Cà c’est pour les spécialistes.<br />    </font><font face="arial, helvetica, sans-serif">1 cuillère, un bol plastique.<br />    </font><font face="arial, helvetica, sans-serif">PQ + 1 briquet pour faire brûler le PQ après utilisation !!!</font></p>

<p><font face="arial, helvetica, sans-serif">    </font><font face="arial, helvetica, sans-serif">Chaussures de rando montante type trekking imperméable avec semelles Vibram<br />    </font><font face="arial, helvetica, sans-serif">(type Lowa Tibet GTX) minimum ou chaussure d’alpinisme voire coque plastique en hiver.<br />    </font><font face="arial, helvetica, sans-serif">Une paire de guêtres, (préférer les jambières).</font></p>
<p><font face="arial, helvetica, sans-serif">    </font><font face="arial, helvetica, sans-serif">Un sac à dos équipé de bretelles larges pour le confort du portage. D’une contenance de </font><font face="arial, helvetica, sans-serif">40 litres environ, <br />    éviter les sacs qui se ferment avec une fermeture éclair.<br /></font><br /><font face="arial, helvetica, sans-serif">[u]<strong>Pour le refuge :<br /></strong>[/u]</font><font face="arial, helvetica, sans-serif"><strong>    </strong>1 tee shirt coton léger pour la nuit.<br />    </font><font face="arial, helvetica, sans-serif">1 collant thermique léger.<br />    </font><font face="arial, helvetica, sans-serif">1 sous vêtement de rechange.<br />    </font><font face="arial, helvetica, sans-serif">1 paire de chaussettes.          <br />    </font><font face="arial, helvetica, sans-serif">1 micro trousse de toilette (1 gant de toilette, serviette de bain légère avec 1 reste de savon).<br />    1</font><font face="arial, helvetica, sans-serif"> paire de tong ou crocs pour le refuge, en principe il y en a au refuge.<br />    1</font><font face="arial, helvetica, sans-serif"> lampe frontale type « tikka » Petzl.   <br />    </font><font face="arial, helvetica, sans-serif">Un sac à viande en soie ou drap SNCF.<br />    </font><font face="arial, helvetica, sans-serif">1 journal type Progrès, Le Monde, Dauphiné, ou autre pour faire sécher les chaussures.</font></p>

<p><font face="arial, helvetica, sans-serif"><strong>[u]Votre pharmacie individuelle légère:[/u]   <br />    </strong></font><font face="arial, helvetica, sans-serif">Des pansements et double peau ; des compresses ; de la bande adhésive<br /></font><font face="arial, helvetica, sans-serif">    De la crème solaire avec un bon indice de protection ; et crème après-solaire ou biafine<br /></font><font face="arial, helvetica, sans-serif">    Dafalgan pour le mal de tête en altitude.</font></p>

<p><font face="arial, helvetica, sans-serif">[u]<strong>Comment j’organise mon sac à dos : <br /></strong>[/u]</font><font face="arial, helvetica, sans-serif">    Au fond du sac à dos tout le nécessaire pour le refuge. <br />    </font><font face="arial, helvetica, sans-serif">Au dessus, le fond de sac (c’est ce qui reste toujours dans le sac à dos) composé des gore tex<br />    </font><font face="arial, helvetica, sans-serif">(sur pantalon, sur veste) guêtres, les moufles, la polaire ou veste duvet, la pharmacie.<br />    </font><font face="arial, helvetica, sans-serif">Au dessus la gourde ou la pipette, le thermo, les pique-niques.<br />    </font><font face="arial, helvetica, sans-serif">Dans le rabat supérieur tout ce que l’on a besoin rapidement (le PQ et son briquet dans une petite poche <br />    </font><font face="arial, helvetica, sans-serif">plastique, la crème solaire, le couteau, les couverts, les lunettes de soleil,les gants, la casquette et le </font><font face="arial, helvetica, sans-serif">bonnet <br />    </font><font face="arial, helvetica, sans-serif">et </font><font face="arial, helvetica, sans-serif">l’appareil photo.<br />    </font><font face="arial, helvetica, sans-serif">Les encas trouveront une place de choix dans les filets latéraux, si vous en avez ou dans le rabat du sac.</font></p>','fade','easeOutQuad','topright','in',60,60,'clickout','bluebevel',true,'','',0,0,'auto','auto','auto','auto')">voir la liste de matériel</a></td>



______________

__________________________
the code of the Dremaweaver page is :


 <td align="center"> <a href="#" onMouseOver="applyDMXTooltip(this,'<?php echo $row_RsMat['mat']; ?>','fade','easeOutQuad','topright','in',60,60,'clickout','bluebevel',true,'','',0,0,'auto','auto','auto','auto')">voir la liste de matériel</a></td>


___________________________

In Fact the the recorset <?php echo $row_RsMat['mat']; ?> is coming from AdvHTML_Editor

So in firefox the text is not hidden and centered

Is that help you?
Regards
Claude
Replied 16 May 2009 13:12:13
16 May 2009 13:12:13 vdh claudius replied:
HI,

I find the way :
I create à new page for the containig php information
The toolTips call this page with the passing ID
and I change manuanly the code inserting with tooltips behaviors

<a href="#" onMouseOver="applyDMXTooltip(this,'[s][b]materiel.php?edit=%3C?php%20echo%20$row_RsAffiche%5B%27ID_contenu%27%5D;%20?%3E[/b[/s]','fade','easeOutQuad','bottomright','in',60,60,'clickout','bluebevel',true,'','',0,0,'auto','auto','600px','500px')">voir la liste de matériel </a>


by :

<a href="#" onMouseOver="applyDMXTooltip(this,'[b]materiel.php?edit=<?php echo $row_RsAffiche['ID_contenu'];?>[/b]','fade','easeOutQuad','bottomright','in',60,60,'clickout','bluebevel',true,'','',0,0,'auto','auto','600px','500px')">voir la liste de matériel </a>



Regards
Replied 18 May 2009 14:03:24
18 May 2009 14:03:24 Miroslav Zografski replied:
Hi Claudius,

I wasn't sure if that workaround will fit you since it requires additional page to be created. However, this way you can have additional css to be addedin order to format the text on that page in a better manner and with no conjunction with others components on the main page.

Sorry for being late.
Glad you have found your way through.

Regards,

Reply to this topic