Hello I recently added a flash file to the header with a built in navagation structure but like always got the old ssl alert about unsecure items I corrected this by simply adding a bit of code into the output html file so it would accept flash code then going with the orginal header code and replacing the image with the .swf but now I have a far more complicated problem as the flash file itself isnt that big I was able to resize it to 100%, best fit in Dreamweaver but that was when I ripped apart the header and added the image (always got the secure and unsecure alert, very annoying) basically what I need is to know if anyone knows of any variables that I can add within the header to expand it to best fit so I can keep the orginal link and not have to see that annoying alert something like width= , height= or something similar? I'm pretty good with html and basic coding but I dont know much about php and js I know there must be a flash variable which would expand the image to a 100% width x 280 height I just dont know where to look for this I completely exhausted these forums and the OsCommerce KB but found nothing could someone with a little more know how lend me a hand?
Here's the page with the flash already embeded in its orginal size: http://www.healthisbeautiful.com/catalog/index.php
Basically this is an example of what I need:
<object classid="clsid27CDB6E-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="100%" height="280">
<param name="movie" value="file:///C:/xxxx/xxx/images/test1.swf">
<param name="quality" value="Best">
<param name="scale" value="ExactFit">
<embed src="file:///C:/xxxx/xxxx/test1.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="100%" height="280" quality="Best" scale="ExactFit"></object>
I need to get those size definitions somehow into this:
<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'test1.swf', 'Health Is Beautiful') . '</a>'; ?></td>
If you'd like I can post the actual header code but its straight forward no mods have been made execpt the image change and the 3 lil icons on the far right were removed other than that header.php is in it's original form.
- Appreciated, Thx -)




LinkBack URL
About LinkBacks






Bookmarks