• Bonjour

    débutant je suis... mais je m'accroche
    j'ai 2 panos dans 2 dossiers séparés comportant chacun 1 fichier xml bien entendu
    je souhaiterais tout bêtement faire un lien entre les deux avec un "hotspot_ani.swf" par exemple mais à ce que j"ai pu comprendre, avec ce dernier, on ne peut que relier les fichiers xml entre eux
    c'est déjà pas mal
    certes
    mais
    en chargeant le second pano, il garde les informations xml du premier pano
    explications : chacun des 2 panos comprend de nombreuses fenêtres html (exterdata.html)
    en passant du premier au second pano, les fenêtres ne sont pas respectées, le second pano se charge bien mais les images de mes fenêtres html sont celles du pano n°1
    certes mes images dans les deux dossiers sont nommées à l'identique (Dossier 1 : http://image1.jpg/image2.jpg/... Dossier 2 : http://image1.jpg/image2.jpg/)
    j'ai tenté de renommer l'image du dossier 2 pour exemple en image2_2.jpg mais il l'ignore
    alors j'ai renseigné l'url direct de l'image et là ca fonctionne mais ce n'est pas le but

    (et je n'ai pas que 2 panos au final mais 11 !)

    rhaaaaaa !

    voilà ce que j'ai :

    <hotspot name="chapelle 2"
    url="hotspot_ani.swf"
    ath="-111"
    atv="4"
    scale="0.3"
    zoom="true"
    blendmode="invert"
    onhover="showtext(Vue suivante ?[br],STYLE2);"
    onclick="loadpano(vue_2/dossier_2.xml)" />


    j'ai essayé avec :

    <hotspot name="chapelle 2"

    url="hotspot_ani.swf"

    ath="-111"

    atv="4"

    scale="0.3"

    zoom="true"

    blendmode="invert"

    onhover="showtext(Vue suivante ?[br],STYLE2);"

    onclick="geturl(MONURL)" />


    mais ca ne marche pas

    j'ai juste besoin de faire un lien (tout bête ! *blink* ) qui ouvrirait une page html (_parent)

    quelqu'un est inspiré ?
    merci d'avance

  • Salut Brice,
    J'imagine que tes fenêtres HTML sont sous forme de plugin.
    Je regarderais du côté de keep=false pour chacun des plugins contenant tes fenêtres HTML, pour qu'elles ne soient pas reprises quand tu passes d'un pano à l'autre.
    Appelle moi si tu veux. Mon numéro est sur mon site.
    ++
    Thomas

  • merci Thomas mais j'ai ca :

    --- HOSTPOST 2 MONUMENT AUX MORTS ----


    <hotspot name="hs2"
    keep="false"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="0"
    fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
    fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
    fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
    onover=""
    onhover="showtext(Monument aux morts[br],STYLE2);"
    onout=""
    ondown=""
    onup=""
    onclick="action(show_html_field2);"


    PS: je vais pas te déranger pour ca par tel, j'attends ta réponse !

  • et voili !


    --- HOSTPOST 1 PERSSE ET LA GORGONE ----


    <hotspot name="hs1"
    keep="false"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="0"
    fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
    fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
    fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
    onover=""
    onhover="showtext(Persée et la Gorgone[br],STYLE2);"
    onout=""
    ondown=""
    onup=""
    onclick="action(show_html_field1);"
    >
    <point ath="-105.4331" atv=" 6.6365" />
    <point ath="-105.6490" atv=" 6.5317" />
    <point ath="-105.7578" atv=" 6.2686" />
    <point ath="-105.8085" atv=" 6.0021" />

    </hotspot>


    <action name="show_html_field1">
    set(plugin[button1].enabled,false);
    set(plugin[htmltext1].y,-1500);
    tween(plugin[button1].alpha,0,,,set(plugin[button].visible,false));
    tween(plugin[htmltext1].alpha,1,0);
    tween(plugin[htmltext1].textblur,0,0);
    tween(plugin[htmltext1].blur,0,0);
    set(plugin[htmltext1].visible,true);
    set(plugin[htmltext1].enabled,true);
    tween(plugin[htmltext1].y,0);
    </action>

    <action name="showbutton1">
    set(plugin[button].visible,true);
    set(plugin[button].enabled,true);
    tween(plugin[button].alpha,1);
    </action>

    <plugin name="htmltext1" url="textfield1.swf"
    align="center" width="620" height="500" x="0" y="-1100" visible="false"
    html="data:html1"
    css="data:css1"
    roundedge="0"
    borderwidth="5"
    bordercolor="0xFFFFFF"
    backgroundcolor="0xecece0"
    selectable="false"
    shadow="5"
    autosize="center"
    />

    <action name="hidewindow1">
    set(plugin[%1].enabled,false);
    tween(plugin[%1].alpha,0);
    tween(plugin[%1].blur,20);
    tween(plugin[%1].textblur,20,,,set(plugin[%1].visible,false));
    </action>


    <data name="html1">
    <p align="center">
    <font face="times" size="+4">
    <b><br/>Canal a Hambourg de Albert Marquet</b>
    <br/>
    <br/>
    </font>
    </p>

    <a href="event:action(loadpano);">
    <img src="image1.jpg" />
    </a>


    <p align="left">
    <b>Albert Marguety</b>
    <br/>Le Havre, 1877 - Forcalquier, 1953
    <br/><br/>
    <b>Le Yacht anglais</b>
    <br/>1906
    <br/>Huile sur Toile<br/>Don anonyme, 1927
    </p>

    <br/>

    <p align="left">
    blabmlablablablablablabla
    </p><a href="http://fr.wikipedia.org/wiki/Raoul_Dufy">...</a><br/>
    <br/>
    <p align="center">
    </p>

    <p align="right">
    <font size="+4">
    <a href="event:action(hidewindow1,htmltext1);action(showbutton1);">Fermer cette fenetre</a><br/>
    </font>
    </p>
    </data>

    <data name="css1">
    a { text-decoration:underline; color:#a1a190; font-weight:bold; }
    a:hover { color:#885500; }
    </data>

    <data name="css1">
    <include url="externdata1.css" />
    </data>

    <data name="html1">
    <include url="externdata1.html" />
    </data>


    --- FIN HOSTPOST 1 ----


    you see ?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!