This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id='someIdentifier'> | |
<iframe id='anotherIdentifier' src='http://example.com'> | |
</iframe> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div><iframe src="http://example.com"></iframe></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createPerimeterFromMarkers() | |
{ | |
/* | |
1. interrogate the named elements in our named frame | |
(containing a google map API with four user-droppable markers) | |
2. create an AppFurnace Geo Line object using the four co-ordinates | |
indicated by the user in the google map API frame | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rejigTheFrame() | |
{ | |
/* | |
The AppFurnace environment behaves differently in the three | |
scenarios. i.e. web simulator draft, published, and on iPhone | |
*/ | |
// uncomment these as appropriate | |
var testEnvironment = null; | |
testEnvironment = 'iPhone'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set this function to run when the index screen is shown | |
function beginIndexScreen() | |
{ | |
// enter the URL to your google map API html here | |
var yourMapAPIURL = "http://your.domain/your_mapAPI.html"; | |
// do not change below here | |
// ////////////////////////////////////////////////////////////// | |
// create a reference to the (in this case) index screen |