| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() hello, I have spent way too much time trying to get a flash oblject to display in the header. using a simple slider from flashxml
i put the script in head directory enclosed with literal tags It wont display. I was wondering if anyone had had success implementing this thanks Rob 4.1.12
__________________
X-Cart version 4.1.9 PHP 5.2.13 Details >> GD bundled (2.0.34 compatible) MySQL server 5.0.77-log MySQL client 5.0.77 Web server Apache/2.2 Operation system Linux Perl not found XML parser (expat) found |
|||||||
#2
|
|||||||||
|
|||||||||
![]() I have incorporated many flash objects, into many different xcart headers. Never had a problem with getting it to display. Sometimes transparent flash layers have to have some z-index assigned via css, but that's it.
Share the code you are using, and link to the site so we can see it, and we can help better.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thank you for your reply. In the process of setting up the script to show you, I tried something that was not in flashxml documentation. At least not on the same section. when you move the script out of their directory, you need to set paths to the files. what they don't mention is that you need to incorporate this for both the xml file the swf file the path and js file..
Hope this helps someone. ### customer/home.tpl ### {include file="meta.tpl" } <link rel="stylesheet" type="text/css" href="{$SkinDir}/{#CSSFile#}" /> [[ flash head start ]] {literal} <script type="text/javascript" src="/flash_header/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.settingsXML = "http://www.domain.com/flash_header/settings.xml"; flashvars.folderPath = "http://www.domain.com/flash_header/"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; params.allowScriptAccess = "always"; params.allowFullScreen = "true"; var attributes = {}; swfobject.embedSWF("/flash_header/MediaSlideshowFX.swf", "DivMediaSlideshowFX", "800", "300", "9.0.0", false, flashvars, params, attributes); </script> {/literal} [[ flash head end ]] </head> What i had to do wash add both below. I was only adding one or the other. in a trial and error process flashvars.settingsXML = "http://www.domain.com/flash_header/settings.xml"; flashvars.folderPath = "http://www.domain.com/flash_header/";
__________________
X-Cart version 4.1.9 PHP 5.2.13 Details >> GD bundled (2.0.34 compatible) MySQL server 5.0.77-log MySQL client 5.0.77 Web server Apache/2.2 Operation system Linux Perl not found XML parser (expat) found |
|||||||
|
|||
X-Cart forums © 2001-2020
|