Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-27-2006 12:28:51

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Another Linking Issue...

I inserted a dynamic slideshow element into my splash page & layout.  Now I am having issues linking the individual pictures, which is a feature of the slideshow.

Here is the general input I was provided and instructed to fill in my info:

Code:

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

Here is what I have now:

Code:

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["(CGIVAR)images_path(/CGIVAR)/site/splash.jpg"], "(CGIVAR)common_url(/CGIVAR)&pg=new",""
fadeimages[1]=["(CGIVAR)images_path(/CGIVAR)/site/splash_hardy.jpg"], "(CGIVAR)common_url(/CGIVAR)&pg=hardy",""
fadeimages[2]=["(CGIVAR)images_path(/CGIVAR)/site/splash211.jpg"], "(CGIVAR)common_url(/CGIVAR)&pg=new",""
fadeimages[3]=["(CGIVAR)images_path(/CGIVAR)/site/splash_hardy.jpg"], ["(CGIVAR)common_url(/CGIVAR)&pg=hardy",""
 
var fadebgcolor="white"

I know one of my problems is that I am trying to link to a category in two of them ("hardy"), and I'm not sure how to do that command or if it's possible... But the other one "new" should work, as I had it working before.  No idea what I'm doing wrong.


my site:  wwwroversallover.com/store

Offline

 

#2 06-27-2006 12:50:37

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Another Linking Issue...

Well, I see one problem right off.  You have an extra [ here:

Code:

site/splash_hardy.jpg"], ["(

That's causing a javascript error that could be affecting the ability of the show to work.  Also, unless I'm misreading the instructions, the ]'s should be at the end of each line, not in the middle.  In other words, instead of:

Code:

fadeimages[0]=["(CGIVAR)images_path(/CGIVAR)/site/splash.jpg"], "(CGIVAR)common_url(/CGIVAR)&pg=new",""

It should be:

Code:

fadeimages[0]=["(CGIVAR)images_path(/CGIVAR)/site/splash.jpg", "(CGIVAR)common_url(/CGIVAR)&pg=new",""]

And similarly for the other lines.  I believe those errors are keeping the javascript from compiling and that's why you're not seeing anything.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#3 06-27-2006 13:08:20

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Another Linking Issue...

I had previously tried that, and it didnt work, but I think you nailed it... i must have had something out of place.  Thanks for your help.

Also, do you have any idea how I link to a specific category?  Is this possible?

Offline

 

#4 06-27-2006 13:14:23

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Another Linking Issue...

You're welcome.  It was probably the extra [.  I believe the category reference is done by '&pg=cat&ref=hardy'.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

Board footer