Trev
08-11-2009, 08:05 PM
1) Script Title: Step Carousel Viewer v1.6.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem: Hi, I'm very novice at coding, so I was wondering if I could get some help please.
I'm using your Step Carousel Viewer (class by the way...thank you) on my site. I've changed the code to the following:
[CODE]stepcarousel.setup
......
.....
.....
contenttype: ["ajax", "somefile.htm"]
[CODE]
This is loading the external file fine for me.
Here's my existing page:
http://www.trevormoody.com/design/prints.html
My question is, can I use some form of "IF" statement to load a different external file based on a link clicked? IE->
weddings would load [CODE] contenttype: ["ajax", "weddings.htm"] [CODE]
lifestyle would load [CODE] contenttype: ["ajax", "lifestyle.htm"] [CODE]
portraits would load [CODE] contenttype: ["ajax", "portraits.htm"] [CODE]
I hope I've got the format of this post correct, if not please excuse.
Regards,
Trevor.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem: Hi, I'm very novice at coding, so I was wondering if I could get some help please.
I'm using your Step Carousel Viewer (class by the way...thank you) on my site. I've changed the code to the following:
[CODE]stepcarousel.setup
......
.....
.....
contenttype: ["ajax", "somefile.htm"]
[CODE]
This is loading the external file fine for me.
Here's my existing page:
http://www.trevormoody.com/design/prints.html
My question is, can I use some form of "IF" statement to load a different external file based on a link clicked? IE->
weddings would load [CODE] contenttype: ["ajax", "weddings.htm"] [CODE]
lifestyle would load [CODE] contenttype: ["ajax", "lifestyle.htm"] [CODE]
portraits would load [CODE] contenttype: ["ajax", "portraits.htm"] [CODE]
I hope I've got the format of this post correct, if not please excuse.
Regards,
Trevor.