- Orientation: The orientation type of the window: "portrait" or "landscape".
"os" - Returns the visitor's platform details. For example:
os : {
name : "Windows 8.1",
group : "Windows",
fullVersion : "8.1",
majorVersion : 8,
minorVersion : 1
}
- Name: The name of the operating system (see all possibilities below).
- Group: The group name of the OS (see all possibilities below).
- Full version: The full version number, for example: "8.1" or "10.9.3".
- Major version: The major version number, for example with the version "8.1": the number "8".
- Minor version: The minor version number, for example with the version "8.1": the number "1".
Group name
Platform names
"Windows"
"Windows 2000", "Windows XP", "Windows Vista", "Windows 7", "Windows 8", "Windows 8.1", "Windows" (the last one is only used when no other element has been matched)
"Windows Phone"
"Windows Phone"
"Chrome OS"
"Chrome OS"
"Android"
"Android"
"iOS"
"iPhone", "iPad", "iPod"
"Mac OS"
"Mac OS X Cheetah", "Mac OS X Puma", "Mac OS X Jaguar", "Mac OS X Panther", "Mac OS X Tiger", "Mac OS X Leopard", "Mac OS X Snow Leopard", "Mac OS X Lion", "Mac OS X Mountain Lion", "Mac OS X Mavericks", "Mac OS X Yosemite", "Mac OS" (the last one is only used when no other element has been matched)
"Linux"
"Ubuntu", "Debian", "Gentoo", "Linux" (the last one is only used when no other element has been matched)
"BlackBerry"
"BlackBerry"
Plugin events
PgwBrowser::StartResizing - This event is launched when the resizing starts.
$(window).bind('PgwBrowser::StartResizing', function() {
// Your code when the resizing starts.
});
PgwBrowser::StopResizing - This event is launched when the resizing stops.
$(window).bind('PgwBrowser::StopResizing', function() {
// Your code when the resizing stops.
});
PgwBrowser::OrientationChange - This event is launched when the orientation changes.
$(window).bind('PgwBrowser::OrientationChange', function() {
// Your code when the orientation changes.
});