xExtractHtmLContent (url, query, data, v-width, v_height, L_offset, T_offset, scalewidth, scaleheight)
Rate this function: Average rating: 2.5 (10 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. |
GroupRelationInfo ( FileTarget ; TableTarget ; Result ) |
| |
(Tue, Mar 16, 5:57am) |
| 2. |
GeoBox(latitude;longitude; radius) |
| |
(Mon, Mar 15, 11:04am) |
| 3. |
MonthNameList ( start; number; short ) |
| |
(Sun, Mar 14, 11:45pm) |
| 4. |
matchListAB( ListA ; ListB; match_Value; match_operator ; getN ) |
| |
(Sun, Mar 14, 10:29pm) |
| 5. |
Bin2Hex ( binary ) |
| |
(Sat, Mar 13, 10:08pm) |
| 6. |
SlideView (text) |
| |
(Sat, Mar 13, 8:40pm) |
| 7. |
HashFNV1a64 ( text ; empty ) |
| |
(Sat, Mar 13, 6:23pm) |
| 8. |
HashFNV1a32 ( text ; empty ) |
| |
(Sat, Mar 13, 5:55pm) |
 |
|
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