Sponsored Content
Top Forums Web Development Notes with Ravinder on Badging System Development Part II Post 303028308 by Neo on Friday 4th of January 2019 05:13:27 AM
Old 01-04-2019
Then use something like this in the navbar HTML template:

Code:
<div class="container">
    <div class="alert alert-success alert-dismissible" id="newBadge" style="display:none">
        <a href="#" class="close">&times;</a>
        <strong>New Badge!</strong> Click Here to See Your New Badge(s).
    </div>
</div>

<script>
    $(function () {
        var stateChange = localStorage.getItem('badgestatechange');
        if (stateChange == 'true') {
            $("#newBadge").show();
            localStorage.setItem('badgestatechange', 'false');
        }
        $(".close").click(function () {
            $("#newBadge").alert("close");
        });
    });
</script>

 

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

New Badging System - Badges Prototype Beta 1 (Badges Only)

Today I mapped out the new badging system using FA icons, Beta 1 in no particular order except a 6 x 8 grid: https://www.unix.com/members/1-albums215-picture991.png The prototype HTML code for this layout: <style> .fa-badge-grid { font-size: 1.5em; } .row { ... (38 Replies)
Discussion started by: Neo
38 Replies

2. What is on Your Mind?

Status of Badging System - Beta 1

Dear All, Here is the current status of the badging system: The Beta 1 phase of the new badging system is close to completion. 42 prototype badges have been "allocated" 6 prototype badge slots are held in reserve The "alert you have new badges" prototype is running and is currently... (4 Replies)
Discussion started by: Neo
4 Replies

3. What is on Your Mind?

Badging System: UNIX.COM Bug Hunter Badge (New)

I have moved the bug badge out of reserve and into the main stream. Basically, I will assign a color level like the others, based on who has made a good actionable bug report for UNIX.COM. "Good" means screenshots, links, and even details from web dev tools our the HTML source code. So far,... (0 Replies)
Discussion started by: Neo
0 Replies
ALLTRAY(1)							AllTray Manual Page							ALLTRAY(1)

NAME
AllTray - Dock any program into the system tray. SYNOPSIS
alltray [program] [options] DESCRIPTION
With AllTray you can dock any application with no native tray icon (like Evolution, Thunderbird, Terminals) into the system tray. A high-light feature is that a click on the "close" button will minimize back to system tray. It works well with Gnome, KDE, XFCE 4*, Fluxbox* and WindowMaker*. Xmms is supported in particular. Click-Mode: Only run alltray and click on the window you would like to dock. (Abort with <c>) OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h --help Show summary of options. -v --version Show version of program. -d --debug Show debug messages. -s --show Do not hide window after start. -i --icon Use a PNG image as an icon. -l --large_icons allow large icons (> 24x24). -st --sticky visible on all workspaces. -stask --skip-taskbar not visible in taskbar. -x --borderless remove border, title, frame (if not supported native). -m --menu Add entry "menu text:command" to popdown menu. -t --title Show title change for <sec> seconds. Probably most useful for xmms. -g --geometry initial position. see man X. -k --key [Modifier:]Key create a keyboard shortcut. Modifier -> "Shift", "Control", "Alt", "AltGr" Key -> "a", "F1", "End" ... or "Keycode" (Number) returned by the program "xev" -nt --notray display no tray icon (useful only with the "--key" option). -nm --nominimize click on window close button: do not minimize back to system tray, close. -conf --configure show KDE configuration dialog. HOMEPAGE
http://alltray.trausch.us AUTHOR
This manual page was written by Carlos C Soto <csoto@sia-solutions.com> for the GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub- lished by the Free Software Foundation. AllTray (C) 2005, Jochen Baier <email@jochen-baier.de> Version 0.71 2010-02-07 ALLTRAY(1)
All times are GMT -4. The time now is 01:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy