During the APEX 4.0 session at last ODTUG a question was raised: "Can we have a floating developer toolbar" (the thing at the bottom of the page with a.o. the 'Home' and 'Debug' link). There is no need to wait for APEX 4.0 to get that (if it will be implemented as a new feature), you can have it NOW!
If you put the next piece of code in an HTML Region in Page 0 (or in your Template, whatever you like), the toolbar gets sticked to the bottom of your browser like glue...
If you put the next piece of code in an HTML Region in Page 0 (or in your Template, whatever you like), the toolbar gets sticked to the bottom of your browser like glue...
I guess it only works for FireFox, but that doesn't matter, because that's the tool we're all using anyway, aren't we? Oh, yeah, and you need jQuery...
Comments
Thanks.
It would also be nice to have keyboard shortcuts to those commands.
Since we are "restricted" to Firefox, I think that it could be accomplished a GreaseMonkey Script.
Patrick Wolf already created some shortcuts on his APEX Builder Plugin (http://www.inside-oracle-apex.com/oracle-apex-builder-plugin/).
Unfortunately, I don't have the skills required to do it...
Cheers,
Pedro
I prefer to add shortcuts to FF's header as a replacement for the developer toolbar.
The shortcuts can call URLs or JavaScript functions.
Try calling your JavaScript code from a FF shortcut to enable your "special floating mode". You won't have to modify any applications or templates.
I'm using Firefox 3.5 but I'm pretty new to JQuery. Should that work out of the box or do you have to install an add-on for that?
Matthias
I found out myself :-)
Had to download the JQuery libraries and then include them in my APEX page first. Now it works, nice trick!!
Matthias
Matthias
Do you know if the same code could be used to develop a floating menu region in APEX i.e a floating lefthand menu page region that always stays pinned to the top of the page as you scroll down the page.
Any pointers appreciated ;-)
You can set the posotion of that list region to fixed (same solution as the toolbar). For instance if you define a region without a Template and use Listin that region with Vertical Ordered List as the List Template and set the style (for instance in the region header) to:
<style>
.t1VerticalOrderedList{
margin-top:0;
position:fixed;
right:0;
}
</style>
Then the list will show up at the top right of the screen and stays there - even if you scroll all the way down!
Regards
Roel