X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Flash Slide Show (https://forum.x-cart.com/showthread.php?t=40364)

embroodles 06-08-2008 08:24 PM

Flash Slide Show
 
Hi all ,bee playing around with a flash slide show.I commented out the featured products and added the flash in the welcome.tpl. Im no webdesigner just working as I go . The slide show seems rather slow loading,others report on a blank page ,I sometimes ge the click to activate on it.I read and tried to implement a fix <script type="text/javascript" src="ieupdate.js"></script> as well as adding the .js file.

Not sure if Im doing something wrong.

1: I have loaded flash file to my root folder .Is this the right place for it ,same with the .js file .
2: I have disabled featured products by commenting it out ,should I just remove the code completely .
3: Do i need to upload the pictures used in my flash slideshow.
All the picks before the slide were jpeg and no more then 50kbs each ,most are around 30kbs at a total of 9 images

Any help comments or tips would greatly be appreciated,show looks great but only if otheres can see it.
Its temporarely turned off and featured products back up.

Anyone have a good method for adding flash

thanks
Bill

PhilJ 06-09-2008 03:16 AM

Re: Flash Slide Show
 
Try this

embroodles 06-09-2008 06:52 PM

Re: Flash Slide Show
 
Thanks for the reply Phil
I took your advice and tried to amke this work but in the welcometpl.
All I get is is a staright line across the screen

Do you know if beside modify the the xml and tpl and adding thos line is there any thing else to do

here is my tpl. ,am I suppose to change anything else
{*---------------------------------------*}
{* Set Banner Height *}
{assign var='bh' value='401'}
{* Set Banner Width *}
{assign var='bw' value='680'}
{* Set Minimum Flash Version *}
{assign var='fv' value='6'}
{* Set Background Colour *}
{assign var='bgc' value='#FFFFFF'}
{*---------------------------------------*}
<div id="banners" style="height: {$bh}px; width: {$bw}px;">
<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Please upgrade your Flash Player and turn on Javascript.</a>
</div>
{literal}
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("{/literal}{$SkinDir}/banners/banners.swf", "banners", "{$bw}", "{$bh}", "{$fv}", "{$bgc}{literal}");
so.addParam("menu", "false");
so.write("banners");
// ]]>
</script>
{/literal}
do I have to remove the comment out

heres my xml
<!-- 'h' = Height of banner -->
<!-- 'w' = Width of banner -->
<!-- 'bgColour' = Background colour of stage -->
<!-- 'borderSize' = Size of component border -->
<!-- 'borderColour' = Colour of the component border -->
<!-- 'loadFontSize' = Preloader text size -->
<!-- 'loadFontColour' = Preloader text colour -->
<!-- 'textValue' = Text that accompanies banner title -->
<!-- 'textFontSize' = Text size of banner title -->
<!-- 'textFontColour' = Text colour of banner title -->
<!-- 'textBackgroundColour' = Colour of background that banner title appears on -->
<!-- 'textBackgroundAlpha' = Transparency of background that banner title appears on -->
<!-- 'showText' = true or false to indicate in banner title is to display -->
<!-- 'transitionTime' = Time taken for banner to appear - in seconds -->
<!-- 'pauseTime' = Time for banner to stay on stage - in seconds -->
<bRotator
h='401'
w='680'
bgColour='FFFFFF'
borderSize='1'
borderColour='000000'
loadFontSize='12'
loadFontColour='000000'
textValue='... Click here to view'
textFontSize='12'
textFontColour='000000'
textBackgroundColour='FFFFFF'
textBackgroundAlpha='75'
showText='true'
transitionTime='1'
pauseTime='2'
>
<!-- Possible Banner Transitions: slideLeft, slideRight, slideTop, slideBottom, scaleCentre, fadeCentre -->
<banner transition="fadeCentre">
<title>Banner 1 Description</title>
<image>skin1/banners/images/babyslide.jpg</image>
<link>http://www.embroodles.com/home.php?cat=249</link>
</banner>
<banner transition="fadeCentre">
<title>Banner 2 Description</title>
<image>skin1/banners/images/birdhouseslide.jpg</image>
<link>http://www.embroodles.com/product.php?productid=16262&cat=260&page=1</link>
</banner>
<banner transition="fadeCentre">
<title>Banner 3 Description</title>
<image>skin1/banners/images/cuteanimslide2.jpg</image>
<link>http://www.embroodles.com/home.php?cat=259</link>
</banner>
<banner transition="fadeCentre">
<title>Banner 4 Description</title>
<image>skin1/banners/images/designsetslide.jpg</image>
<link>http://www.embroodles.com/home.php?cat=257</link>
</banner>

</bRotator>

did i miss something?

added the -- <script type="text/javascript" src="{$SkinDir}/banners/swfobject.js"></script>
tried in multiple spots in welcome tpl -no luck
{include file="banners/banners.tpl"} this was added as well

maybe some guidence from someone who knows
the best I had at one point is your flash player needs an upgrade and turn on java

oh yes also disabled featured products by commenting out in welcome.tpl

before I tried this was my code with the images resting in the root folder
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="669" height="400">
<param name="movie" value="featureslide.swf">
<param name="menu" value="false">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="scale" value="noscale">
<embed src="featureslide.swf" menu="false" quality="high" wmode="transparent"
scale="noscale" width=669 height=400 type="application/x-shockwave-flash"
pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>

preloader uploaded -in root

am i limited to just 3 images ,maybe thats my problem ,I added another set for a 4th image



thanks Bill

PhilJ 12-17-2008 07:37 AM

Re: Flash Slide Show
 
Flash banner mod updated 17th Dec 2008

peterj 10-01-2009 10:59 PM

Re: Flash Slide Show
 
HI Phil,

Is this work for v4.2.2?

Thanks


All times are GMT -8. The time now is 06:34 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.