« first day (795 days earlier)      last day (4152 days later) » 

8:01 PM
Too many pinned messages in chat
 
lol, @vision +1
 
8:15 PM
Hola! I am needed a bit of help in pausing the image rotation while using setTimeout-- my scripts-- jsfiddle.net/Commandrea/vRbXf
 
ohh wow. @redconservatory you are the first person I've met randomly who uses lettering.js
 
I'll be working on another fiddle in the meantime to see what I can manage-- thanks!
 
@redconservatory you do realize including the script just to do your title is kind of a joke. just write out the spans by hand.
I say this with some level of expertise rlemon.github.com/typesetting.js <- rewrite of lettering.js without jQuery also I added a tonne of features.
 
Hello JS devs!
 
Hello random internet person!
 
8:19 PM
hey peeps is there anyone at all that is familiar with Wordpress at all, i need help with a function call if possible and do have a Question open on WE but its as dead as a doornob
 
@KirstyHarris my experience with WP was: tinker.... tinker... test... test... tinker... o_O...???.....RAGE-QUIT!
 
ive tried and its pissing me off now...
 
My experience with WP:
 
lol
 
@rlemon You've used bootstrap for that, right?
 
8:20 PM
all i want is to get the <!--more--> to freaking work
 
@rlemon so it goeth with all of us
@KirstyHarris link thee Q
 
@AmaanCheval yes sir, unmodified
@AmaanCheval any site you guys see of mine uses bootstrap
 
what's the WP question? I'm not expert but dabbled in it recently
 
I'm no designer.
 
0
Q: <!--More--> not functioning

Kirsty HarrisI have the following blog template with the the_content outputted. I have placed However it does not appear to be functioning, http://www.milknhny.co.uk/DVine/?page_id=19 Is there anything that needs to be included within functions for this to function? Thanks Code Of my Blog Template <...

 
8:21 PM
Neither am I. That's why you don't see any site of mine at all
 
Bootstrap FTW
 
the few exceptions are: github generated sites
Tonight I want to try to get a blogger template done (responsive) using Twitter Bootstrap
 
i think im missing the function, so i found it in the Twenty Eleven theme, and i think ive amended it, but it still not working
@rlemon you will have to share with us with result, would love to see it
 
I think as with all frameworks you'll have to do the old
start with a new working template
replace pieces bit by bit till you have your old code
to find out the part that broke :D
 
well ive tried that.... :S
 
8:23 PM
"framework" is a euphemism for "minefield" really
 
I hate frameworks.
including .net
however I hate writing non .net windows applications
it's a double edge sword
 
instead of using the_content, what about trying <?php the_excerpt(); ?> ?
 
hi martin, i tried that... again didnt work :S
 
Ignore that. Missed the fact that you were talking about blogger
 
1 min ago, by SomeKittens
@rlemon Since I know you wanted to learn more node, check this out: https://github.com/SomeKittens/simple-node-blog
You cannot hide from me!
also I do want to do this, so stared.
 
8:27 PM
hmm, was the post longer than 55 words (think that's the default)
 
Blogger === I'm lazy, cheap, and did I mention lazy?
 
yep, well longer
 
@SomeKittens We were supposed to partner on that, weren't we? :p
 
But well, I'm lazy too. I never finished that book / online tutorial
 
8:28 PM
@AmaanCheval Something like that
 
hrmph.. I tried to help @redconservatory and she just ignored me
but but but she is from TO.
I'm like a hour away from TO
maybe i'll track her down and ask her why she ignored me
 
Hahahaha
You sound like Zirak now :p
 
seriously... she is including the lettering.js plugin for just her page title.
 
To @Zirak, that's "going steady"
 
8:29 PM
I know I wrote a re-write of it. but I'll be the first to admit it's a fucking useless plugin
 
@rlemon That .... bitch
 
stumped, what about trying to echo get_the_excerpt() ?
 
all it does is change <h1>foo bar</h1> to <h1><span class="letter1">f</span><span class="letter2">o</span><span class="letter3">o</span> .... </h1>
 
@rlemon Since you were looking forward to the sales ^
 
8:30 PM
@AmaanCheval available through steam?
never uses gog
 
Nope
DRM-free though
 
ok will try that martin... im pulling my hair out i know that :(
 
@KirstyHarris if you do it right you could be left with a great look and a reduced hair-care cost.
 
..... funny.... dont ya know im a woman in a dilema lol
when u try everything.... and it still dont work, then i just bang my head against a brick wall lol
 
!!s/lol/ /
 
8:33 PM
@SomeKittens when u try everything.... and it still dont work, then i just bang my head against a brick wall (source)
 
i know... shit.. should quit with the "lols"
 
evening
 
I don't mind the occasional lol, but when it starts becoming punctuation....
 
hmmmmm i know,... i will try.. can only ask for patience :p
 
8:35 PM
We've got a surprising amount of patience for someone who's willing to try.
 
duely noted @somekittens
 
Dualy? I accept. Twenty paces, pistols, at first light.
 
god WE is not very active is it... useless when you post a question..0_o
@martincarlin87... tried... failed... im now stumped ha!
 
hmm me too, only thing I can think off is, did you take the read more 'tag' out of the posts when trying the excerpt stuff?
 
yep, slams head
i put it in the post, and i placed what i written in the question... and now lost lol
 
8:38 PM
hmm, not very helpful but even for wordpress i usually ask on SO because the WP site doesn't seem as popular
 
no and they aint half as helpful....
 
ugh- still no love--- jsfiddle.net/Commandrea/vRbXf
 
!!s/lol/ /
 
@AmaanCheval i put it in the post, and i placed what i written in the question... and now lost (source)
 
oh ffs....
 
8:39 PM
:P
!!s/ffs/lol/
 
@AmaanCheval Invalid command /s/ffs/lol/
 
i have tourettes... lol tourettes... trying to program myself.... twat..
 
@AmaanCheval oh lol.... (source)
 
second last post on this page any good: wordpress.org/support/topic/read-more-not-working-2
 
@Commandrea you're doing stuff in OnLoad but you're then setting window.onload
 
8:40 PM
!!/s/!!s/lol/ //!!s/lawl/ //
 
@SomeKittens Invalid command /s/!!s/lol/ //!!s/lawl/ //
 
boo
 
just change the little dropdown on the left-hand side from onload to no wrap (head)
 
@canon my bad- wrong link-- I updated that jsfiddle.net/Commandrea/vRbXf/2
just one itty bitty little kink that is KILLING ME
 
@martincarlin87.... surely i need to add something to the functions file though, i think thats whats going wrong
 
8:41 PM
I've never created 'pauses' w/ setTimeout
 
do you really want to? or do you want to use setInterval
 
Element.getAttribute has solid browser support, right?
 
I don't think so, it's a core wp function so you shouldn't need anything extra?
 
@RyanKinal I hope so :p
!!/mdn getAttribute
 
8:43 PM
this seems to be the same problem: stackoverflow.com/questions/2350528/…
 
hmmm i know i found some code in the actual functions file of the twenty twelve and eleven theme
 
DOM2
 
Right... but IE is crap, and you never know what it will implement incorrectly.
 
i will use anything that will get this cat purring
 
Yeah, that's all that's stopping me from saying "YEAH!"
 
8:44 PM
switching to setInterval--
 
@Commandrea in your case, setinterval probably makes a little more sense.
 
ffs i give up,... this shits messing with my head
 
I fucking hate ASP.NET
I need a beer.
 
bring me one whilst your at it
 
:rage-quit:
 
8:47 PM
lol, @RyanKinal... what happened?
Where did this bow-tie come from?
I don't see it listed among the Winter Bash items...
 
Why would anyone write this
Function.prototype.method = function (name, func) {
    this.prototype[name] = func;
    return this;
};
it doesn't add much of anything, but it forces you to use strings instead of identifiers
killmenow
 
even i aint that thick
 
@canon I think some hats are secret or something
 
hmm
 
^ read comments
 
8:55 PM
thanks @rlemon-- I still need those fools to pause on hover...that's the kink
 
ok, then hold the setTimeout
one sec
 
@rlem
 
oops @rlemon these comment notes are golden--
 
8:58 PM
if you wanted to get really fancy you could track how much time has elapsed from the original timeout, then resume where you left off. but I think that is overkill.
 
ahhhhhh
I was dancing around the fix...
thank you so much-
 
no problemo.
it's really simple stuff once you get the hang of it.
don't ever give up! DOM APIs and JS are easy peasy
people just make them out to be difficult.

Javascript Resources.

Sep 4 at 13:36, 2 minutes total – 8 messages, 1 user, 1 star

Bookmarked Sep 4 at 13:40 by rlemon

 
posted on December 19, 2012 by Victor Rodriguez

‘NASA Johnson Style’ Parodies ‘Gangnam Style’ Music Video NASA’s Version of Mr. Fusion Getting Started with the ELEV-8 Quadcopter Why the World Didn't End Yesterday on December 21 - NASA Science IRIS 9000 Voice Control Module for iPhone

0
Q: Carrer path as Java developer for non Btech or BCA background graduate

Piyush JollyMy name is Piyush and I'm a graduate in Bsc. multimedia. Now I'm planing to learn JAVA and take it as my carrier and there are few things I'm really worried about:- 1)Does the industry accepts graduates from Non-it background. 2)Because my course was all about 3D Animation nothing like software p...

 
also, if you are using !important; in your css... you are likely doing something wrong.
there are very few cases where !important; is actually needed.
but i'll let you look into that. (hint: specificity)
 
hotchaha-- wonderful stuff :)
bookmarked for LIFE
 
9:02 PM
@Commandrea the daily nerd?
 
hehe, well stick around this room and take in everything you can.
pretty much all modern js I know I have learned here in the past ~20 months.
or however long it's been since 2011-07-13
last time I wrote js before this was mid 2000's - the game has changed a lot since then :P
 
console.log((new Date() - new Date("2011-07-13"))/(24*60*60*1000));​
525 days dude!
1.44 years
/me is bored
 
@Loktar If years were MB, you'd have filled up a floppy!
 
@Loktar Participating in the Mozilla Game On?
 
^ that was since @rlemon joined I guess
@AmaanCheval nah
I thought about it, but idk, id rather just make a game for me maybe to make a little $$ idk
are you @AmaanCheval?
 
9:07 PM
Not sure
I'm thinking of the same
Make a game and just put it on MarketJS
See how it does
 
yeah
thats what I want to do as well
 
@canon the js resources @rlemon provided :) The nerd sounds great too :)
 
hrmm... now I have too many blog post ideas.
I wish I were a better writer
 
@rlemon Make sure to write them down
 
@SomeKittens basically, i'm drafting each idea as I get them in bullet notes.
then I can work on them via mobile or desktop anywhere I have internet.
 
9:12 PM
Awesome. I hate it when I forget ideas.
 
@rlemon same here man
I would write much more if I wasnt shite at it
 
I've got quite a few outlined, just need to write 'em out
@Loktar Write anyway. That's the only way to really improve
 
yeah I know :? I really should
Ill write something this weekend
 
@Loktar BLOG BLOG BLOG BLOG
 
So I'm the only one who doesn't have any ideas now? :/
 
9:14 PM
@AmaanCheval @rlemon When you guys get established, we should swap guest posts.
 
Woohoo!
And leave @Loktar out because he uses WordPress :p
 
LOL
@Loktar I see you as "Elite", so why are you using WP?
Thats like a formula 1 racer driving a smart car.
 
Come on, as if using blogger blogspot was any better
 
like I said already. Blogger === temporary. I wanted to blog but i always used the excuse "Don't have time to press a blog or buy a domain". Blogger is free, easy, and nothing needed.
Blogger === Blogspot
as soon as the new year comes, and considering I will already have content to put on it, I don't see this excuse flying with myself anymore
node.js powered blog here I come!
 
Woo!
 
9:18 PM
now, I did sign up for a WP site, but for a coder I found blogger to be much much less hastle to post code too and demos too.
WP you need a buncha stupid ass plugins to show code properly, and to embed shit.
 
This is a very odd word:
!!/define slapdash
 
@Zirak slapdash: haphazard, slipshod. (source)
 
Hey can I run a brainstorming idea past you guys? Crazy idea I just had and wanted to see opinions?
 
Sure
 
They do make you look fat
Uranium is not the solution
 
9:23 PM
Hahahaha
 
ok i'll try to explain....
you know how SEO sucks in that you have to do it if you have an ecommerce site
it would be nice if you could write everything in JavaScript on the front end and still have SEO just work
 
@SomeKittens ok because you have some experience here....
Common mistakes
- using abstractions too early
- running before you crawl
- elitism
How to learn
- Where to start
- What to write first
- How to test and debug your code
What to learn
- Order
- What you can leave out
Community Resources
- list of resources you should use
- How to ask for help
- Things to be aware of (trolls, vamps, etc)
Overview
Conclusion
for "So you want to learn Javascript"
 
Yes, I have a lot of experience in wanting to learn JS
 
Anyone else getting mildly annoyed that ever since the hat thing started, everyone is editing everything even when not needed?
 
ignore the bullet points maybe not making sense to you, but overall flow... seem about right?
 
9:26 PM
like say I wrote a catalog output of products using jQuery and JSON and wanted that output for SEO reasons
 
Maybe. I'm not so sure about the first thing being common mistakes
 
well after the introduction of course.
I always like to start with an introduction outlining what the post will cover.
 
You also should define who you're writing for: First-time coders?
 
I was thinking of building a service that allowed for someone to write a complete client-side solution, that ran in the browser but periodically updated a static file really for my own purposes but it would make one way of doing things easier
is that stupid?
there are complete browser automation tools now that would allow you to do just that
 
Yes, just make your website work like every sane person does
 
9:27 PM
@kitgui.com well, here is the thing. SEO for client side templating sucks.... period.
 
that's what I mean
there is no support for SEO and JavaScript apps
 
With that said, you can do a few things.
1) write each page as a static page, then using XHR just pull portions of the page out to the 'master' page.
 
that's isn't solving the SEO part
 
yes it is.
the physical pages now exist
robots can see them
landing pages work
 
oh you are saying do a "load" in jQuery
right I already know all that stuff
 
9:29 PM
if you are using jQuery, then yea, use load
 
what I was avoiding was the need to write a server-side
 
you don't.
I've done it before.
 
you have to write a server-side to consume the data and output in order to be SEO compatible
 
5 pages, all built as full stand alone pages, then include all five pages to a single page using .load()
it's not perfect, you cannot display all fragments properlly on the single pages.
but it's the best we have
afaik
 
I get you but I'm way beyond that stuff
 
9:31 PM
I'd recommend you not to use Javascript the way you do (see how SO does it)
 
I'm talking about a platform where you can literally code all client-side logic
 
ok, so you understand it. good, I don't have to continue explaining it.
 
but have it be served server-side
so it works with SEO
 
@kitgui.com you want something like how g+ or twitter work correct? 100% client side templating?
 
meaning the data is dynamic
imagine if you will a browser running on a server which is API driven
the browser can literally run client-side javascrpt
the browser isn't a visual browser
but just an engine to get the resulting DOM from
 
9:33 PM
node.js
 
not exactly
imagine you are literally run DOM and jQuery and everything (window object) and all
 
literally a browser
and you just set it to periodically update static files on Amazon or some CDN that serves direct HTTP traffic
this way you would have a unified model of client-side JavaScript potentially
 
@kitgui.com Robert may misunderstand you or not have the same opinion as me, but your idea is really dumb
 
eh, seems pointless if you ask me.
@copy hehe apparently not
 
9:35 PM
ok that is good to know
 
@rlemon sorry for such a schmuck question here... but I can't seem to get this jsfiddle.net/rlemon/vRbXf/5 going as an external js (you mentioned that if I used the script w/in each page, the window.onload wasn't necessary, however I would really like to keep it as an external file to make updates 5x faster)
 
i tend to think of wacky ideas for my own purposes
 
@Commandrea include the external reference in the body before the </body> tag
<html>
<head> ... </head>
<body>
... content ...
<script src="..."></script>
</body>
</html>
 
hey lemon its me from yesterday
 
I think I'm going to try it anyway just to see it working but anyway thanks for input
 
9:37 PM
browsers parse code top to bottom, head, then body. code in the head blocks the browser as it is downloaded and parsed, this is why we avoid overloading js in the head. the body HTML is parsed top to bottom so all elements will exist in the DOM once the script is hit (excluding iframe contents). Note: images and iframe contents will need to download after their tag is initially parsed, the image object exists but no information will exist on the image itself until it is 100% loaded
 
I finally learned how to format my code
 
@Commandrea make sense?
 
How do I apply a jquery image gallery to javascript/php image tags
 
@rlemon yessss
thank you
 
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">myThumbs = ##CST_ITEM_IMAGE_ARRAY_T##;myPix =
<div class="picture-slides-container">
<div class="picture-slides-fade-container">
    <a class="picture-slides-image-link"><img class="picture-slides-image" src="pictures/1.jpg" alt="This is picture 1" /></a>
</div>

<div class="picture-slides-image-text">This is picture 1</div>

<div class="navigation-controls">
    <span class="picture-slides-previous-image">Previous</span>
 
9:40 PM
so simple
I didn't want to ask...lol
 
I was given these instructions to change an image gallery <!-- picture gallery -->
<script type="text/javascript">myThumbs = ##CST_ITEM_IMAGE_ARRAY_T##;myPix = ##CST_ITEM_IMAGE_ARRAY_M##;</script>

Above are the merge fields that will return the javascript array of the BusinessFlow images. You can have your designer use the array to produce the hover swaps
I would like to use this gallery pikachoose.com
I cant figure out how to implement it, if it was simple url's I could but since it is calling on this <script type="text/javascript">myThumbs = ##CST_ITEM_IMAGE_ARRAY_T##;myPix = ##CST_ITEM_IMAGE_ARRAY_M##;</script> I dont know how to apply it
 
just so y'all know @rlemon is super clutch
 
I have been google searching for an answer but I dont know what this is called
<script type="text/javascript">myThumbs = ##CST_ITEM_IMAGE_ARRAY_T##;myPix = ##CST_ITEM_IMAGE_ARRAY_M##;</script>
is this php? javascript? How would I link this to a jquery image gallery?
what can I google is there any type of tutorial or something that could help online?
can anyone offer any advice?
 
@user1771351 It clearly says PHP, see <script type="...">
 
it says text/javascript
is that PHP?
 
9:49 PM
Yes
 
thank you
So I should ask this question in the PHP room?
 
Yeah
 
ok thank you
 
That was too easy :-(
 
@Commandrea just for that I wrote you this: jsfiddle.net/rlemon/vRbXf/8
I love being "clutch"... whatever that is
I don't know why the images are blown up like that. frankly I don't care :P
You could increase performance by having an 'invisible' image that pre-loads the next image in the sequence.
then you could do fancy shit like fade them out and in
anyways. 5pm
I expect this demo to push me past "clutch" and move me into a full-blown "purse" category
 

« first day (795 days earlier)      last day (4152 days later) »