[ home ] [ site / arch ] [ pony / oat / anon ] [ rp / art ]

/site/ - Site Issues

The board for discussing site related issues, questions, concerns, and suggestions.
Name
Email
Subject
Comment
File
Flags
Password (For file deletion.)

Site maintenance in progress! Posts made now may be lost.

Ponychan-MLPchan Merger >>>/site/15219

File: 1384583768679.png (36.26 KB, 631x392, qrboxes.png)

Anonymous 12664

Hey guys, does anyone want flexboxes in the QR? It'll certainly take less space on the screen.

Put this right after where $oldFile is defined
var StyleQR ="\
.persona {display: flex;}\
.persona input{flex:1; transition: flex .25s; min-width:0% !important;}\
.persona input:focus, .persona input:hover{flex: 3}\
";
$("<style />").text(StyleQR).appendTo("body");

Then this right above where $name is defined

var $persona = $("<div/>")
.attr("class", "persona")
.appendTo($QRForm);


Then change $name, $email, and $subject so they append to $persona instead of $QRForm

Like shown here, lines 2913 to 3042
https://dl.dropboxusercontent.com/u/91369206/mlpchan.js

Anonymous 12665

File: 1384584685985.png (198.46 KB, 637x462, [Boops_Internally].png)

Also one question for Macil, what program would you recommend for writing javascript? Specifically, is there anything that has code completion tools?

Macil!/5s/Techmk 12678

I don't know if I personally prefer that look, but I do like that it makes the QR smaller. I'll make it a default setting on browsers that support it.

>>12665
I'm not a big fan of IDEs (even with C++ and Java, which on occasion earns me strange looks). I just use emacs. It's not all that great (it defaults to using tabs and spaces together, and doesn't even always default to indenting to tab-width, what the hell), but it's got a few little bits I like such as being able to hit tab anywhere on a line to indent it intelligently.

Tom' the /♥/ bringer 12683

File: 1384641871237.png (307.38 KB, 1280x1482, Happy 1.png)

>>12678
I think it looks great.

>>12664
Thanks!

BMO 12684

I'm liking this change. Awesome.

Anonymous 12686

File: 1384649906466.jpg (77.49 KB, 530x413, my_world_is_changing.jpg)

Anonymous 12691

>>12683
Glad I can be of service.

>>12678
After doing a little research myself, I found an Eclipse IDE for javascript right here http://eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliosr that has pretty much what I was looking for, which I'm fiddling with right now. Incidentally, I have to admit, both you and Milky did a great job at writing an inline script that's readable and developer-friendly. Much props to you guys. We should work like this more often if that's fine with you.

Macil!/5s/Techmk 12693

>>12686
Look for the "Use small persona fields on QR" setting in the settings menu.

>>12691
You could add me on skype, or google talk (or whatever that one is called now).

The Person Who Posts As Fluttershy (Element of Self-descriptive Usernames) 12694

so this is why my qr is all weird all of sudden.

I guess it does take less space…

12695

File: 1384717388092.png (375.47 KB, 714x838, Happy XVIII.PNG)

>>12693
Thanks for the option to continue being normal. Change sucks.


Delete Post [ ]
[ home ] [ site / arch ] [ pony / oat / anon ] [ rp / art ]