Floatbox & Iframe

  • Hallo!

    Ich würde gerne Floatbox auf meiner Seite benutzen. -> http://randomous.com/tools/floatbox/

    Leider haben die keinen deutschen Support und mein Englisch ist noch schlechter, als meine WebmasterQualitäten :o

    Ich habe folgendes Problem. Ich benutze auf meiner Homepage ein Iframe.

    In der Beschreibung kann man folgendes finden:
    --------------------------------------------
    You can run floatbox from iframed pages if you like, and those iframes can be nested as deep as you want.
    Floatbox.js and floatbox.css need to be included in the root (top) page and on every page in a nested chain down to and including the last child page that has floatbox content on it.
    For example, if you have a page with iframes nested two deep and floatbox content only in the deepest iframe, you still need floatbox.js and floatbox.css included in the deep iframe, the parent of that iframe, and the root document.
    The css file has to be included in the root page, but does not need to be on the child pages.
    (See the iframed demo page for an example of a floatbox-enabled page with iframes nested two deep.)

    Note that browsers restrict cross-site scripting.
    Floatbox (and any other lightbox-type script) will not be able to function from within an iframe if the top page and iframed child page do not have identical host name portions of their URLs.
    (You can use framebox.js in these circumstances. See below.)
    --------------------------------------------

    Ich habe wie beschrieben im head folgendes eingebunden:

    <link type="text/css" rel="stylesheet" href="/floatbox/floatbox.css" />
    <script type="text/javascript" src="/floatbox/floatbox.js"></script>

    und meine fotos werden folgendesmaßen verlinkt:

    <a href="test/01.jpg" rel="floatboxGroup">
    <img src="test/mini/01.jpg" border="0" alt="Grafik"></a>

    das ganze funktioniert auch wenn ich die seite direkt aufrufe, sobald ich die seite aber im iframe öffne, wird es nicht mehr richtig dargestellt.

    ich verstehe nur nicht ganz die anleitung zu den iframes... ich muss in jedem verzeichnis floatbox.js and floatbox.css haben und die verlinkung im header bleibt gleich?

    eventuell kann mir ja jemand helfen...

    liebe grüße und vielen dank

  • mhm egal wie ich es drehe, es geht nicht...
    der support dort ist auch nur auf englisch ;(

    ich bin am verzweifeln... ärgerlich das ganze

  • dann probier ich dir mal deinen absatz zu übersetzen.. (nich wörtlich!!)

    You can run floatbox from iframed pages if you like, and those iframes can be nested as deep as you want.
    wenn man will kann man floatbox aus i-frame-seiten starten und diese iframes können so tief eingebettet werden, wie man möchte.
    Floatbox.js and floatbox.css need to be included in the root (top) page and on every page in a nested chain down to and including the last child page that has floatbox content on it.
    Es ist nötig Floatbox.js und floatbox.css im obersten dokument und in jeder seite, die sich in einer verschachtelten kette befinden, einzubinden bis zu und inklusive der letzten "kindseite", die floatbox-inhalt hat.
    For example, if you have a page with iframes nested two deep and floatbox content only in the deepest iframe, you still need floatbox.js and floatbox.css included in the deep iframe, the parent of that iframe, and the root document.
    Wenn man zum Beispiel eine Seite hat, die zwei eben iframes hat und der floatbox-inhalt im letzten iframe liegen soll, braucht man immernoch die floatbox.js und die floatbox.css im dokument des tiefsten iframes eingebunden, ebenso in dem dokument, das den tiefsten iframe einbindet, im elternelement des iframes und im wurzel-dokument
    The css file has to be included in the root page, but does not need to be on the child pages.
    Die css-datei muss im wurzel-dokument eingebunden sein, braucht aber nicht zwingend in den kindseiten vorhanden sein.
    (See the iframed demo page for an example of a floatbox-enabled page with iframes nested two deep.)
    (schau die die demoseite für ein beispiel einer floatbox-aktivierten seite mit iframes in zwei tiefen)
    Note that browsers restrict cross-site scripting.
    beachte, dass browser cross-site-scripting beeinträchtigen
    Floatbox (and any other lightbox-type script) will not be able to function from within an iframe if the top page and iframed child page do not have identical host name portions of their URLs.
    floatbox (und andere lightbox-typ-scripte) werden nicht in der lage dazu sein zu funktionieren, wenn die oberste seite und die kindseite im iframe nicht identische teile des host-namens in ihren URLs haben
    (You can use framebox.js in these circumstances. See below.)
    (man kann framebox.js in folgenden umständen nutzen. siehe unten)

    is jetzt halt nur sinngemäß, wenn jemand es besser weiß, so bitte ich um verbesserung!!
    hoffe die übersetzung hilft dir