Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Flash next to image

    I am working on a template and I need to get a logo.swf added to the left of the "logo". Most of the research I've done indicates the code needs to go in the tlp_header.phpb ut on this template I just don't think that would be correct.

    Will someone take a look at this and offer up your suggestions?

    Thanks!

    Tina

    oops... almost forgot link ---->>> http:gotoprism.com

  2. #2
    Join Date
    Dec 2007
    Location
    New Jersey
    Posts
    76
    Plugin Contributions
    0

    Default Re: Flash next to image

    charmed, i've been there recently. accomplished what you want to do.

    You definitely want to add that swf to the tpl_header.php file for your custom template.

    may I suggest you use the swf object method. You will need to download swfobject.js ( javascript file) and you can find more about that here:

    http://blog.deconcept.com/swfobject/

    i think follow that link tothe latest, which is version 2.0

    once you have these, format your javascript like this :

    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    var flashvars = false;
    var params = {
    allowscriptaccess: "always"
    };
    var attributes = false;

    swfobject.embedSWF("myFlashFile.swf", "showFlash", "200", "200", "8.0.0", "expressInstall.swf", flashvars, params, attributes);

    swfobject.addParam("quality", "high");
    swfobject.addParam("wmode", "transparent");
    swfobject.write("flashcontent");

    </script>

    // and then on the template, you place the div tag to position your swf: //

    <div class="thisMYFlash" id="showFlash" >
    <div class="myStyleSheetReferenceHere" id="myStyleSheetReferenceHereID">

    You need flash. if you have it, you'll see the flash. if not, you'll see my text here. go get it, install it!!!
    </div>
    </div>


    and that should do it. swfobject is the best bet for easiest flash embedding...
    hmmn. really?

 

 

Similar Threads

  1. v139h Attribute Image Swap (Show Attribute Image Next to Radio Button)
    By Robert Thomas Kirby in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 1 Nov 2013, 06:24 PM
  2. v150 Plaace additional image next to Product Image and QtyDiscountPrice Block
    By rufusclc in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Jul 2013, 10:48 PM
  3. v138a Products name don't change as picture when click "Next Arrow" on product flash page
    By Eric Chen in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 May 2012, 03:34 PM
  4. v138a Products name don't change as picture when click "Next Arrow" on product flash page
    By Eric Chen in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 May 2012, 03:10 PM
  5. Replies: 0
    Last Post: 28 Feb 2012, 07:10 AM

Posting Permissions

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