june_c21 Posted March 2, 2008 Share Posted March 2, 2008 hi, i just want to know why this line of code doesn't work? <td> <iframe width="198" height="144" src="scroller_newstic.html" SCROLLING="no" FRAMEBORDER="0" border=0 name="NEWS"></iframe></td> Quote Link to comment Share on other sites More sharing options...
haku Posted March 2, 2008 Share Posted March 2, 2008 Do you actually expect us to be able to answer with that little information? Quote Link to comment Share on other sites More sharing options...
june_c21 Posted March 2, 2008 Author Share Posted March 2, 2008 i want to put the news-scroller in my website and that is the code that i generate from a software. i try to put it into my html code but it appear page not found. below is the full code <?php defined( '_VALID_MOS' ) or die( 'Restricted access' ); // needed to seperate the ISO number from the language file constant _ISO $iso = explode( '=', _ISO ); // xml prolog echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; ?> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <?php mosShowHead(); ?> <?php if ( $my->id ) { initEditor(); } ?> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <link href="<?php echo $mosConfig_live_site;?>/templates/siteground18/css/template_css.css" rel="stylesheet" type="text/css"/> <link rel="alternate" type="application/rss+xml" title="<?php echo $mosConfig_sitename?>" href="<?php echo $mosConfig_live_site;?>/index.php?option=com_rss&feed=RSS2.0&no_html=1" /> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <center> <table width="800" height="532" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="800" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_01.jpg" width="597" height="10"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_02.jpg" width="203" height="10"> </td> </tr> <tr> <td rowspan="3" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_03.jpg" width="597"> </td> <td> <iframe width="198" height="144" src="scroller_newstic.html" SCROLLING="no" FRAMEBORDER="0" border=0 name="NEWS"></iframe> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_05.jpg" width="5" height="144"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_06.jpg" width="198" height="14"> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_07.jpg" width="5" height="14"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_08.jpg" width="198" height="20"> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_09.jpg" width="5" height="20"> </td> </tr> <tr> <td colspan="3" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_10.jpg" width="800" height="12"> </td> </tr> </table></td> </tr> <tr> <td> <table width="800" height="278" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_11.jpg" width="10" height="278"> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_12.jpg" width="202" height="278" valign="top" style="padding:0px;" align="center"> <div> <?php mosLoadModules ( 'left' ); ?> <? $sg = 'banner'; include "templates.php"; ?> </div> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_13.jpg" width="588" height="278" valign="top"> <div style="padding:10px"><?php mosMainBody(); ?></div></td> </tr> </table></td> </tr> <tr> <td> <table width="800" height="20" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_14.jpg" width="10" height="20"> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_15.jpg" width="202" height="20"> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_16.jpg" width="588" height="20"> </td> </tr> </table></td> </tr> <tr> <td> <table width="800" height="34" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_17.jpg" width="212" height="24"> </td> <td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_18.jpg" width="588" height="24"> <?php mosPathWay(); ?> </td> </tr> <tr> <td colspan="2" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_19.jpg" width="800" height="10"> </td> </tr> </table></td> </tr> </table> <p align="center"><? $sg = ''; include "templates.php"; ?></p> </center> </body> </html> Quote Link to comment Share on other sites More sharing options...
AndyB Posted March 2, 2008 Share Posted March 2, 2008 Page not found is pretty specific and helpful. Whatever page name your code was looking for is either not where you're looking or does not exist. Quote Link to comment 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.