Linking to MyFBO with iFrames Back  Forward    Print this topic

Linking to MyFBO with iFrames

MyFBO subscribers can include news items, bulletin board postings, calendar entries, and/or fuel prices from their online system database into their home web site -- whether or not that site is hosted by MyFBO.  These items are included as iFrames, inserting a page generated by the online system inside a page on the subscriber's web site.  

An iFrame is inserted into a subscriber's web page with HTML code similar to the following for news items or bulletin board postings:

 <iframe frameborder="0"
   src="http://snn.myfbo.com/d/news_iframe.asp?fbo=xxxx&fface=Arial&fcolor=%23000000&content=N&open=W"
   height="184" width="100%">Sorry, but your browser does not support this function.</iframe>

Similarly, the following HTML is inserted for an iFrame with calendar information:

 <iframe frameborder="1"
   src="http://snn.myfbo.com/show.asp?fbo=xxxx&page=cal&fface=Verdana&fsize=8&content=E&chars=80&open=S"
   height="50%" width="500">Sorry, but your browser does not support this function.</iframe>

Finally, the following HTML is inserted for an iFrame with fuel price information:

 <iframe frameborder="1"
   src="http://snn.myfbo.com/show.asp?fbo=xxxx&page=fuel&fface=Verdana&fsize=8&content=E&chars=80&open=S"
   height="50%" width="500">Sorry, but your browser does not support this function.</iframe>

The letters "nn" are replaced by the subscriber's assigned server, e.g., "s13." A subscriber's four-character FBO identifier replaces "xxxx".  Your assigned server and FBO identifier can be determined by clicking View System Information button on the Admin Tab in your MyFBO system. 

Optional parameters to both the news and calendar programs include:

Font face (defaults to Arial)
Example:  &fface=Verdana
Font size (defaults to 11pt)
Example:  &fsize=8
Colors (defaults to colors selected for the online system)
General form:  &xcolor=%23FFFFFF  (note: use %23 instead of #)  --- or ---  &xcolor=white
Background: &bcolor=
Text: &fcolor=
Link: &lcolor=
Visited Link: &vcolor=
Link Rollover (hover):   &rcolor=
Content format
General form:  &content=x    (defaults to N)
x is "N" for news or calendar subjects, "L" for full news or calendar list, "E" for news or calendar excerpts, "T" for one-line news ticker,  "B" for bulletin board subjects, "C" for full bulletin board list, "D" for bulletin board excerpt
        x is
        No of characters when content type is "E" or "D" 
        (applicable to excerpt content format) (defaults to 250 characters)
Example:  &chars=120
Window in which news can be read on click-through  (not applicable to list content format)
General form:  &open=x    (defaults to W)
x is "W" for new window, "S" for self (inside the iframe), "T" for top (replaces the entire page)

 

 
 
Copyright © MyFBO.com                   [email protected]

05/25/11 cli