xExtractHtmLContent (url, query, data, v-width, v_height, L_offset, T_offset, scalewidth, scaleheight)
Rate this function: Average rating: 2.5 (11 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. |
GetResultParameter( ParameterName ) |
| |
(Wed, Aug 25, 8:32am) |
| 2. |
GetListParameter ( ParameterList ; ParameterName ) |
| |
(Wed, Aug 25, 8:25am) |
| 3. |
Standard_Deviation( Field ; MaxLoopCount ; StartIndex ; StdDeviation ; ArithMeanValue ) |
| |
(Tue, Aug 24, 10:57am) |
| 4. |
Arithmetic_Mean ( Field ; MaxLoopCount ; StartIndex ; MeanValue ) |
| |
(Tue, Aug 24, 10:51am) |
| 5. |
Age ( Birth; theDate; Format ) |
| |
(Fri, Aug 20, 9:50am) |
| 6. |
Power ( x ; y ) |
| |
(Thu, Aug 19, 5:56am) |
| 7. |
portal.rowCount ( _name ) |
| |
(Sun, Aug 15, 2:41pm) |
| 8. |
PostPer_Day ( Post; startDate ; finishDate ; returnType ) |
| |
(Sat, Aug 14, 2:02pm) |
 |
|
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