Page div & database problems

Hi,
Although I’ve been using FW Pro for some years I am really only a newbie in more advanced procedures! I’m a try and what if merchant but I get hours of fun with FWP5

There are a couple of problems. This example page is what I’m trying to achieve less the floating info bar not using FWP5 for the code.
http://www.anaerialview.com/usa/us-ca/US-CA.html

The next page is me trying to replicate the example with the floating bar using FWP5
http://www.anaerialview.com/usa/us-ca/index.html

Finally here is near to what I’m trying to achive but it required me editing the page div and the map div, perhaps a little crudely but it sort of works.
http://www.anaerialview.com/usa/us-ca/fullindex.html

As you can see by the final example I get the map to break out of the size container but I need to do this in FWP5 . The map div I know I can edit through ‘extend’ but it’s the Page div I think I need to access.

Finally its also clobbered the text in the info window, yes it is there if you have good eye sight. I’ve use databases elsewhere with FWP5 and not encountered the this problem.
http://www.anaerialview.com/nl/

Am I barking up the wrong tree? It needs to be done in Freeway if possible as there are 50 states in the US alone each needing their own page !!!

Cheers, Peter.


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

On Oct 23, 2012, at 7:01 AM, Peter Neville wrote:

Hi,
Although I’ve been using FW Pro for some years I am really only a newbie in more advanced procedures! I’m a try and what if merchant but I get hours of fun with FWP5

There are a couple of problems. This example page is what I’m trying to achieve less the floating info bar not using FWP5 for the code.
http://www.anaerialview.com/usa/us-ca/US-CA.html

The next page is me trying to replicate the example with the floating bar using FWP5
http://www.anaerialview.com/usa/us-ca/index.html

You’ve gotten very close indeed. One simple change and I think you’ll have it done: In the Inspector, set the page Align to None. Click on your floating palette, and set its Position to Fixed in Window, set its Right attribute to a comfortable distance, and disable the Left attribute. The palette will now appear initially at a relative distance from the right side of the window, rather than a fixed distance from the left. It should still be draggable after initial page load, but it’s not going to be covering the airports when the page loads on a large screen.

One further refinement you could add: click once on your floating palette, and open up Item / Extended. Click the

tab, and add a new property:

  • Name: cursor
  • Value: move

This will give the compass-rose cursor whenever a visitor mouses over the palette, giving her an additional hint that the thing can be dragged around.

Walter


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

Hi Peter,
You’ve some really good work here. Well done. I’d love to spend time exploring how you are pulling the marker data in through PHP.

Freeway is making the page a fixed width because you have the page alignment in the Inspector palette set to center. Remove this and the PageDiv wrapper will expand to fit the browser width. If your child map div is set to 100% width and height (or 0 left, 0 right, 0 top, 0 bottom) this this will also flex to fill the browser window.
Regards,
Tim.

On 23 Oct 2012, at 12:01, Peter Neville wrote:

Am I barking up the wrong tree? It needs to be done in Freeway if possible as there are 50 states in the US alone each needing their own page !!!


Experienced Freeway designer for hire - http://www.freewayactions.com


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

Walter, Tim,

Many, many thanks that’s neat, just the tops. I’ve put the result page here:
http://www.anaerialview.com/usa/us-ca/indexresult.html

I’ve only ever used the those little ht/width boxes to gain uniformity on layout and sizing and I’ve a nasty habit of always making my pages centred. Lessons learnt!!!

It just goes to re-enforce my opinion of Freeway being a top piece of software. I’ve not even scratched the surface of using it.

Tim, when I started my current hobby project I realised that with the amount of data I was going to handle, hard coding the head tag was just not an option, for example there are over 1000 airfields/heliports in CA alone. So the time had come to get my hands dirty with PHP/MySQL after all I have a server in London which really only serves a few static pages.
So I used the Google Map tutorial and hey presto it worked. So this creates xml pages from the database. They also have a KML tutorial on creating a kml page on the fly. But here I fell foul of coding knowledge, however its working after a fashion. The first problem in trying to get their example working lead me to find out the following. Where they use their own Google Earth code base don’t use the OpenGIS and it works. So replace this:
//kml xmlns=“http://earth.google.com/kml/2.1”//

with this:
//kml xmlns=“http://www.opengis.net/kml/2.2”//

However for some reason the way I’m pulling in the kml files won’t allow me to do them on the fly. This is not too much of a problem at present as I just create the on localhost and put them up as an actual kml file on the server. But I will address this in time, the data is there ready to call.

Once again many thanks. Peter.

A thousand miles begins with the first step.


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

You may want to try one more thing (because when the page initially loads, it does not fill the screen with map). Open up Page / Extended, and where you have your current onload: load(), change that to onload: load(); fillWindow();

See if that gives you the full-screen view.

Walter

On Oct 23, 2012, at 10:30 AM, Peter Neville wrote:

Many, many thanks that’s neat, just the tops. I’ve put the result page here:
http://www.anaerialview.com/usa/us-ca/indexresult.html


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

Walter,

I got my pages mixed up I’ve literally just put the right one up. At the above address. I’ve killed that fill window code as it’s not needed.

My two desktops look like the Somme at the moment as I’m trying to get a lot done in short time !!! hey ho

Once again many thanks.


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