ven. 15 mai 2015, 12h06
Guy BONEMME
atoutfox.public.association
Re: HS -php xml 2
Dans son message précédent, FoxInCloud a écrit :
> j'ai eu beau relire plusieurs fois, je n'y comprends toujours rien
> peux-tu poster le code php ?
A tous,
J'ai omis la structure du fichier index.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Bibliothèque Digitale CHF | www.chfleron.be</title>
<meta http-equiv="Content-Type"content="text/html; charset=UTF-8" />
<style>
html{ height:100%; }
body{ font-family:Arial,Verdana; font-size:13px; padding:0;
background-color:#222; height:100%; margin:0; color:#FFFFFF}
a{ color:#999999; text-decoration:none; }
a:hover{ color:#FF0000; text-decoration:underline;}
</style>
<script type="text/javascript"> // <![CDATA[
if ((navigator.userAgent.indexOf('iPhone') != -1) ||
(navigator.userAgent.indexOf('iPod') != -1) ||
(navigator.userAgent.indexOf('BlackBerry') != -1) ||
(navigator.userAgent.indexOf('Android') != -1) ||
(navigator.userAgent.indexOf('IEMobile') != -1) ||
(navigator.userAgent.indexOf('iPad') != -1))
{ document.location = "resources/PDF_File.pdf";
} // ]]>
</script>
</head>
<body>
<script type="text/javascript"
src="resources/swfobject/swfobject.js"></script>
<script type="text/javascript"
src="resources/swfaddress/swfaddress.js"></script>
<div id="flashContainer" style="width:100%; height:100%; margin:0
auto 0; padding:0; min-height:300px;">
<div id="DB"><strong>You need to upgrade your Flash
Player</strong></div>
</div>
<script type="text/javascript">
//------------------------------------
function setFocusOnFlash() {
//------------------------------------
var fl = document.getElementById("DB");
fl.focus();
}
var flashvars = {
deep_linking: "true",
xml_cache_busting: "true"
};
var params = {
allowFullScreen: "true",
scale: "noscale",
menu: "false",
wmode: "opaque"
};
swfobject.embedSWF("digitalbrochure.swf", "DB", "100%", "100%",
"10.0.0", "expressInstall.swf",flashvars,params);
swfobject.addLoadEvent(setFocusOnFlash);
</script>
</body>
</html>
--
Guy BONEMME
Atoutfox
BEfox
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000016368