Perch Map Content appears and Freeway content disappears in Safari

I have a really weird problem using Perch Map content where the main

disappears. Even the h2 line above the map is lost.

***Note it’s not until the last of the map is loaded where the other content disappears.

All the content is published with javascript off or CSS of.

http://printlineadvertising.co.uk/demo/IGC-fault.php

Can anyone spot where this is going wrong? It might be a combination of Freeway form scripts and the Google map?

Safari and Chrome appear OK.

David

http://www.printlineadvertising.co.uk


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

Safari on iPad of course has the same weirdness

David

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 16:21, David Owen email@hidden wrote:

I have a really weird problem using Perch Map content where the main

disappears. Even the h2 line above the map is lost.

***Note it’s not until the last of the map is loaded where the other content disappears.

All the content is published with javascript off or CSS of.

Pearch form Test

Can anyone spot where this is going wrong? It might be a combination of Freeway form scripts and the Google map?

Safari and Chrome appear OK.

David

http://www.printlineadvertising.co.uk


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

Anyone else manage to test this is a Safari? The left column of text (reply form) disappears after the google map has loaded on the right column.

David

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 17:55, David Owen email@hidden wrote:

Safari on iPad of course has the same weirdness

David

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 16:21, David Owen email@hidden wrote:

I have a really weird problem using Perch Map content where the main

disappears. Even the h2 line above the map is lost.

***Note it’s not until the last of the map is loaded where the other content disappears.

All the content is published with javascript off or CSS of.

Pearch form Test

Can anyone spot where this is going wrong? It might be a combination of Freeway form scripts and the Google map?

Safari and Chrome appear OK.

David

http://www.printlineadvertising.co.uk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
List Options | FreewayTalk


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

Yes, I did. Very strange. I’ve been looking at it but so far I can’t suss out what the specific problem is.

Todd

Anyone else manage to test this is a Safari? The left column of text (reply form) disappears after the google map has loaded on the right column.


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

I can’t figure it out either. It looks to be something from the map’s many and various JavaScript callback functions. Maybe try putting that map in an iframe, and see if that insulates the problem. Make a new page, with nothing on it except the map. Put the map in the top-left corner. Then draw an iframe on the contact page where you want the map to appear, and target that map page into it.

Walter

On Jan 12, 2014, at 3:31 PM, Todd wrote:

Yes, I did. Very strange. I’ve been looking at it but so far I can’t suss out what the specific problem is.

Todd
http://xiiro.com

Anyone else manage to test this is a Safari? The left column of text (reply form) disappears after the google map has loaded on the right column.


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! No wonder I was struggling if Walter can’t spot the problem.

The same page using Perch Maps with Perch 2.3.4 works fine, in 2.4.2 it breaks. That’s the only common thing I can find so far. Or course Perch support appear to draw a line if their maps work on a blank page by itself.

Isolation using an iframe won’t work as the page is referenced in Perch. I’ll just put a Google map in direct through Freeway instead if I can’t find a solution soon.

David

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 20:37, Walter Lee Davis email@hidden wrote:

I can’t figure it out either. It looks to be something from the map’s many and various JavaScript callback functions. Maybe try putting that map in an iframe, and see if that insulates the problem. Make a new page, with nothing on it except the map. Put the map in the top-left corner. Then draw an iframe on the contact page where you want the map to appear, and target that map page into it.

Walter

On Jan 12, 2014, at 3:31 PM, Todd wrote:

Yes, I did. Very strange. I’ve been looking at it but so far I can’t suss out what the specific problem is.

Todd
http://xiiro.com

Anyone else manage to test this is a Safari? The left column of text (reply form) disappears after the google map has loaded on the right column.


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


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

The fix I got was adding a new

here…

(this alone)
<?php perch_content('map'); // map area ?>

Which led me to believe I’d missed it out on the Perch content template but no so. Could there be a missing

in the Google Code? Surely not.

Although that seemed too much of a hack to proceed with it. I’ve checked and I can’t spot the closing div unless the browser is covering it by completing the mistake?

David

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 20:31, Todd email@hidden wrote:

Yes, I did. Very strange. I’ve been looking at it but so far I can’t suss out what the specific problem is.

Todd
http://xiiro.com

Anyone else manage to test this is a Safari? The left column of text (reply form) disappears after the google map has loaded on the right column.


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

I would be inclined to try one of these:

Use a proper editor (TextMate etc.) to find the missing closing tag or use a dedicated comparison app to see the differences between the original file and the one you modified. Should be easy to spot.

Todd

I’ve checked and I can’t spot the closing div unless the browser is covering it by completing the mistake?


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

Tested here… http://divcounter.jhousemedia.com/

25 divs opened and closed.

URL: http://dev1.ilkleygolfclub.co.uk/contact.php

All divs are closed

David Owen

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 23:19, Todd email@hidden wrote:

I would be inclined to try one of these:

Use a proper editor (TextMate etc.) to find the missing closing tag or use a dedicated comparison app to see the differences between the original file and the one you modified. Should be easy to spot.

Todd
http://xiiro.com

I’ve checked and I can’t spot the closing div unless the browser is covering it by completing the mistake?


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

Right found the solution, so easy when you know how.

The gotcha with the Perch Maps element is that if you’re working with inline content you need a html wrapper around the inline map content and within that wrapper but outside the content map content div like so…

<----- wrapper -------->
<----- content div------->
<--------- Perch Map -------->
<----- content div------->
<------------- Extra div to stop Perch Map from obliterating “content” but not the map itself ------------->
<----- wrapper -------->

You don’t need that extra div if content div is position absolutely.

Who would have thought! Anyone like to offer an explanation?

David

http://www.printlineadvertising.co.uk

On 12 Jan 2014, at 23:19, Todd email@hidden wrote:

I would be inclined to try one of these:

Use a proper editor (TextMate etc.) to find the missing closing tag or use a dedicated comparison app to see the differences between the original file and the one you modified. Should be easy to spot.

Todd
http://xiiro.com

I’ve checked and I can’t spot the closing div unless the browser is covering it by completing the mistake?


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

to demo the fix…

http://www.printlineadvertising.co.uk/demo/perch-map/

Use dev tools “display:none” in Safari to automagically make the content above disappear. The red div is holding things together.

I suspect it’s something in the Google map scripts and Safari.

David Owen

http://www.printlineadvertising.co.uk

On 13 Jan 2014, at 18:06, David Owen email@hidden wrote:

Right found the solution, so easy when you know how.


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