Bookmarking items within an iFrame

This one has got me well and truely stumped - in fact I’m not entirely
sure it’s possible.

I have an iFrame on the page which contains all the searched criteria
from a database (written in php). If you scroll through the products
and click on one so that on product and ll its details are displayed,
how can this be sent to a customer as a url. Because it obviously
still has the original pages url as the individual items are being
seen through an iFrame.

I’m suspecting that an iFrame is not the best practice to use in this
situation, does anyone have any ideas?

Nathan Garner
email@hidden

FW5 Pro | MacBook Pro | Leopard


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

iframes, just like regular frames, break the web because they
disguise the real endpoint from the browser. You cannot bookmark into
an iframe. There are various JavaScript hacks to try working around
this limitation, but they are hacks and they can fail.

If this is the project I think you mean, the real answer here is to
get that PHP into your Freeway page. Using the iframe to “wrap” the
database content with your design is working too hard for too little
benefit. For one thing, it’s a catalog site full of things for sale –
you actually do want Google to find and index all of that content,
naturally. So any search results will be to the “bare” catalog page
inserts, not to the actual page with its lovely designed wrapper and
branding intact.

Ask your developers to create a template that has no HEAD or BODY tags
in it, and try to merge that with your template (made in Freeway).
This is a well-solved problem in PHP, but using the iframe the way you
are has way too many problems associated with it and is not going to
be sustainable for the future.

Walter

On Jun 9, 2009, at 5:54 AM, Nathan Garner wrote:

I’m suspecting that an iFrame is not the best practice to use in
this situation, does anyone have any ideas?


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

Thanks Walter - I thought you’d say that, and agree the iFrame is
pretty redundant in this case. I’m on to it.

Regards

Nathan Garner
email@hidden

FW5 Pro | MacBook Pro | Leopard

On 9 Jun 2009, at 12:58, Walter Lee Davis wrote:

iframes, just like regular frames, break the web because they
disguise the real endpoint from the browser. You cannot bookmark
into an iframe. There are various JavaScript hacks to try working
around this limitation, but they are hacks and they can fail.

If this is the project I think you mean, the real answer here is to
get that PHP into your Freeway page. Using the iframe to “wrap” the
database content with your design is working too hard for too little
benefit. For one thing, it’s a catalog site full of things for sale
– you actually do want Google to find and index all of that
content, naturally. So any search results will be to the “bare”
catalog page inserts, not to the actual page with its lovely
designed wrapper and branding intact.

Ask your developers to create a template that has no HEAD or BODY
tags in it, and try to merge that with your template (made in
Freeway). This is a well-solved problem in PHP, but using the iframe
the way you are has way too many problems associated with it and is
not going to be sustainable for the future.

Walter

On Jun 9, 2009, at 5:54 AM, Nathan Garner wrote:

I’m suspecting that an iFrame is not the best practice to use in
this situation, does anyone have any ideas?


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