Giter Site home page Giter Site logo

big's Introduction

enable-web-developer-extensions

Instructions for how to enable developer extensions in a variety of browsers - currently Chrome, Firefox, Safari, IE, Opera, Mobile Safari. Please contribute more!

Public Domain or whatever license.

big's People

Contributors

bcomnes avatar bertrandkeller avatar brauliovm avatar brooksbecton avatar calvinmetcalf avatar commadelimited avatar danielruf avatar delvedor avatar drewrwilson avatar greenkeeper[bot] avatar kathleenld avatar kgjenkins avatar kikobeats avatar lambda avatar maptastik avatar melvincarvalho avatar mikeal avatar olivierodo avatar philipodev avatar rgieseke avatar saleiva avatar sbma44 avatar seereadcode avatar stuartpb avatar tjscalzo avatar tmcw avatar tyrasd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

big's Issues

1.0.0

Do a branch, do a first tagged release. The tires have been thoroughly kicked.

Use getAttribute instead of dataset object

One thing I noticed, this slide deck doesn't load properly in IE10 (build 10.0.9200.17148). Debugging big.js in IE gives this message "SCRIPT5007: Unable to get property 'timeToNext' of undefined or null reference big.js, line 7 character 32"
Would that cause this IE issue?

Publish to npm?

That way biggie (and other tools) can depend on the latest script?

vertically center content

@maxogden and I both used big for our talks at NodeDublin.

I'm in the back row and a slide with a long line, one line of code in a pre block, is way at the top, alone, and the projector sticks out of the ceiling and obscures the line from my view way in the back. really wish is was vertically centered.

use KeyboardEvent.key instead of .which

I'm deciding between setting the minimum browser at IE9 or IE10 - but regardless, I should switch the current usage of .which, which is deprecated, with .key, which isn't.

Display text over an image

The following code should display a the text "Hello World" over the image. Only the image is displayed.

I apologize if this is the intended behaviour, I'm not trying to disguise a feature request. I think it's the expected behaviour, however if it is in conflict with the mission statement that's fine.


---

Hello World 

![](http://farm3.staticflickr.com/2608/3801835477_b87502a888.jpg)

---

Documentation

@tmcw Would you be open to me writing up some basic instructions for junior hackers like me? Just stuff that's probably obvious to most people, but tips for building out a presentation: where/how to add images, tweaking styles in line, etc.

Center images

I wish there was a way to center an image on screen. I'm not using it as a background, I just wanted it centered. Any suggestions?

Presenter remote controlling

One of Big's appeals is that it's so small, and does one thing quite well. However, I did two presentations earlier this week in Big and I couldn't get either of the two remotes I had available to me to work (this also ties in with #36 ). It would be awesome if there was a lightweight way to offer support for presenter remotes without compromising Big's defining characteristics.

Reveal.js has a plugin for remotes.io which could be an option. I'm not a fan though of enforcing an internet connection just for this. But it could be an add-on option though. Here's the remotes plugin which is used by Reveal:

https://github.com/hakimel/reveal.js/blob/master/plugin/remotes/remotes.js

Unresponsive Script at Line #21 returns for some slides

Within my presentation - http://skorasaurus.github.io/hotatnacis2013
there are a couple occasions when the slide does not load after waiting for over a minute.

I haven't found anything in common among the slides besides that they all are images.
It does not hang on all images, only on some - specifically http://skorasaurus.github.io/hotatnacis2013#3 ; http://skorasaurus.github.io/hotatnacis2013#25 ; which are at: https://github.com/skorasaurus/hotatnacis2013/blob/gh-pages/index.html#L18 and https://github.com/skorasaurus/hotatnacis2013/blob/gh-pages/index.html#L67

I'll receive an error within firefox (24, ubuntu 12.04, 64bit) that says big.js is unresponsive, at line 21.
https://github.com/tmcw/big/blob/gh-pages/big.js#L21

The problem images are not the largest images either. I had no problems loading a 1.8mb gif, but a 1.3mb jpg and 600kb png are the troublesome images.

I've also tried chromium 28.0.1500.71-0ubuntu1.12.04.1 and have same problems.
I've also checked the console in the dev tools while loading these problem slides - no information appears there.

Lastly, I've also replicated this error locally and in my gh-pages branch - http://skorasaurus.github.io/hotatnacis2013

Call for colors!

I'm looking to update big's default color scheme. The current colors leave me wanting

image

image


Left to my own devices, my main options are:

  • Try to find someone who has good taste in colors / presentations and steal their choices
  • Find a nice editor color scheme and steal its choices.

The main picks here are:

  • Background color (currently black)
  • Foreground color (currently white)
  • em color (currently image)
  • a color (currently image)

Also open to question is fonts. Right now Big uses the system font stack because

  • Webfonts don't always include UTF8, causing awkward mismatches
  • Speed
  • I don't want to rely on an external service for fonts, because presentations that rely on the internet are doomed.

That said, if we can have a nice webfont default that falls back, or which we can include the fonts for, I'd totally be open for it, but also don't trust my own sense of font-choosing here, I fear @mayagao will laugh at me.

<pre> tags don't big-ify properly

Hey there!

Huge fan of big here - I use it for all my presentations!

A big problem that I have (especially when viewing in small windows or on mobile phones) is that pre tags don't big-ify properly for large entries. This usually means that all of my code snippets get mangled into something unreadable.

For example:

screen shot 2016-10-11 at 5 38 54 pm

screen shot 2016-10-11 at 5 39 25 pm

Would be great if this was fixed, then I could share my big presentations without having to hear that they don't work from mobile users..

Image tiling not working

It seems that background-size:100% in CSS is keeping the image-tiling feature from working. Perhaps this was intentional since tiling is described as a 'feature'.

Files empty on init

I followed the instructions in the README and ran big-presentation-init all-about-cats to initialize a new presentation. The files are all created, but are zero bytes.

I expected to see the files inside lib/ as the starter content, but that's not the case.

I'm on Node v10.0.0 and NPM v6.0.0

Issues with bluetooth remote not working

This could completely be the fault of the remote, but when I tried my Kinsington BT remote with the presentation it would not advance slides. On a slide where the image was a bit big, it would scroll, but it wouldn't ever advance to the next slide.

Go opposite way

Note for when I need it: start big, go small. Will fix the condition.

Performance optimization

    function resize() {
        var w = window.innerWidth, h = window.innerHeight, e = s[big.current];
        e.style.fontSize = h + 'px';
        function pass(cinch, start) {
          for (var i = start; i > 0 && (e.offsetWidth > w || e.offsetHeight > h); i -= cinch) {
            e.style.fontSize = i + 'px';
          }
          return i + cinch;
        }
        pass(2, pass(5, pass(10, h - 2)));
        e.style.marginTop = (h - e.offsetHeight) / 2 + 'px';
    }

Maybe it's possible to express this in less code? Thx @ajashton for flagging the performance problem, I think this gives us a good almost-10x speedup

support a basic zip download

The node utility approach feels good, but I think it'd be useful for folks to have a click-and-go solution if they know about node servers?

Encode url() string for () characters

@nickidlugash uncovered a neat bug - presentations with directories with ( and ) symbols yield invalid background strings. This is something that big should handle better, and I think something like using encodeURIComponent would do the tricks.

Improve default styling of HTML elements

it seems the protips are pretty outdated now that v3 is out. I can update what i've noticed but it might be easier for you to go over it real fast.

otherwise working in v3 has been pretty nice.

Improve `p` print margin handling

I have fiddled with the print settings in Chrome but am unable to get the slides to consistently stay on one page. Consider an enhancement to improve how the print view works.

Here's an example of how various tweaks to the print settings do not produce a clean result.

2018-04-17_10-34-42

Images push text off screen

If I have a slide like

<div><p>Text</p><img src="image.png"/>text</div>

you'd expect to have something similar to

Text
[image]
text

Big will display the text under certain aspect ratios, but sometimes it will make the image too large and then the text will be pushed off the slide. Putting css on the image to control it's size stops this from happening but ... shouldn't this just work?

Array of keycodes for fwd/rev

Tom, I just had an idea. On #L37 there's a conditional which checks the keycode and assigns the fwd/rev methods to them:

document.onkeydown = function(e) {
    if (e.which === 39) fwd();
    if (e.which === 37) rev();
};

What if instead of a keycode the user could register an array in their HTML file which would append to 37/39. Since Big is already setting up the listener, it could be a simple matter of allowing the user to tap into code that's already there?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.