Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1890 connectés 

 


 Mot :   Pseudo :  
 
 Page :   1  2
Page Suivante
Auteur Sujet :

Simpleviewer

n°978120
orionis1
Posté le 25-09-2007 à 10:55:50  profilanswer
 

Reprise du message précédent :
Bonjour à tous,
Je voudrais faire apparaître une image en fond, j'ai trouvé que ça se passait dans la propriété "backgroundImagePath" de gallery.xml, mais comment faire pour ne pas étirer l'image à la résolution de l'écran?
Si personne ne connaît la réponse, je me contenterais du truc pour rendre le fond transparent!
Merci d'avance...


Message édité par orionis1 le 25-09-2007 à 13:37:11
mood
Publicité
Posté le 25-09-2007 à 10:55:50  profilanswer
 

n°998887
dridrinet
Posté le 24-01-2008 à 17:17:08  profilanswer
 

Bonjour,
Comment fait-on pour mettre un fond transparent dans la galerie photo ?
merci d'avance

n°999055
dridrinet
Posté le 25-01-2008 à 10:23:02  profilanswer
 

Bonjour,
Je voulais savoir si tu avais des frameset sur ton site ?
merci
 
 

justeleblanc a écrit :

et même le voilà
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>SimpleViewer</title>
<!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">  
 /* hide from ie on mac \*/
 html {
  height: 100%;
  overflow: hidden;
 }
 
 #flashcontent {
  height: 100%;
 }
 /* end hide */
 
 body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #181818;
  color:#ffffff;
 }
</style>
</head>
<body>
 <div id="flashcontent">SimpleViewer requires Macromedia Flash. <a href="http://www.macromedia.com/go/getflashplayer/">Get Macromedia Flash.</a> If you have Flash installed, <a href="index.html?detectflash=false">click to view gallery</a>.</div>  
 <script type="text/javascript">
  var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "#181818");  
  fo.addVariable("preloaderColor", "0xffffff" );
  fo.addVariable("xmlDataPath", "gallery.xml" );  
  fo.write("flashcontent" );  
 </script>  
</body>
</html>


n°999072
crayon29
mine de rien...
Posté le 25-01-2008 à 11:04:00  profilanswer
 

Si à la place de "background-color" tu mets "background-image" avec un gif ou png transparent ça pourrait pas marcher?

 

edit: je suis une quiche en code donc je dis peut etre n'importe quoi :D


Message édité par crayon29 le 25-01-2008 à 11:04:51

---------------
www.crayon29.com (incompatible IE) -- Liverpowen a écrit: Moi quand je suis bourré, je suis gay  :o
n°999213
dridrinet
Posté le 25-01-2008 à 18:25:43  profilanswer
 

Merci pour ta réponse.
Le probleme c'est qu'on ne peux pas avoir de fond transparent seulement sur le swf. je ne veux pas inserer le fichier html ni le xml, et comme les deux sont lié, le swf ne prend pas la couleur que je lui donne, il reste gris. je n'ai pas de solution. Biz à vous tous

n°1000159
doulix
Posté le 30-01-2008 à 09:23:28  profilanswer
 

Bonjour à tous,
 
voila apres avoir visité quelques sites utilisant simpleviewer, je m'y suis mis, mais hélas quand je publie mon site chez mon hébergeur, dans la galerie, je vois correctement la mosaique, alors que les photos en taille normales n'apparaissent qu'avec des croix. Pourtant sur mon ordinateur, quand je teste en local ça fonctionne parfaitement.
J'ai bien vérifié et j'ai laissé les fichiers avec leur noms d'origine, j'ai bien paramétré le gallery.xml et ils sont tous avec la même architecture que se soit sur mon ordi ou sur le site distant.
 
Avez vous une petite idée ? s'il vous plait car c'est légèrement agaçant hihi ....
 
d'avance merci.
 
P.S : @ Dridrinet : pour mettre le fond en transparent, j'ai juste retiré les code hexa dans les propriétés background color background-color: ;
, et dans les parantheses var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "" );  


Message édité par doulix le 30-01-2008 à 09:27:21
n°1000248
dridrinet
Posté le 30-01-2008 à 13:39:21  profilanswer
 

Merci Doulix
Autre question : comment insérer plusieurs viewer.swf (c à dire plusieurs galeries) sur un même site sans générer de conflit entre les swf. J'ai pourtant renommé chaque swf sous un nom différent mais ca ne fonctionne pas :(
Merci

n°1000466
Zedlefou
In cabbage we trust !
Posté le 31-01-2008 à 07:11:13  profilanswer
 

Faut aussi renommer tes div


---------------
Jeu de simulation Boursière - Version BETA - https://www.facebook.com/wildstocks
n°1000577
doulix
Posté le 31-01-2008 à 13:27:56  profilanswer
 

Problème résolu, en fait l'extension des photos tailles normale etait en .JPG alors que dans le gallery elle etait en .jpg ... et donc ca ne fonctionnait pas.
 
Sinan pour dridrinet : dans les propriétés d'ouverture du .swf il faut penser a changer le nom et ça devrait fonctionner.
exemple :  
var fo = new SWFObject("viewer1.swf", "viewer", "100%", "100%", "7", "" );
var fo = new SWFObject("viewer2.swf", "viewer", "100%", "100%", "7", "" );
var fo = new SWFObject("viewer3.swf", "viewer", "100%", "100%", "7", "" );
 
Amicalement

n°1000616
doulix
Posté le 31-01-2008 à 16:03:18  profilanswer
 

Et oui encore moi...
 
En fait je n'arrive pas à intégrer simpleviewer dans une page HTML qui ressemble a ma page d'accueil avec les liens et tout, quand je met le code du script java, il m'affiche ma page normal sans le simpleviewer .....
Pourtant sur le site de justeleblanc il a reussi a le faire, z'avez une idée ?
 
merci


Message édité par doulix le 31-01-2008 à 16:04:07
mood
Publicité
Posté le 31-01-2008 à 16:03:18  profilanswer
 

n°1000647
Zedlefou
In cabbage we trust !
Posté le 31-01-2008 à 16:57:13  profilanswer
 

On peut voir le code ?


---------------
Jeu de simulation Boursière - Version BETA - https://www.facebook.com/wildstocks
n°1000741
doulix
Posté le 31-01-2008 à 22:33:40  profilanswer
 

voila ma page complete. (etant pas super fort mais comprenant légerement le code j'ai pris un kit sur le net)
 

Citation :

<html>
 
<head>
<title>.: 31.12.07 :.</title>
<meta NAME="description" CONTENT="La famille de damdoum en photos">
<meta NAME="keywords" CONTENT="Vos mots clefs">
<meta http-equiv="content-language" content="be, fr, lu, ch, ca">
<meta NAME="author" CONTENT="">
<meta NAME="rating" CONTENT="general">
<meta NAME="classification" CONTENT="Tout public">
<meta NAME="copyright" CONTENT="Toutes les photos sont et restent la propriétés de . Pour le kit graphiques Merci à www.gratos.be">
<meta NAME="expires" CONTENT="never">
<meta NAME="rating" CONTENT="general">
<meta NAME="revisit-after" CONTENT="31 days">
<meta NAME="Robots" CONTENT="all | follow | index">
<meta NAME="Reply to" CONTENT="mailto:">
<meta NAME="publisher" CONTENT="">
<meta HTTP-EQUIV="Content-type" CONTENT="text/html;charset=iso-8859-1">
<!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">  
 /* hide from ie on mac \*/
 html {
  height: 100%;
  overflow: hidden;
 }
 
 #flashcontent {
  height: 100%;
 }
 /* end hide */
 
 body {
 height: 100%;
 margin: 0;
 padding: 0;
 background-color: ;
 color:#ffffff;
 }
</style>
</head>
 
<body bgcolor="#D9DAEF">
<div align="center"><center>
  <table border="0" cellpadding="0" cellspacing="0" bgcolor="#8588CB"
style="border: 3px solid rgb(255,255,255)">
  <tr>
    <td background="../10003.gif" width="180">&nbsp;</td>
    <td background="../10003.gif" valign="middle" align="center">&nbsp;</td>
    <td background="../10003.gif" width="81"><img src="../10004.gif" width="81" height="80"
    alt="[ ... ]"></td>
  </tr>
  <tr>
    <td colspan="3"><div align="center"><center><table border="0" cellpadding="0" width="730"
    cellspacing="4">
      <tr>
        <td style="border: 1px solid rgb(255,255,255)" bgcolor="#645494" align="center"><a
        href="../votre lien" style="color: rgb(255,255,255)"><small><font face="Trebuchet MS"><a href="../index.htm">Accueil</a></font></small></a></td>
        <td style="border: 1px solid rgb(255,255,255)" bgcolor="#645494" align="center"><a
        href="../votre lien" style="color: rgb(255,255,255)"><small><font face="Trebuchet MS"><a href="index.html">Photos 31.12.07</a></font></small></a></td>
        <td style="border: 1px solid rgb(255,255,255)" bgcolor="#645494" align="center"><small><font face="Trebuchet MS">&agrave; venir</font></small></td>
        <td style="border: 1px solid rgb(255,255,255)" bgcolor="#645494" align="center"><small><font face="Trebuchet MS">&agrave; venir</font></small></td>
        <td style="border: 1px solid rgb(255,255,255)" bgcolor="#645494" align="center"><small><font face="Trebuchet MS">&agrave; venir</font></small></td>
        <td style="border: 1px solid rgb(255,255,255)" bgcolor="#645494" align="center"><small><font face="Trebuchet MS">&agrave; venir</font></small></td>
      </tr>
    </table>
    </center></div></td>
  </tr>
  <tr>
    <td colspan="3"><div align="center"><center><table border="0" cellpadding="0"
    cellspacing="0" width="748">
      <tr>
        <td valign="top" align="center" width="180" height="10"></td>
        <td valign="top" align="center" width="568" height="10"></td>
      </tr>
      <tr>
        <td valign="top" align="center" width="180"><div align="center"><center><table border="0"
        cellpadding="0" cellspacing="0" width="180">
          <tr>
            <td align="center" height="5"></td>
          </tr>
          <tr>
            <td align="center"><font face="Trebuchet MS" size="2" color="#FFFFFF"><span
            style="font-size: 9pt">Le <script>
/*Current date script credit:  
Website Abstraction (www.wsabstract.com)
Over 200+ free scripts here!
*/
 
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
document.write("<font color='ffffff' face='trebuchet MS,Verdana, Arial, Helvetica'>"+daym+ " - "+month+ " - "+year+ "</font>" )</script></span></font></td>
          </tr>
          <tr>
            <td align="center"><img src="../10005.gif" width="176" height="20" alt="[ ... ]"></td>
          </tr>
          <tr>
            <td align="center"><p align="left"><small><font face="Trebuchet MS">&nbsp;<img
            src="../10009.gif" width="21" height="17" alt="[ ... ]"> <a href="../index.htm">Accueil</a></font></small></td>
          </tr>
          <tr>
            <td align="center"><p align="left"><small><font face="Trebuchet MS">&nbsp;<img
            src="../10009.gif" width="21" height="17" alt="[ ... ]"> <a href="index.html">Photos 31.12.07</a></font></small></td>
          </tr>
          <tr>
            <td align="center"><img src="../10006.gif" width="176" height="20" alt="[ ... ]"></td>
          </tr>
          <tr>
            <td align="left"><small><font face="Trebuchet MS">&nbsp;<img src="../10009.gif" width="21"
            height="17" alt="[ ... ]"> &agrave; venir</font></small></td>
          </tr>
          <tr>
            <td align="left"><p align="left"><small><font face="Trebuchet MS">&nbsp;<img
            src="../10009.gif" width="21" height="17" alt="[ ... ]"> &agrave; venir</font></small></td>
          </tr>
          <tr>
            <td align="center"><p align="center"><img src="../10007.gif" width="176" height="20"
            alt="[ ... ]"></td>
          </tr>
          <tr>
            <td align="left"><small><font face="Trebuchet MS">&nbsp;<img src="../10009.gif" width="21"
            height="17" alt="[ ... ]"> &agrave; venir<a href="../votre lien" style="color: rgb(239,239,248)"></a></font></small></td>
          </tr>
          <tr>
            <td align="left"><p align="left"><small><font face="Trebuchet MS">&nbsp;<img
            src="../10009.gif" width="21" height="17" alt="[ ... ]"> &agrave; venir<a href="../votre lien"
            style="color: rgb(239,239,248)"></a></font></small></td>
          </tr>
          <tr>
            <td align="center"><img src="../10008.gif" width="176" height="20" alt="[ ... ]"></td>
          </tr>
          <tr>
            <td align="left"><small><font face="Trebuchet MS">&nbsp;<img src="../10009.gif" width="21"
            height="17" alt="[ ... ]"> &agrave; venir<a href="../votre lien" style="color: rgb(239,239,248)"></a></font></small></td>
          </tr>
          <tr>
            <td align="left"><small><font face="Trebuchet MS">&nbsp;<img src="../10009.gif" width="21"
            height="17" alt="[ ... ]"> &agrave; venir<a href="../votre lien" style="color: rgb(239,239,248)"></a></font></small></td>
          </tr>
          <tr>
            <td align="left"><hr width="170" size="1" color="#FFFFFF" align="center">            </td>
          </tr>
          <tr>
            <td align="left"></td>
          </tr>
          <tr>
            <td align="left"><p align="center"><a href="http://www.gratos.be" target="_blank"><img
            src="../design_gratos.gif" width="138" height="26" alt="Designed free by gratos.be "
            border="0"></a><br>
            &nbsp; </td>
          </tr>
          <tr>
            <td align="left"><p align="center"><span style="font-size: 8pt"><font face="Verdana"><font
            color="#FFFAEA">[</font><strong><font color="#FFBF00">::</font></strong><a
            href="http://www.gratos.be/" style="color: rgb(0,0,0)">Designed by DHP</a></font><font
            face="Verdana" color="#FFBF00"><strong>::</strong></font><font face="Verdana"
            color="#FFFAEA">]</font></span></td>
          </tr>
        </table>
        </center></div></td>
        <td valign="top" align="center" width="568"><div align="center"><center><table border="0"
        cellpadding="0" cellspacing="0">
          <tr>
            <td width="100%"><p align="center"><font face="Trebuchet MS"><img src="../10010.gif"
            width="550" height="20" alt="[ ... ]"></font></td>
          </tr>
          <tr>
            <td width="100%" bgcolor="#FFFFFF"
            style="border-left: 2px solid rgb(0,0,0); border-right: 2px solid rgb(0,0,0)"><div
            align="center"><center><table border="0" cellpadding="2" width="100%">
              <tr>
                <td width="100%"><p align="center"><img src="../10013.gif" width="60" height="35"
                alt="[ ..... ]" align="absmiddle"> <strong><font
                face="Verdana" color="#6B2760">Bienvenue</font></strong></td>
              </tr>
              <tr>
                <td width="100%"><div align="center"><center><table border="0" cellpadding="5" width="460"
                cellspacing="0">
                  <tr>
                    <td width="100%"><img src="../10014.gif" width="18" height="15" alt="[ ... ]"
                    align="absmiddle">&nbsp;
                      </td>
                  </tr>
                </table>
                </center></div></td>
                <div id="flashcontent">Cet Album photo nécessite Macromedia Flash. <a href="http://www.macromedia.com/go/getflashplayer/">Obtenir Macromedia Flash.</a> Si le lecteur flash est déjà installé sur votre ordinateur, <a href="index.html?detectflash=false">cliquez pour voir la gallerie.</a>.</div>  
 <script type="text/javascript">
  var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "" );  
  fo.addVariable("preloaderColor", "0xffffff" );
  fo.addVariable("xmlDataPath", "gallery.xml" );  
  fo.write("flashcontent" );  
 </script>  
              </tr>
              <tr>
                <td width="100%"><hr width="500" size="1" color="#645494">                </td>
              </tr>
              <tr>
                <td width="100%"><p align="center"><img src="../10015.gif" width="420" height="17"
                alt="[ ... ]"></td>
              </tr>
              <tr>
                <td width="100%"><p align="center"><font face="Trebuchet MS"><marquee
                style="font-family: Trebuchet MS; font-size: 9pt; color: rgb(173,61,83)" border="1"
                width="410">
                  Toutes les images restent ma propri&eacute;t&eacute;. Si certaines vous interessent merci de me contacter par mail
                </marquee></font></td>
              </tr>
              <tr>
                <td width="100%"><p align="center"><font face="Trebuchet MS"><img src="../10012.gif"
                width="33" height="27" alt="[ ... ]" align="absmiddle">&nbsp;&nbsp; <a href="../index.htm">Homepage</a>
                &nbsp; --&nbsp; <a href="mailto:">Courrier</a>&nbsp; </font><img src="../10016.gif"
                width="33" height="27" alt="[ ... ]" align="absmiddle"></td>
              </tr>
            </table>
            </center></div></td>
          </tr>
          <tr>
            <td width="100%"><font face="Trebuchet MS"><img src="../10011.gif" width="550" height="20"
            alt="10011.gif (1092 octets)"></font></td>
          </tr>
          <tr>
            <td width="100%"></td>
          </tr>
          <tr>
            <td width="100%"></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
    </table>
    </center></div></td>
  </tr>
  <tr>
    <td colspan="3"></td>
  </tr>
  <tr>
    <td colspan="3"></td>
  </tr>
</table>
</center></div>
</body>
</html>

n°1000742
justelebla​nc
Posté le 31-01-2008 à 22:37:27  profilanswer
 

houlà je t'ai complètement oublié :/

n°1000808
doulix
Posté le 01-02-2008 à 11:46:11  profilanswer
 

fnif, une idée ?

n°1002255
doulix
Posté le 07-02-2008 à 13:51:54  profilanswer
 

Up ?

n°1002592
Zedlefou
In cabbage we trust !
Posté le 08-02-2008 à 16:34:24  profilanswer
 

http://forum.hardware.fr/hfr/Progr [...] 0261_1.htm

 

:D


Message édité par Zedlefou le 08-02-2008 à 16:34:35

---------------
Jeu de simulation Boursière - Version BETA - https://www.facebook.com/wildstocks
n°1013354
dreylau
Posté le 14-04-2008 à 17:28:38  profilanswer
 

doulix a écrit :

Problème résolu, en fait l'extension des photos tailles normale etait en .JPG alors que dans le gallery elle etait en .jpg ... et donc ca ne fonctionnait pas.
 
Sinan pour dridrinet : dans les propriétés d'ouverture du .swf il faut penser a changer le nom et ça devrait fonctionner.
exemple :  
var fo = new SWFObject("viewer1.swf", "viewer", "100%", "100%", "7", "" );
var fo = new SWFObject("viewer2.swf", "viewer", "100%", "100%", "7", "" );
var fo = new SWFObject("viewer3.swf", "viewer", "100%", "100%", "7", "" );
 
Amicalement


 
bonjour,
voila j'ai le même problème que dridrinet. j'ai voulu créer plusieurs galeries mais une fois hébergées seules la première fonctionne parfaitement la deuxième n'affiche pas les photos. j'ai donc créer d'autres fichiers .swf que j'ai ratachés au différents .html mais il n'y a pas de changements. quelqu'un pourrait-il m'aider s'il vous plait?

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2
Page Suivante

Aller à :
Ajouter une réponse
 

Sujets relatifs
[FLASH] problème sur diaporamas (simpleviewer) 
Plus de sujets relatifs à : Simpleviewer


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR