liamloveslearning Posted September 23, 2009 Share Posted September 23, 2009 hey guys, im having the worst time in the world trying to implement sIFR into a website for a client of mine, Ive followed about 5 different tutorials and uploaded all the neccessary files, I can see my swf text in my browser if I open it ie www.mysite.com/sIFR.swf only when i view my website it isnt replacing my text correctly, has anybody any experience in this? from what i can tell my css must be invalid but i cant see anything! Quote Link to comment https://forums.phpfreaks.com/topic/175280-implementing-sifr/ Share on other sites More sharing options...
liamloveslearning Posted September 23, 2009 Author Share Posted September 23, 2009 im not sure, but could it be a javascript conflict? <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>LLR Fire and Security Solutions</title> <link href="images/style.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="/sIFR-screen.css" type="text/css" media="screen"> <link rel="stylesheet" href="/sIFR-print.css" type="text/css" media="print"> <script src="/sifr.js" type="text/javascript"></script> <style type="text/css" media="screen"> .flash-title { font-size:18px; font-family: Arial; } .sIFR-active .flash-title { visibility: hidden; font-family: Verdana; line-height: 1em; } </style> <script type="text/javascript"> var avenir = { src: '/gotham.swf' }; sIFR.activate(gotham); sIFR.replace(gotham, { selector: '.flash-title', wmode: 'transparent' }); </script> <script type="text/javascript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body onload="MM_preloadImages('images/mailover.jpg')"> <div id="container"> <div id="header"><img src="images/nav_logo.png" width="83" height="69" class="logo" /> <div id="navcontact">Call now for a free quotation on<br />07522 936 832<br /><br /> <a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Mail','','images/mailover.jpg',1)"><img src="images/mail.jpg" name="Mail" width="19" height="12" border="0" id="Mail" /></a></div> </div> <div id="navigation"> <div id="navcol"> <div class="menu"> <ul> <li><a href="index.html">Home</a></li> <li> <a href="#nogo">Our Services <!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="intruderalarms.html">Intruder Alarms</a></li> <li><a href="firealarms.html">Fire Alarms</a></li> <li><a href="cctv.html">CCTV</a></li> <li><a href="accesscontrol.html">Access Control</a></li> <li><a href="antiram.html">Anti Ram Raid Barriers</a></li> <li><a href="alarmmonitoring.html">Alarm Monitoring</a></li> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="#nogo">Item 3gi » <!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="#nogo">Item 3gi-1</a></li> <li><a href="#nogo">Item 3gi-2</a></li> <li><a href="#nogo">Item 3gi-3</a></li> <li><a href="#nogo">Item 3gi-4</a></li> <li><a href="#nogo">Item 3gi-5</a></li> <li><a href="#nogo">Item 3gi-6</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="#nogo">Item 3gii</a></li> <li><a href="#nogo">Item 3giii » <!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="#nogo">Item 3giii-1</a></li> <li><a href="#nogo">Item 3giii-2</a></li> <li><a href="#nogo">Item 3giii-3</a></li> <li><a href="#nogo">Item 3giii-4</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="#nogo">Item 3giv</a></li> <li><a href="#nogo">Item 3gv</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="#nogo">Why LLR? <!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> <li><a href="guarantee.html">About Us</a></li> <li><a href="testimonials.html">Testimonials</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="contact.html">Contact Us</a></li> </ul> </div> </div> <!-- end of info --> <div id="navcol_sub"></div> <div id="navcol2"><img src="images/homesqrs.png" width="610" height="220" /></div> </div> <div id="content"> <div id="quote"></div> <div id="leftCol"><span class="flash-title">Welcome to<br /> LLR Security Solutions</span></div> <div id="hometext"> <h1>Home Alarms, Home Security Systems or Burglar Alarms</h1> If you are looking for an alarm for your home or flat or for a holiday home, we have what you are looking for. <br /> <br /> With a home alarm installed by LLR Security Solutions, you can feel safe 24 hours a day: when you are at home, at work and when you are on holiday. Our monitoring service operators and our engineers are on-call 24 hours a day and will help in any situation. <br /> <br /> If you have already made up your mind or if you wish to learn more about alarms, please contact us today. Or, just fill in the following form and we will contact you. </div> <br /> </div> <div id="footer"> <div class="sitemap"><a href="http://www.liamm.co.uk" target="_blank">Liamm.co.uk </a></div> <div class="foottext">©2009 LLR Security</div> </div> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/175280-implementing-sifr/#findComment-923800 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.