• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    CSS
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A clone of branch(http://branch.com) feedback widget.

jQuery.Feedback

This is a clone of the Branch's feedback widget on the site.

Demo

Demo

Usage

First, you have to include both js/jquery.feedback.js and css/jquery.feedback.css files on your page.

Then, create a dom with id feedback-anchor on your page:

<div id="feedback-anchor"></div>

Then, you can initialize the Feedback widget on your page via:

Feedback.init
  placeholder: 'Feedback? Let us know here.'
  send_callback: ->
  thanks_message: ""
  button_name: 'Send'
<p>Thanks for your feedback!</p>
<div class="indent">
  - siong1987
</div>
    """
  • placeholder: the placeholder message when user sees the Feedback widget.
  • send_callback(text): the callback function after the user clicks on the Send button by returning the text in the form. This is usually where you will send a post request to your own server to actually send out a notification(email, sms, or what not) to yourself.
  • thanks_message: the message the user sees after the feedback message is sent.
  • button_name: the send button's name. It doesn't have to be 'Send', right?

Help/Issues

The code is extremely simple. Just read the source code if you have any questions. Or, you can create a GitHub issue, I will look at them as soon as I have the time.

Contact

Let me know if you want to talk to me about this plugin. You can email me siong(1900+87) (at) gmail (dot) com.

LICENSE

(The MIT License)

Copyright (c) 2013 Teng Siong Ong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

shortcuts

Restart/Sleep/Logout/Shutdown shortcuts in Spotlight
Objective-C
396
star
2

backbone_routes

Rails like central routing control for Backbone.
JavaScript
71
star
3

PyCloud

A Python IDE that runs on the browser. No connection needed.
JavaScript
41
star
4

flo

Redis powered node.js autocompleter inspired by soulmate.
CoffeeScript
36
star
5

siongTime-tvos

siongTime tvos app
Swift
32
star
6

siongTime-web

siongTime web backend.
JavaScript
29
star
7

chat

A one day project to create a iPhone and Web real-time chat application.
Objective-C
21
star
8

StateMY

The Malaysia map font.
20
star
9

yab62

Yet Another Base 62 Convertor. This one is written with c extension.
C
12
star
10

backbone_router_filter

Add after and before filter for Backbone.Router
JavaScript
11
star
11

mongoid_timeline_fu

Easily build timelines, much like GitHub's news feed. But, on Mongoid tho.
Ruby
10
star
12

danger-clubhouse

A pull request plugin to danger.systems that links to stories from Clubhouse to GitHub.
Ruby
10
star
13

mongoid_shortener

A Rails 3.1 engine based url shortener that has to used together with mongoid.
Ruby
8
star
14

mongoose-autoincr

autoincrement support for Mongoose
CoffeeScript
8
star
15

sidekiq_parameters_logging

Sidekiq::Paramters::Logging middleware to log parameters passsed to each worker.
Ruby
6
star
16

issues_importer

Issues Importer that imports issues from Bitbucket to Github.
Ruby
6
star
17

BeatsBot

BeatsBot pipes in the current Beats 1 song live into a Slack channel.
CSS
4
star
18

phoneformatter

API for formatting phone number.
CSS
3
star
19

cs410

booksmart
Python
2
star
20

carpool

A carpool app for Malaysian general election, 2018.
Ruby
2
star
21

jquery.editable.plugin

A simple yet powerful in place editing jQuery plugin
CoffeeScript
2
star
22

old-siong1987.com

Old siong1987.com
CSS
2
star
23

CS461

Mobile Safari URL Exploitation
Ruby
2
star
24

TSSafariViewController

SFSafariViewController but with push/pop animation.
Swift
2
star
25

github_to_talker

A simple app to rePOST GitHub commits to TalkerApp via GitHub Service Hook.
Ruby
2
star
26

siong

What do you think? A website about me :)
SCSS
1
star
27

hnmention

Email notification when someone @mentions you on Hacker News.
CSS
1
star
28

sinatra_grape_active_record

Sinatra + Grape and ActiveRecord
Ruby
1
star
29

facebook_js

facebook_js helps to keep all the unnecessary editing from using Facebook JS SDK.
Ruby
1
star
30

volume

A WatchOS app to control volume on your iPhone with Digital Crown.
Swift
1
star
31

MailTime

Visualize your inbox.
JavaScript
1
star
32

forkbin

github for lists.
Ruby
1
star
33

TPlus

Twitter Google Chrome Extension
JavaScript
1
star
34

Bloc-Extension

Tool I used to speed up my process.
JavaScript
1
star
35

sinatra_grape_mongoid

Sinatra + Grape + Mongoid
Ruby
1
star
36

CSIL

Is CSIL down for everyone or just me?
Ruby
1
star
37

awesome-bonk

List of helpful $Bonk links for various burns, integrations, and mentions.
1
star