xExtractHtmLContent (url, query, data, v-width, v_height, L_offset, T_offset, scalewidth, scaleheight)
Rate this function: Average rating: 2.2 (30 votes) Discuss this Custom Function
Nick Lightbody, Deskspace Limited
http://www.deskspace.com
Controls which part of a web page is displayed in the WebObject Viewer
Sample Input:
| xExtractHtmLContent ( Searches::za2Url; "q="; & Searches::xa2Address4GoogleMap ; Searches::zb5Width ; Searches::zb5Height; Searches::zb5WidthOffset ; Searches::zb5HeightOffset ; 1 ; 1 ) |
|
Sample Output:
|
Description:
Enables offsets to be used to hide elements in the source screen that you don't want to be viewed in the FileMaker Web Viewer - this is an amazingly useful function enabling you to precisely control what information - for example from a mapping site - you choose to display.
This updated version also resizes the source content as the web viewer is resized as the Filemaker Window is resized.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 2. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 3. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 4. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 5. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 6. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
| 7. |
CenterWindow in Window vert horiz (demension) |
| |
(Fri, Jan 06, 12:25pm) |
| 8. |
UTF8_to_TXT ( Text , Platform ) |
| |
(Wed, Dec 28, 10:44pm) |
 |
|
Discovered a very interesting affect of this. If you have a negative offset, then clicking in the webviewer window produces a click in the associated region of the Filemaker layout.
So by scrolling in a web viewer, I select and scroll text in a field that is above and to the left of the web viewer. Very weird.
Bruce Robertson, Redmond WA
March 02, 2009 9:40pm