Skip to content

Commit 70543fd

Browse files
Dani3lSunDani3lSun
authored andcommitted
Initial commit
0 parents  commit 70543fd

16 files changed

+3351
-0
lines changed

ISSUE_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### Expected behavior
2+
3+
4+
### Actual behavior
5+
6+
7+
### Steps to reproduce the issue
8+
9+
10+
### APEX version (4.2.6 / 5.0.3)
11+
12+
13+
### Used web server / version and platform (ORDS 3.0.3 / Tomcat 7 / Apache 2.4 / Linux x64)
14+
15+
16+
### Used web browser / version and platform (Chrome 48 Mac / Firefox 44 Windows)

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Daniel Hochleitner
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Oracle APEX Dynamic Action Plugin - APEX Tooltip
2+
A powerful, flexible APEX plugin enabling you to easily create semantic, modern tooltips. Using the open source JQuery plugin tooltipster.
3+
4+
## Changelog
5+
### 1.0 - Initial Release
6+
7+
## Install
8+
- Import plugin file "dynamic_action_plugin_de_danielh_apextooltip.sql" from source directory into your application
9+
- (Optional) Deploy the JS and CSS files from "server" directory on your webserver and change the "File Prefix" to webservers folder.
10+
11+
## Plugin Settings
12+
The plugin settings are highly customizable and you can change:
13+
- **Theme** - APEX Tooltip theme (5 different themes to choose from)
14+
- **Content Text** - Content text of the tooltip
15+
- **Content with HTML** - If the content of the tooltip is provided as a string, it is displayed as plain text by default. If this content should actually be interpreted as HTML, set this option to true
16+
- **Animation** - Determines how the tooltip will animate in and out (Fade, Grow, Swing, Slide, Fall)
17+
- **Position** - Set the position of the tooltip (Top, Bottom, Left, Right, Top-Left, Top-Right, Bottom-Left, Bottom-Right)
18+
- **Trigger** - Set how tooltips should be activated and closed. Default 'hover'
19+
- **Delay** - Delay how long it takes (in milliseconds) for the tooltip to start animating in. Default 200ms.
20+
- **min Width** - Set a minimum width (in pixels) for the tooltip. Default: 0 (auto width)
21+
- **max Width** - Set a maximum width (in pixels) for the tooltip. Default: null (no max width)
22+
- **Logging** - Whether to log events in the console
23+
24+
## How to use
25+
- Create a new Dynamic Action with event "onload" (other events also possible)
26+
- As action choose "APEX Tooltip".
27+
- Choose best fitting plugin attributes (help included)
28+
- Choose Affected Elements which tooltips are binded to (Items, Buttons, Regions or JQuery Selectors)
29+
30+
## Plugin Events
31+
- **APEX Tooltip - on Show** - DA event to do things when a tooltip opens
32+
- **APEX Tooltip - on Hide** - DA event to do things when a tooltip closes
33+
34+
## Demo Application
35+
[https://apex.oracle.com/pls/apex/f?p=APEXPLUGIN](https://apex.oracle.com/pls/apex/f?p=APEXPLUGIN)
36+
37+
## Preview
38+
## ![](https://github.com/Dani3lSun/apex-plugin-apextooltip/blob/master/preview.gif)
39+
- [tooltipster](https://github.com/iamceege/tooltipster)

apexplugin.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name" : "APEX Tooltip",
3+
"version" : "1.0",
4+
"description" : "A powerful, flexible APEX plugin enabling you to easily create semantic, modern tooltips.",
5+
"keywords" : ["tooltip", "popover", "hover"],
6+
"homepage" : "https://github.com/Dani3lSun/apex-plugin-apextooltip",
7+
"bugs" : {
8+
"url" : "https://github.com/Dani3lSun/apex-plugin-apextooltip/issues",
9+
"email" : "daniel@danielh.de"
10+
},
11+
"license" : "MIT",
12+
"author" : {
13+
"name" : "Daniel Hochleitner",
14+
"email" : "daniel@danielh.de",
15+
"url" : "http://blog.danielh.de/"
16+
},
17+
"repository" : {
18+
"type" : "git",
19+
"url" : "https://github.com/Dani3lSun/apex-plugin-apextooltip.git"
20+
},
21+
"oracle" : {
22+
"versions" : ["11.2.0.1", "12.1.0.1"],
23+
"apex" : {
24+
"versions" : ["5.0.0"],
25+
"plugin" : {
26+
"internalName" : "DE.DANIELH.APEXTOOLTIP",
27+
"type" : "dynamic action",
28+
"demo" : "https://apex.oracle.com/pls/apex/f?p=APEXPLUGIN",
29+
"previewImage" : "https://raw.githubusercontent.com/Dani3lSun/apex-plugin-apextooltip/master/preview.gif"
30+
}
31+
}
32+
}
33+
34+
}

preview.gif

128 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.tooltipster-light {
2+
border-radius: 5px;
3+
border: 1px solid #cccccc;
4+
background: #ededed;
5+
color: #666666;
6+
}
7+
.tooltipster-light .tooltipster-content {
8+
font-family: Arial, sans-serif;
9+
font-size: 14px;
10+
line-height: 16px;
11+
padding: 8px 10px;
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.tooltipster-noir {
2+
border-radius: 0px;
3+
border: 3px solid #2c2c2c;
4+
background: #fff;
5+
color: #2c2c2c;
6+
}
7+
.tooltipster-noir .tooltipster-content {
8+
font-family: 'Georgia', serif;
9+
font-size: 14px;
10+
line-height: 16px;
11+
padding: 8px 10px;
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.tooltipster-punk {
2+
border-radius: 5px;
3+
border-bottom: 3px solid #f71169;
4+
background: #2a2a2a;
5+
color: #fff;
6+
}
7+
.tooltipster-punk .tooltipster-content {
8+
font-family: 'Courier', monospace;
9+
font-size: 14px;
10+
line-height: 16px;
11+
padding: 8px 10px;
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.tooltipster-shadow {
2+
border-radius: 5px;
3+
background: #fff;
4+
box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
5+
color: #2c2c2c;
6+
}
7+
.tooltipster-shadow .tooltipster-content {
8+
font-family: 'Arial', sans-serif;
9+
font-size: 14px;
10+
line-height: 16px;
11+
padding: 8px 10px;
12+
}

0 commit comments

Comments
 (0)