Shrhawk / edX-console-logos

Show edX and OPEN edX logos at console

Home Page:http://shrhawk.github.io/edX-console-logos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

edX-console-logos

This plugin shows edX and OPEN edX logos at browser console.

edX Logos

edX Logos

OPEN edX Logos

OPEN edX Logos OPEN edX Logos

Usage

First, load the plugin:

<script src="edx_logo.js" type="text/javascript"></script>

Now the edx_logo and open_edx_logo functions are embedded into console object call these function using console. ###Examples

<script type="text/javascript">
console.edx_logo();
console.open_edx_logo();
</script>

##Options

  • settings:

    • type Type of logo to show.
      default: auto 1. auto: Auto select the type among (image, css, smalltext, bigtext) according to browser compatibility. 2. image: Image version of logo. 3. css: Css versio of logo. 4. smalltext: Text style line version of logo (old browsers). 5. bigtext: Big Text style line version of logo (old browsers).
  • log_text Show text message on console.
    default: false

  • url Image url of logo in case of type:image or type:auto
    default (edx_logo): https://d37djvu3ytnwxt.cloudfront.net/static/images/edx-theme/edx-header-logo.517a627deaad.png
    default (open_edx_logo): https://files.edx.org/openedx-logos/edx-openedx-logo-tag.png

  • scale Image scale for logo from 0.1 to 1

  • open_edx_only For open_edx_logo only if set true ignore the POWERED BY text, work only for css, smalltext, bigtext types
    default: false

  • text
    Text to show on console along with logo
    default (edx_logo): Want to contribute to edX-platform ? Visit at https://github.com/edx/edx-platform
    default (open_edx_logo): POWERED BY OPEN edX

Browser Support

Browser Image Css Smalltext Bigtext
Chrome Yes Yes Yes Yes
Safari Yes Yes Yes Yes
Opera Yes Yes Yes Yes
Firefox (FireBug) No V > 39 Yes Yes
Internet Explorer No No Yes Yes

License

(The MIT License)

About

Show edX and OPEN edX logos at console

http://shrhawk.github.io/edX-console-logos/

License:MIT License


Languages

Language:JavaScript 83.7%Language:HTML 16.3%