Page 22 of 24 FirstFirst ... 122021222324 LastLast
Results 211 to 220 of 235
  1. #211
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    width 468, height 60

    The flash movie should be in that location because I need that, each time you change the language, the banner change to configure the selected language.

    As I understand I need to put that code in the source:

    /public_html/basicinstinctlingerie/includes/templates/1228/buttons/<?php echo $_SESSION['language']; ?>/slogan.swf"

    For the swfobject.js i can move it. Please, thell me where.

    I would like to put the flash in tpl_header.php at the slogan div.

    I dont' know how to write the source.... with http:www, just basicinstinctlingerie/includes.....



    I really appreciate your help!

    I love internet and the power of information... Best Wishes!!

  2. #212
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    I am unaware of language issues. I have never put the swf in tpl_header.php but if you know you need to put it here then so be it. I believe the code you need to use is as follows:
    PHP Code:
    <!--top of flash display-->

        <
    script type="text/javascript" src="basicinstinctlingerie/swfobject.js"></script>
        <script type="text/javascript">
        if (swfobject.hasFlashPlayerVersion("6.0.0")) {
          var fn = function() {
            var att = { data:"includes/templates/1228/buttons/slovensko/slogan.swf", width:"468", height:"60"};
            var par = { flashvars:"foo=bar" };
            var id = "replaceMe";
            var myObject = swfobject.createSWF(att, par, id);
          };
          swfobject.addDomLoadEvent(fn);
        }
        </script>
        <div id="replaceMe">Alternative content</div>

    <!--bottom of flash display--> 
    Good luck

    Sawhorse

  3. #213
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <
    head>
            <
    title></title>
            <
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <
    script type="text/javascript" src="swfobject.js"></script>
            <script type="text/javascript">
                var flashvars = {};
                var params = {};
                var attributes = {};
                swfobject.embedSWF("slogan.swf", "flash player required", "468", "60", "6.0.0", "expressInstall.swf", flashvars, params, attributes);
            </script>
        </head>
        <body>
            <div id="flash player required">
                <a href="http://www.adobe.com/go/getflashplayer">
                    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                </a>
            </div>
        </body>
    </html> 

    Now the flash is working in explorer, but in firefox i have the: "get the adobe flash player". ( I have version 10.0.......
    I love internet and the power of information... Best Wishes!!

  4. #214
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    I find a great tutorial here, but maybe I missed something.

    PHP Code:
    http://www.gotoandlearn.com/play?id=77 


    This tutorial should help a lot of users. I hope.
    I love internet and the power of information... Best Wishes!!

  5. #215
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Check to see if you have loaded in your FF the plugin for adobe flash player.

    Sawhrose

  6. #216
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Yes, shockwave flash is enabled.

    With the old code without swfobject.js it' worked.
    I love internet and the power of information... Best Wishes!!

  7. #217
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    My entire code looks like this. Is in tpl_header.php
    It works for all the browser exept firefox.

    What is intresting is that when I put the code with "firebug" wich inspect element on the page and show you the changes without save it, it works.

    When I edit the tpl_header work's only in other browser. In F F i have the gif picture to get flash player.



    PHP Code:
    <div id="slogan">


        <
    head>
            <
    title></title>
            <
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <
    script type="text/javascript" src="swfobject.js"></script>
            <script type="text/javascript">
                var flashvars = {};
                var params = {};
                var attributes = {};
                swfobject.embedSWF("slogan.swf", "flash player required", "468", "60", "6.0.0.0", "expressInstall.swf", flashvars, params, attributes);
            </script>
        </head>
        <body>
            <div id="flash player required">
                <a href="http://www.adobe.com/go/getflashplayer">
                    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                </a>
            </div>
        </body>
    </html>


          </div> 
    I love internet and the power of information... Best Wishes!!

  8. #218
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    I get the same thing you do.

    Check your php code. The one you show is not the same as the one I gave you.

    Sawhorse

  9. #219
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Your code work's only in I.E. In F F i have alternative content.

    I create the code with the swfobject generator. It' work's, but in F F i have the get the flash player.

    So i don't know what to do anymore....


    Thank you for your help!
    I love internet and the power of information... Best Wishes!!

  10. #220
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    It is as if swfobject.js can't be found. Where is it currently located?

    Sawhorse

 

 
Page 22 of 24 FirstFirst ... 122021222324 LastLast

Similar Threads

  1. v150 Problem with flash header size
    By GodfatherAntiques in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 21 Mar 2012, 10:12 AM
  2. Problem with flash on main page (not header)
    By sartor in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2009, 10:59 AM
  3. Once again problem with Flash header
    By craigpowell in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2008, 01:42 AM
  4. Problem with Flash Header pt2
    By hondauser85 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Jun 2007, 04:03 PM
  5. help with flash header
    By wizzard in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Jun 2007, 05:58 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR