Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Flash Slide Show

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-08-2008, 08:24 PM
 
embroodles embroodles is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 82
 

Default 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
__________________
4.1.9
Reply With Quote
  #2  
Old 06-09-2008, 03:16 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Flash Slide Show

Try this
__________________
xcartmods.co.uk
Reply With Quote
  #3  
Old 06-09-2008, 06:52 PM
 
embroodles embroodles is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 82
 

Default 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="clsid27CDB6E-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
__________________
4.1.9
Reply With Quote
  #4  
Old 12-17-2008, 07:37 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Flash Slide Show

Flash banner mod updated 17th Dec 2008
__________________
xcartmods.co.uk
Reply With Quote
  #5  
Old 10-01-2009, 10:59 PM
 
peterj peterj is offline
 

Member
  
Join Date: Aug 2007
Posts: 18
 

Default Re: Flash Slide Show

HI Phil,

Is this work for v4.2.2?

Thanks
__________________
Peter Jenkins

Version 4.2.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:06 AM.

   

 
X-Cart forums © 2001-2020