Wix Windows

Windows Wix

Windows - Wix Code API References You can use the wix-window modul to add functions that are related to the actual webpage. In order to use the Windows modul, you must load wixWindow from the wix-window modul: RenderingThe API is used to specify when to execute arbitrary renderings while loading a page. trackingParametersObjects is used when invoking the trackEvent() feature. lightboxA lightboxA lightboxA is used to render the rendered page.

formFactorG Specifies the type of equipment used to display the page. localeG specifies the location of the page in the actual surroundings. referrerG specifies the HTTP reference headers box. viewModeG specifies which state the page is in. getBoundingRect( ) Gets information about the page windows. geolocation ( )Returns the actual location of the geolocalization of the user. getRouterData ( )Returns the information that a given routing server has given to the site. } openLightbox( )Opens a lightweightbox and gives it the specified information as an option. } openModal( )Opens a modem dialog that shows the specified web page.

mailMessage ( )Sends a post to the superordinate part of the page. scrollBy( )Scrolls the page by a specified number of pixel. scrollTo( )Scrolls the page to a specified place. trackEvent( )Sends a track events to outside analysis utilities. openmodalOptionsAn item used when opening a modular browser interface. Retrieves the Locale of the actual area.

As a rule, the referring page is the URL of the preceding web page on which the visitor was before he came to the page in question by simply selecting a hyperlink. Provides information about the pane. getsBoundingRect () will return a promise that is resolved into an item that contains information about the actual width of the container, the width of the container, and the actual scrolling area.

This is an item that contains information about the dimensions of the pane, the dimensions of the documents, and the actual scrolling positions. Provides the actual geolocalization of the operator. If you use getCurrentGeolocation(), the system will return a promise that is resolved to an item containing the user's actual geographicization. It contains the following key:value pairs: "The geolocalisation timestamp" - the date and hour at which the item was called up.

"This is an item that describes the location." The value can be zero if the web browsers cannot deliver the information. The value can be zero if the web browsers cannot deliver the information. The value can be zero if the web browsers cannot deliver the information. There are the following limitations to the getCurrentGeolocation() function:

Under Chrome the feature only works on HTTPS pages. For Chrome, Firefox, and Safari, the feature only works if the end users approve a pop-up. To Fulfill ObjectThe co-ordinates and time stamp of the actual position. If rejectedStringThe end users block the pop-up of geolocalization. Provides the information that a return packet sent to the site by a return packet provider.

If you are creating a routing device and defining its functions in the router() command, you can select whether you want to transmit information along with the router's reply. Those credentials are fetched in the page to which the getRouterData() command was passed. When you call the getRouterData() command from a non-router page or a routing page that has not sent any packet information, the command will return zero.

ObjectThe information sent back by the routing device. Open a light box and pass the specified information to it option. opensLightbox () will return a promise that is dissolved when the panel is shut. When the light box is program -controlled shut down with its close() functions and the close() functions is called with a date argument, the Promise dissolves into this name.

When sending a DataObject to the box, use the getContext() command in the box itself to get it. When you call openLightbox(), use the name of the box and not the ID of the box. nameStringThe name of the box you want to open. objectThe file to pass it to the box. file (optional)ObjectThe file to pass it to thebox.

Accomplishment objectThe returning information from the light box. Open a Modal dialog that shows the specified web page. There is a module based pane that shows the page specified by the URI attribute above your actual page. In contrast to a light box opened with the openLightbox() feature, the windows opened by openModal() are not part of your page tree.

There can only be one module open at a given moment. Opening a modified dialog box therefore excludes a modified dialog box that has already been opened, if any. In order to use an HTTP URL, disable SSL for your website. urlStringThe url of the page you want to display in the MODAL PANEL. optionsOpenModalOptionsThe used options for the modal window. e.g., if you want to use an HTTP url, disable SSL for your website.

Avoid on fulfillmentWhen the modem windows are shut. When a page is embeded in another Web site by using an html component on a wix site or an iframe on a non-wix site, you can use the postMessage() feature to post a post from the inner Web site to the external Web site. Assuming the parental site is a Wix site, use the onMessage() feature to get the news on the parental page.

is a non-Wix site, use the page's pane. MessageObjectThemes to send. messageObject (optional)StringThe target to send densage to. messageObjectThe messages to Send. messageObject (optional)StringThe targets to send the messages to. To Fulfill ObjectThe information retrieved from the Modal Windows.

This scrolls the page by a certain number of pixel. ScrollBy () will return a promise that is resolved when the page is rotated by the specified number of pixel. The x and y parameter specify the number of horizontally and vertically positioned pixel to rotate the page. xNumberThe skew, in pixel, for scrolling. yNumberThe skew, in pixel, for scrolling through. yNumberThe skew, in pixel, for scrolling through.

Avoid on completionWhen the scrolls are over. scrollTo () will return a promise that is resolved when the page is rolled to the specified position. x and y define the upper LH pixels that will be shown on the display after scrolling. For scrolling to a particular item on the page, see $w.

xNumberThe horizontally scrolled location in pixel. yNumberThe vertically scrolled location in pixel. Avoid on completionWhen the scrolls are over. TraceEvent () will send an even to analysis utilities associated with your website. TraceEvent () only works on released version of your website.

This is an item used when opening a moderate pane. widthNumberWidth of the moderate pane. heightNumberHeight of the moderate pane. This is an item retrieved by the getBoundingRect() command that contains information about the width of the container, the width of the container, and the actual scrolling location. windowObjectAn object mit height and width key:value pairs containing die size von the viewable area of the current browser window. For more information, see the GetBoundingRect() command.

documentObjectAn documentObject with elevation and width keys:Value pair that contains the area of the real page fuselage that can be greater or smaller than the currently selected page. scrollObjectAn documentObject with x and y keys:Value pair that contains the scrolling offsets of the page within the selected page from the top-right corner of the page.

Auch interessant

Mehr zum Thema