Bonjour,
j'ai une galerie flash (faites avec autoviewer) et je voudrais l'intégrer dans une page du wordpress
Donc pour intégrer il faut copier le code de l'index...
Mais où dois je mettre les fichiers sur le serveur?
Merci
Modérateur: Modérateurs
par Falkra » 06 Juin 2012 13:12
<!-- 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>ATAO Photographie</title>
<link rel="icon" type="type/png" href="https://static-ssl-cdn.addons.mozilla.net/img/uploads/addon_icons/11/11861-64.png?modified=1337985723" />
<!-- Download AutoViewer at www.airtightinteractive.com/projects/autoviewer -->
<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;
font-family:sans-serif;
font-size:40;
}
a {
color:#cccccc;
}
#overlay {
position: absolute;
top: 10px;
left: 10px;
}
</style>
</head>
<body>
<!--div id="overlay"><a href="http://www.example.com">HOME</a></div-->
<div id="flashcontent">AutoViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
<script type="text/javascript">
var fo = new SWFObject("autoviewer.swf", "autoviewer", "100%", "100%", "8", "#181818");
//Optional Configuration
//fo.addVariable("langOpenImage", "Open Image in New Window");
//fo.addVariable("langAbout", "About");
//fo.addVariable("xmlURL", "gallery.xml");
fo.addParam("wmode", "transparent");
fo.write("flashcontent");
</script>
</body>
</html>
<?php
/*
Template Name: page_galerie
*/
?>
<?php get_header(); ?>
<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;
font-family:sans-serif;
font-size:40;
}
a {
color:#cccccc;
}
#overlay {
position: absolute;
top: 10px;
left: 10px;
}
</style>
</head>
<body>
<!--div id="overlay"><a href="http://www.example.com">HOME</a></div-->
<div id="flashcontent">AutoViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
<script type="text/javascript">
var fo = new SWFObject("autoviewer.swf", "autoviewer", "100%", "100%", "8", "#181818");
//Optional Configuration
//fo.addVariable("langOpenImage", "Open Image in New Window");
//fo.addVariable("langAbout", "About");
//fo.addVariable("xmlURL", "gallery.xml");
fo.addParam("wmode", "transparent");
fo.write("flashcontent");
</script>
</body>
<?php get_footer(); ?>