• [TUT] Tooltip for Thumbnails 4 0 5 1
Currently:  

Author Topic: [TUT] Tooltip for Thumbnails  (Read 120289 times)

0 Members and 1 Guest are viewing this topic.

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: [TUT] Tooltip for Thumbnails
« Reply #75 on: December 03, 2010, 07:07:09 AM »
Hi,

weiß jemand wie man den Titel in der wz_tooltip.js dynamisch mit
dem Bildnamen füllen kann?

ich habe gerade herausgefunden wie es geht: Klick

Folgendes habe ich hinter das letzte Tip Argument geschrieben:

onmouseover="Tip('{image_tip}...{image_comments}', TITLE, '{image_name}')"

Screenshot:



@ivan
Maybe you like update your first post with that solution?


Gruß Jens
« Last Edit: December 03, 2010, 07:20:36 AM by x23piracy »

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline Tino23

  • Full Member
  • ***
  • Posts: 190
    • View Profile
    • LMJ - Motorsport
Re: [TUT] Tooltip for Thumbnails
« Reply #76 on: December 03, 2010, 08:31:19 PM »
Also ich hab mein Problem vom vorherigem Beitrag http://www.4homepages.de/forum/index.php?topic=22030.msg151283#msg151283 jetzt auf die einfache weise erst mal gelöst. Ist nicht die beste Lösung, aber sie geht und ich habs einfach nicht auf die reihe sonst bekommen und leider auch keine Antworten erhalten...

ich hab die Language {Tag} einfach nicht Registriet bekommen. Außer bei {lang_comments} da gins von Anfang an....

mini_top_bit.html
Code: [Select]
<div align="center">
<table cellpadding="0" cellspacing="0" border="0" width="100%"  align="center">
<tr><td valign="bottom">
<table border="0" cellspacing="0" cellpadding="0" onmouseover="Tip('<b>Kategorie:</b> {cat_name}<br /><b>Datum:</b> {image_date}<br /><b>Hinzugefügt von:</b> {user_name}<br /><b>Hits:</b> {image_hits}<br /><b>Stimme(n):</b> {image_votes}<br /><b>Bewertung:</b> {image_rating}<br /><b>{lang_comments}</b> {image_comments}')" onmouseout="UnTip()">
  <tr>
    <td valign="bottom">{thumbnail}</td>
</tr>
</table>
  {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new}<b>{lang_mini_top_mode}</b>
</td></tr></table>
</div>

Original wenn das mit den Tags geklapt hätte müßte es so lauten
Code: [Select]
<div align="center">
<table cellpadding="0" cellspacing="0" border="0" width="100%"  align="center">
<tr><td valign="bottom">
<table border="0" cellspacing="0" cellpadding="0" onmouseover="Tip('<b>{lang_category}:</b> {cat_name}<br /><b>{lang_date}</b> {image_date}<br /><b>{lang_added_by}:</b> {user_name}<br /><b>{lang_hits}:</b> {image_hits}<br /><b>{lang_votes}:</b> {image_votes}<br /><b>{lang_rating}:</b> {image_rating}<br /><b>{lang_comments}</b> {image_comments}')" onmouseout="UnTip()">
  <tr>
    <td valign="bottom">{thumbnail}</td>
</tr>
</table>
  {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new}<b>{lang_mini_top_mode}</b>
</td></tr></table>
« Last Edit: December 05, 2010, 12:22:08 PM by Tino23 »

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #77 on: February 18, 2011, 03:41:16 PM »
how to download?? not able to download the file from the given link?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #78 on: February 18, 2011, 04:45:09 PM »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #79 on: February 18, 2011, 09:53:42 PM »
Screenshot:
....

i want to do like this..how to make my tooltip looks pretty like this??
« Last Edit: February 18, 2011, 10:04:27 PM by Rembrandt »