| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Now to place flash file in detailed images | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello!
I want swf file's or html files with swf to be desplayed at the detailed imeges any advices are welcome thanks! |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Post this in Wishlists or please search around the board.
This forum is for sharing your Custom X-Cart modifications with other users only. Please READ before you post! Quote:
Rules http://forum.x-cart.com/viewtopic.php?t=6489 You should read this thoroughly. Your X-cart version and server information NEED to be in your signature. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() moved
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#4
|
|||||||
|
|||||||
![]() Very rough breakdown of steps:
Find out if the user has flash. Run a script or make them click a button that turns something like $flash_mode = ON Once you find they have flash you need to edit the product thumbails.tpl or detailed image module to an if statement. So it will say something like {if $flash_mode eq "ON"} play a swf {else} do a normal thumbnail {/if} Hard part is writing the code to play the swf. If you name all your swf's the $productid.swf (ex: 3462.swf) then you should be able to find the $productid part fairly simply with php and just have it put .swf at the end and look in a certain folder. Sorry dont have time to write something up, I just wanted to give you an outline of my idea to do this. I will be adding this feature to my site mid year once the low bandwidth site is done and 100%.
__________________
Gibberish [Unix] X-Cart 4.0.12 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() |
|||||||||
|
|||
X-Cart forums © 2001-2020
|