externalising the carousel

http://www.jordanacoustics.co.uk/products_details.php?ref=127

I’m looking to externalise the carousel from my php page. It was all
created in FW then changed to PHP to bring in the database, but now
the carousel doesn’t work, so I’m thinking that if I externalise it,
then there won’t be a conflict. Would I simply copy the lump of
javascript from the page and reference it back in?

Nathan Garner
email@hidden

FW5 Pro | MacBook Pro | Leopard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The Carousel effect uses several script tags. There should be external
script requests for prototype.js, scriptaculous.js, and glider.js, in
that order, followed by a script tag in the Before /HEAD part of the
page containing the specific code to start up the effect based on what
you called the parts of the carousel. If you move all of these in
their order into your php page, it should just work. But you might
find it easier to convert your Freeway page to PHP within Freeway
(turn it inside out) rather than post-edit the Freeway code in another
application. For one thing, that would mean you could continue to edit
it without having to repeat your machinations each time you do.

Walter

On Jun 17, 2009, at 6:20 AM, Nathan Garner wrote:

http://www.jordanacoustics.co.uk/products_details.php?ref=127

I’m looking to externalise the carousel from my php page. It was all
created in FW then changed to PHP to bring in the database, but now
the carousel doesn’t work, so I’m thinking that if I externalise it,
then there won’t be a conflict. Would I simply copy the lump of
javascript from the page and reference it back in?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The carousel no longer works in the PHP page

http://www.jordanacoustics.co.uk/products_details.php?ref=15

I’m pretty sure it’s an error or conflict the php code itself, but
cannot for the life of me see what it is…

Nathan Garner
Partner

Austin Wells Design Consultants
1 Elmgate Drive, Littledown, Bournemouth BH7 7EF
+44 (0)1202 301271
email@hidden
http://www.awdc-creative.com

Member of NAPP

On 17 Jun 2009, at 13:27, Walter Lee Davis wrote:

The Carousel effect uses several script tags. There should be
external script requests for prototype.js, scriptaculous.js, and
glider.js, in that order, followed by a script tag in the Before /
HEAD part of the page containing the specific code to start up the
effect based on what you called the parts of the carousel. If you
move all of these in their order into your php page, it should just
work. But you might find it easier to convert your Freeway page to
PHP within Freeway (turn it inside out) rather than post-edit the
Freeway code in another application. For one thing, that would mean
you could continue to edit it without having to repeat your
machinations each time you do.

Walter

On Jun 17, 2009, at 6:20 AM, Nathan Garner wrote:

http://www.jordanacoustics.co.uk/products_details.php?ref=127

I’m looking to externalise the carousel from my php page. It was
all created in FW then changed to PHP to bring in the database, but
now the carousel doesn’t work, so I’m thinking that if I
externalise it, then there won’t be a conflict. Would I simply copy
the lump of javascript from the page and reference it back in?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Did you fix it? It seems to work here. What browser are you seeing the
error in?

Walter

On Jun 18, 2009, at 4:24 AM, Nathan Garner wrote:

The carousel no longer works in the PHP page


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I did a little work around Walter - I popped it onto another page and
referenced it through an iFrame - which works well for me as I can
change / update carousel items whilst the PHP page can be kept
separate - maybe not ideal, but certainly good enough for now until I
actually work out how to do it all correctly.

Thanks for your help as always!

Nathan Garner
Partner

Austin Wells Design Consultants
1 Elmgate Drive, Littledown, Bournemouth BH7 7EF
+44 (0)1202 301271
email@hidden
http://www.awdc-creative.com

Member of NAPP

On 18 Jun 2009, at 14:08, Walter Lee Davis wrote:

Did you fix it? It seems to work here. What browser are you seeing
the error in?

Walter

On Jun 18, 2009, at 4:24 AM, Nathan Garner wrote:

The carousel no longer works in the PHP page


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options