Forums / Basic Configuration / Center Ezpage Fade Slide Show

Center Ezpage Fade Slide Show

Locked

Views: 2,113

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Nov 2009, 10:48 PM
#1
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Center Ezpage Fade Slide Show

Could someone point me in the right direction:

I have a fade slide show in one of my ezpages. I need to know how to center the image show instead of left side of page.

Thanks

Zen Cart user all the way for online stores!

14 Nov 2009, 11:29 PM
#2
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Center Ezpage Fade Slide Show

o no...i checked another page I have a fade slide show installed and its picking up the images from the other slide show. I had to take the other down. What did I do wrong?

Here is the script I placed inside the ezpage:

<div style="margin-left: 40px;"><br /></div><div id="fadeslideshowteamriders"> <script type="text/javascript"> //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder) new fadeshow(fadeimages, 600, 520, 0, 5000, 1) //new fadeshow(fadeimages2, 140, 225, 0, 3000, 0) </script></div>

I changed the id="fadeslideshow"> to "fadeslideshowteamriders">, but its still pulling images from the first one. What do I need to do??

Zen Cart user all the way for online stores!

15 Nov 2009, 12:25 AM
#3
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Center Ezpage Fade Slide Show

FYI: I have the images in seperate folders. Don't know whats happening. I'm sure its a mistake on my end...

Zen Cart user all the way for online stores!

15 Nov 2009, 1:11 AM
#4
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Center Ezpage Fade Slide Show

Here's the script from the one I have in the main page:

<div style="margin-left: 40px;"><br /></div><div id="fadeslideshow"> <script type="text/javascript"> //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder) new fadeshow(fadeimages, 600, 520, 0, 5000, 1) //new fadeshow(fadeimages2, 140, 225, 0, 3000, 0) </script></div>

Zen Cart user all the way for online stores!

15 Nov 2009, 3:53 AM
#5
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Center Ezpage Fade Slide Show

UPDATE:

I figured this one out! I followed the instructions:

Page-Specific jscript's

For page-specific operation, put the file under the /includes/modules/pages/{pagename}/ folder.

I redirected my ezpage to internal link (page 2...then I renamed page 2 in includes/languages/english/page_2.php and made a copy of this file. Placed the string of code within page 2...and hello baby! Now it's working. I'm proud of myself! :clap:Disregard the pm's guys! :smile:

Zen Cart user all the way for online stores!

17 Nov 2009, 7:30 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Center Ezpage Fade Slide Show

new fadeshow(fadeimages, 600, 520, 0, 5000, 1)
//new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)

Notice the "fadeimages2"? For this version of the script, you can make a new set of image names in a new array called fadeimages2 or whatever you like, and use that array name when calling the new fadeshow instance. There is a dummy set of image names in the script for you to use as an example. THis lets you have one copy of the script to use in multiple places.