Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Module › Views ›

[GELÖST] Wie erstellt man iFramed Content mit Thickbox?

Eingetragen von Crouchie (157)
am 05.10.2009 - 10:31 Uhr in
  • Views
  • Drupal 6.x

Hallo zusammen,

ich möchte auf manchen Seiten einen Infobutton einfügen. Bei "Klick" soll sich dann eine Thickbox öffnen, in der ein Bild und ein Text erscheint. Ich habe das schon mal mit Hilfe der Examples auf http://jquery.com/demo/thickbox/ bei statischen HTML Seiten angewand, doch für Drupal nützt das mir leider wenig. Kann mir jemand helfen?

VG Crouchie

PS: Ich möchte eine Text-Bild Kombi schon als Content anzeigen lassen, also nicht den Text als Bild abspeichern und hochladen.

‹ [Gelöst] Links zu den Nodes in einem View "deaktivieren" [gelöst] Organic Groups - Inhalte aus den Gruppen des angemeldeten Users finden ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Hier sind ein Paar

Eingetragen von bit7 (57)
am 06.10.2009 - 23:41 Uhr

Hier sind ein Paar Lösungsansätze für Drupal: http://drupal.org/node/107803

Zitat:

PS: Ich möchte eine Text-Bild Kombi schon als Content anzeigen lassen, also nicht den Text als Bild abspeichern und hochladen.

Sowas müsstest du evt. über eine Template-Datei lösen.

Ansonsten kann ich dir auch Lightbox2 empfehlen. Damit funktioniert das auch super! Einfach die readme.txt lesen dort sind Beispiele drin.

  • Anmelden oder Registrieren um Kommentare zu schreiben

Oh man, ich benutze schon

Eingetragen von Crouchie (157)
am 07.10.2009 - 08:32 Uhr

Oh man, ich benutze schon lange Lightbox, dachte aber, dass das Modul nur für Bilder wäre! Ich sollte mir wohl öfter mal ne README.TXT reinziehen ;)

Also vielen Dank an dich und bis zum nächsten mal.

Crouchie

PS: die readme ist auch empfehlenswert für Leute die manuell Slideshows, Captions und Shortcuts bearbeiten wollen :)

HTML Content Support
====================
It's possible to show webpage content in the lightbox, using iframes.  In this
case the "rel" attribute should be set to "lightframe".  Again it's possible to
group the content, (e.g. "lightframe[search]") but in addition to that, it's
possible to control some of the iframe properties.  It's possible to set the
'width', 'height' and 'scrolling' properties of the iframe.  The properties are
separated from the group name by a '|', for example
"lightframe[search|width:100px;]" and
"lightframe[search|width:100px;][my caption]".  If no grouping is being used,
then the '|' is still used and the format would be "lightframe[|width:100px;]".
The properties should all be of the format "property: value;" - note the closing
semi-colon.  If no iframe properties are set, then the default width and height
of 400px will be used. See below for more detailed examples.

Basic example:
<a href="http://www.google.com" rel="lightframe">Search google</a>

Basic example with caption:
<a href="http://www.google.com" rel="lightframe[][my caption]">Search google</a>

Grouped example:
<a href="http://www.google.com" rel="lightframe[search]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search][Search Yahoo]">Search yahoo</a>

Controlling iframe property example:
<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;]">Search google</a>

Controlling iframe property when grouped example:
<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;][Search Google]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;][Search Yahoo]">Search yahoo</a>

Inline Content Support
=======================
It's possible to show HTML snippets in the lightbox, that is on the same domain.
In this case the "rel" attribute should be set to "lightmodal".  Again it's
possible to group the content, (e.g. "lightmodal[search]") but in addition to
that, it's possible to control some of the inline / modal properties.  It's
possible to set the 'width', 'height' and 'scrolling' properties of the inline
content.  The properties are separated from the group name by a '|', for example
"lightmodal[search|width:100px;]" and
"lightmodal[search|width:100px;][my caption]".  If no grouping is being used,
then the '|' is still used and the format would be "lightmodal[|width:100px;]".
The properties should all be of the format "property: value;" - note the closing
semi-colon.  If no properties are set, then the default width and height of
400px will be used. See below for more detailed examples.

Basic example:
<a href="search.php" rel="lightmodal">Search</a>

Basic example with caption:
<a href="search.php" rel="lightmodal[][my caption]">Search</a>

Grouped example:
<a href="search.php" rel="lightmodal[search]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search][published]">Search published content</a>

Controlling modal property example:
<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;]">Search</a>

Controlling modal property when grouped example:
<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;][Search published]">Search published content</a>
<a href="search.php?status=0" rel="lightmodal[search|width:400px; height:300px;][Search Unpublished]">Search unpublished content</a>

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • Киберспорт СНГ: команды, заработки и новости
  • Drupal CMS installieren
  • [erledigt]MP3 in Drupal 10 einbinden
  • (gelöst)Drupal 11 installieren
  • Titel ausblenden
  • Ich brauche dringen Hilfe zu Updates oder ggf. wwie geht Composer?
  • Dynamische Ansicht von Seiteninhalt (als Tabelle?)
  • Vergabe von Berechtigungen für bestimmte Rollen; mir fehlt der Haken bzw. das „Veröffentlicht“
  • Medien und andere Daten mit Feeds von Drupal 7 auf Drupal 10 migrieren
  • Rolle erstellen nicht zu finden
  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
Weiter

Neue Kommentare

  • Verwende doch das Tag dafür,
    vor 3 Wochen 20 Stunden
  • Guckst du hier: step by step
    vor 3 Wochen 10 Stunden
  • Guckst du hier: step by step
    vor 3 Wochen 10 Stunden
  • Ich habe ja keine Angst vor
    vor 4 Wochen 2 Tagen
  • Ist grundsätzlichmachbar – aber nichts für „einfach mal schnell“
    vor 4 Wochen 5 Tagen
  • Vielen Dank erst einmal, aber
    vor 4 Wochen 6 Tagen
  • Du hast die "Trusted host
    vor 5 Wochen 4 Stunden
  • Bitte genauer den aktuellen Lösungs-Ansatz beschreiben
    vor 6 Wochen 6 Tagen
  • Git und rsync sind die wichtigsten Werkzeuge
    vor 7 Wochen 2 Tagen
  • Arrrrg. Nix Tabelle :-D /*
    vor 11 Wochen 4 Tagen

Statistik

Beiträge im Forum: 250285
Registrierte User: 20509

Neue User:

  • lucrativaguera
  • Marvinkep
  • RandallFloop

» Alle User anzeigen

User nach Punkten sortiert:
wla9464
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 12 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association