Results 1 to 2 of 2

Need help with header...

This is a discussion on Need help with header... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello I recently added a flash file to the header with a built in navagation structure but like always got ...

      
  1. #1
    Lurker
    Join Date
    Feb 2005
    Posts
    1
    Rep Power
    0


    Default Need help with header...

    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 -)

  2. #2
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default RE: Need help with header...

    to do it an orderly fashion, check this link out, http://www.oscommerce.com/community/contributions,915/

Similar Threads

  1. Header Tag Controller
    By rwoody in forum osCMax v2 Features Discussion
    Replies: 7
    Last Post: 10-25-2005, 07:25 PM
  2. Header change and other changes
    By sagarc in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 12-14-2004, 02:22 PM
  3. Need help changing header
    By dave01978 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 12-14-2004, 02:03 PM
  4. header / header.php top logo problem
    By the_error_king in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-05-2004, 06:02 PM
  5. Header Problems!! Please Help
    By wudsqrl in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-20-2003, 11:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •