Live data from Hacker News

Show HN: Bootstro.js - intro.js for Bootstrap

github.com

21–30 of 33 posts

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#21

Why "bootstro" attributes instead of "data"?

Since data-title, data-content are pretty kinda popular in bootstrap in many different plugins, I thought I'd use bootstro- to avoid any accidental mistake. TBH, I'm not even sure if it's good or bad practice

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#22
post #15

"I can resize my width too", that is really cool of you, but it would be nice if you also didn't go beyond my screen edge. Especially if the Next button is there. Also consider adding push history support or whatever that's called. I'd like to click back in my browser to go back in the intro. This is mostly because the back/forth touchpad gesture added in some version of MacOS or another, combined with the back/forth…

First off, thanks!

1. I can't really fix the beyond screen edge problem. I guess it's Bootstrap's popover problem. However, in practice, this is probably not a big issue. If you feel like the popover's gonna go off screen, consider adjusting the popover's placement.

2. That's a nice feature to have but probably not a quick fix, I'll put my effort into that asap

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#23
post #21

Why "bootstro" attributes instead of "data"?

Since data-title, data-content are pretty kinda popular in bootstrap in many different plugins, I thought I'd use bootstro- to avoid any accidental mistake. TBH, I'm not even sure if it's good or bad practice

It should really be data-bootstro-whatever so it validates as a custom data attribute in HTML

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#24
post #18
post #11

Hi all, I'm so surprised that this made HN front page, even though I thought Bootstro.js would be nice because I had a tough time looking for something like that. I guess I rarely get a chance like this so I'm very excited and therefore would like to share here that I love HN so much. Actually there are two things that have changed my profession quite dramatically 1. HN, before HN, i.e about 3 years ago, I was with w…

Well done. I've been thinking we need something like this for our app, but haven't poked around yet. Thanks for making this available.

My pleasure!

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#25
post #19

Good. Only issue I have so far is that in links to modal windows the bootstro-title takes over the title causing: a) the mouse-over tooltip (with original title) disappears and b) the bootstro pop-over title is the original "title".

Would be great if you could provide me with a jsfiddle,thanks. i'm kinda not getting it.

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#29
post #25
post #19

Good. Only issue I have so far is that in links to modal windows the bootstro-title takes over the title causing: a) the mouse-over tooltip (with original title) disappears and b) the bootstro pop-over title is the original "title".

Would be great if you could provide me with a jsfiddle,thanks. i'm kinda not getting it.

perhaps this helps: http://pastebin.com/BkRspQig

Re: Show HN: Bootstro.js - intro.js for Bootstrap

#30
Flicking between steps results in the window scroll animations queueing. You may wish to replace

$('html,body').animate({

in bootstro.go_to, with:

$('html,body').stop(true).animate({

This clears the animation queue and stops the current animation between animating.

Post reply on HN