Skip to end of metadata
Go to start of metadata

float(<position>, <vertical>, <horizontal>, <html>)

Float a window above the current contents of the browser (z=.9999). This is not a pop-up.

Float a window above the current contents of the browser (z=.9999). This is not a pop-up.

  • <position> is either “absolute” or “relative”
  • <verical> is a colon separated pair (written as a string) where the first part is either top or bottom and the second part is a measurement in CSS format. For example “right: 10px” would instruct window to have an initial position 10 pixels from the top of the viewable area.
  • <horizontal> is a colon separated pair (written as a string) where the first part is either left or right and the second part is a measurement in CSS format. For example “top: 10px” would instruct window to have an initial position 10 pixels from the right of the viewable area.
  • <url> is the place where the window content will be retrieved. Because of restrictions on cross site scripting (XSS) by browsers, if URL is not on the same site as the site hosting the KOBJ tags the content of the URL will be downloaded on the Kynetx engine and inserted.

The following options are available float:

  • draggable Boolean value stating whether the window is draggable or not.
  • effect Takes the value “appear”, “blind”, or “slide”.

The following ruleset shows float() being used

 

 

Labels: