schrøder Posted March 4, 2007 Share Posted March 4, 2007 Anyone now if this is possible? to add a :blink: fla.swf into column_left?? In a sacred manner I live, in heaven I gaze, in a sacred manner I live my horses are many. Link to comment Share on other sites More sharing options...
Velveeta Posted March 4, 2007 Share Posted March 4, 2007 Anyone now if this is possible? to add a :blink: fla.swf into column_left?? Yes, this is possible, you'll just need to figure out where in that file you want the flash part to output, and put the appropriate html code in there, i.e. your <embed> and/or <object> tags and the filename and everything... Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
schrøder Posted March 4, 2007 Author Share Posted March 4, 2007 Hmm.. not so easy fore an Norwegian to understand, the column_left goes like this <table border="0" cellspacing="0" cellpadding="0"> <tr><td><a href="<?=tep_href_link('index.php','cPath=1')?>"><?=tep_image(DIR_WS_IMAGES.'m19.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('contact_us.php')?>"><?=tep_image(DIR_WS_IMAGES.'m20.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('conditions.php')?>"><?=tep_image(DIR_WS_IMAGES.'m21.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('conditions.php')?>"><?=tep_image(DIR_WS_IMAGES.'m22.jpg')?></a></td></tr> </table> But where shall I put/insert the appropriate html swf code who goes like this <body> <p> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="195" height="99"> <param name="movie" value="images/banner.swf"> <param name="quality" value="High"> <embed src="images/banner.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="195" height="99"></object> </p> </body> I try to swap the old gif pict at 195x99 in the left column with this swf..any tutorial?? In a sacred manner I live, in heaven I gaze, in a sacred manner I live my horses are many. Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2007 Share Posted March 4, 2007 Here create a new file call it flash.php put it in the includes directory. Add your swf code in the file. Next In your column_left.php file add a this code: include ('includes/flash.php'); after the information include and you have flash in the left column. Hmm.. not so easy fore an Norwegian to understand, the column_left goes like this <table border="0" cellspacing="0" cellpadding="0"> <tr><td><a href="<?=tep_href_link('index.php','cPath=1')?>"><?=tep_image(DIR_WS_IMAGES.'m19.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('contact_us.php')?>"><?=tep_image(DIR_WS_IMAGES.'m20.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('conditions.php')?>"><?=tep_image(DIR_WS_IMAGES.'m21.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('conditions.php')?>"><?=tep_image(DIR_WS_IMAGES.'m22.jpg')?></a></td></tr> </table> But where shall I put/insert the appropriate html swf code who goes like this <body> <p> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="195" height="99"> <param name="movie" value="images/banner.swf"> <param name="quality" value="High"> <embed src="images/banner.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="195" height="99"></object> </p> </body> I try to swap the old gif pict at 195x99 in the left column with this swf..any tutorial?? Link to comment Share on other sites More sharing options...
schrøder Posted March 4, 2007 Author Share Posted March 4, 2007 Tried this but its probably wrong in column_left <tr><td><a href="<?=tep_href_link('contact_us.php')?>"><?=tep_image(DIR_WS_IMAGES.'includes/flash.php') and make a new file <?php <!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=iso-8859-1" /> <title>Untitled Document</title> </head> <body><p> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="195" height="88"> <param name="movie" value="flash.swf"> <param name="quality" value="High"> <embed src="flash.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="195" height="88"></object> </p> </body> </html> How stupid ehh In a sacred manner I live, in heaven I gaze, in a sacred manner I live my horses are many. Link to comment Share on other sites More sharing options...
jonquil Posted March 4, 2007 Share Posted March 4, 2007 I tested with success your code in includes/column_left_php, like this: <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a> | ' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a> | ' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a> | ' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <tr><td><p><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="195" height="99"> <param name="movie" value="images/banner.swf"> <param name="quality" value="High"> <embed src="images/banner.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="195" height="99"></object> </p></td></tr> <!-- information_eof //--> jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
schrøder Posted March 5, 2007 Author Share Posted March 5, 2007 Thanks a lot pal in my script for column_left the solution was like this, and it made the fla appear at the second place, under image m19.jpg.. now I just have to make a nice fla in swish, :rolleyes: thanks again!!! ?> <table border="0" cellspacing="0" cellpadding="0"> <tr><td><a href="<?=tep_href_link('index.php','cPath=1')?>"><?=tep_image(DIR_WS_IMAGES.'m19.jpg')?></a><tr><td><p><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="195" height="99"> <param name="movie" value="images/Movie1.swf"> <param name="quality" value="High"> <embed src="images/Movie1.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="195" height="99"></object></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('contact_us.php')?>"><?=tep_image(DIR_WS_IMAGES.'m20.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('conditions.php')?>"><?=tep_image(DIR_WS_IMAGES.'m21.jpg')?></a></td></tr> <tr><td height="1"></td></tr> <tr><td><a href="<?=tep_href_link('conditions.php')?>"><?=tep_image(DIR_WS_IMAGES.'m22.jpg')?></a></td></tr> </table> In a sacred manner I live, in heaven I gaze, in a sacred manner I live my horses are many. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.