Incorrect graphic showing

Using and extending SeedCode's free "back" button technique.
Posts: 2
Joined: Wed Mar 11, 2009 4:13 am
PostPosted: Wed Mar 11, 2009 4:19 am
Hi

All working great except instead of showing the arrow graphics it is show another graphic. All my graphics are in a single repeating container field. The calc looks like this

seedcode_BackMagic (
RF::g_Container_Images[77] ;
RF::g_Container_Images[78] ;
RF::g_Container_Images[80] ;
RF::g_Container_Images[79]
) // This calculation result is "container".

// BackMagic by SeedCode. www.seedcode.com

However the calculation result always shows the first repitition.
( RF::g_Container_Images[1] ). Any ideas why it does this or do i have to create 4 seperate container fields?

Regards
Kev
SeedCode Staff
SeedCode Staff
Posts: 2493
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Mar 11, 2009 8:35 am
Hi Kev,

If your container images are already in repeating fields you just need to edit the custom function "SeedCode_BackMagic" to remove the "Extend" around them.

Changing this line...

If ( $$Nav_BackInactive ≠ 1 ; Extend ( BackArrowLit ) ; Extend ( BackArrowDim ) ) ;

To this...

If ( $$Nav_BackInactive ≠ 1 ;BackArrowLit ; BackArrowDim ) ;

And this line...

If ( $$Nav_FWDInactive ≠ 1 ; Extend ( FWDArrowLit ) ; Extend ( FWDArrowDim ) ) ;

To this...

If ( $$Nav_FWDInactive ≠ 1 ; FWDArrowLit ; FWDArrowDim ) ;

Best,

John
John Sindelar
SeedCode LLC
Posts: 2
Joined: Wed Mar 11, 2009 4:13 am
PostPosted: Wed Mar 11, 2009 8:57 am
many thanks

Return to BackMagic

Who is online

Users browsing this forum: No registered users and 1 guest

cron