How can I do this?

I really like the way this site works:

I like how the “pages” are actually just anchors, but everything changes link they are discrete pages. The reason why I want to be able to replicate this is because the audio player on the top continues playing as you switch from one “page” to another. Plus, there is deep linking, so you could send someone directly to the “Itinerary” page if you wanted to with a URL.

Any ideas on how to do something like this in Freeway? Thanks in advance.

TB


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

It takes a combination of a server-side application and some JavaScript on the browser. I have some idea how to do it, but I’m not done working it through. I saw a demo of this in Rails this week, using a library called Backbone.js, but that needs to be ported from jQuery, and a thin controller needs to be written in PHP before you could use this in Freeway. You’d want to get familiar with my TemplateHelper Action, because that’s how to build the sub-page parts.

Walter


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

Here’s an example using JavaScript only, with Protaculous. Ajax Load
The Freeway logo in the upper-right corner is the download link for
a file explaining it. You need Protaculous and TemplateHelper to
publish this document. Notice that the hash updates when you click on
the links, and if your reload the page, the selected option remains in
view. But also realize that this has a huge problem SEO-wise – the
only content that Google will see is the default content. There’s a
way around this, but it requires more scripting, this time on the
server, probably in PHP. I might have some time to work on this
tomorrow, but I’m not promising anything.

Walter

On May 20, 2011, at 2:23 PM, waltd wrote:

It takes a combination of a server-side application and some
JavaScript on the browser. I have some idea how to do it, but I’m
not done working it through. I saw a demo of this in Rails this
week, using a library called Backbone.js, but that needs to be
ported from jQuery, and a thin controller needs to be written in PHP
before you could use this in Freeway. You’d want to get familiar
with my TemplateHelper Action, because that’s how to build the sub-
page parts.

Walter


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

Also, Dan Jasker has a $5 video that can show you how to do this with jquery tabs. I just went through it the other day, and it was very easy to understand and recreate. All the information is on one page, and yes, the menu links are linked like anchors to each specific HTML block/container that you’ve named. You can put in anything into each container, images, text, video, etc.

The video is here, if you are interested: http://danjasker.com/store/screencasts/details/creating-tabs-using-only-freeway-and-jquery/


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

Just remember that jQuery won’t work at all with any of the Freeway-
native effects Actions, or with any of my Actions. I posted an Ajax
tab demo over a year ago that uses Prototype/Scriptaculous and so is
compatible.

http://freewaytalk.net/thread/view/73549

Walter

On May 25, 2011, at 9:17 AM, Robin Stark wrote:

Also, Dan Jasker has a $5 video that can show you how to do this
with jquery tabs. I just went through it the other day, and it was
very easy to understand and recreate. All the information is on one
page, and yes, the menu links are linked like anchors to each
specific HTML block/container that you’ve named. You can put in
anything into each container, images, text, video, etc.

The video is here, if you are interested: http://danjasker.com/store/screencasts/details/creating-tabs-using-only-freeway-and-jquery/


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

Wow- seems more complicated than I thought it would be. I don’t feel so bad about not being able to figure it out on my own now.

I truly appreciate all of the information. I will give it a go and see what I can come up with.

TB


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