• Web Development - WAYWO - #8
    5,576 replies, posted
I don't see why someone hasn't made something similar to socket.io to make handling sessions super simple, I still don't really get it [QUOTE=djjkxbox360;44841471]Wouldn't full height be 100%? And it was only released in March, I think many people have requested percentage height so it will be added[/quote] i guess, i think there's some differences though
[QUOTE=Shadaez;44842017]I don't see why someone hasn't made something similar to socket.io to make handling sessions super simple, I still don't really get it[/QUOTE] Because it's already super simple?
Working on comp sci project (more like web dev). I finally am able to drag elements [vid]http://a.pomf.se/luqlyl.webm[/vid] :)
Made my first website from scratch today! That means I finally get to post here, check me out! [url]http://hustlegaming.net/bluecloud/home.html[/url] Albeit, I'm getting $5 for my work... what's a man to do when he's lost his job?
It's not much compared to the stuff I see here, and web isn't generally where I work but I've published my blog which I've implemented using Django. Any constructive criticism is much appreciated. [url]https://curlybracket.co.uk/blog/[/url]
[QUOTE=ben1066;44849039]It's not much compared to the stuff I see here, and web isn't generally where I work but I've published my blog which I've implemented using Django. Any constructive criticism is much appreciated. [url]https://curlybracket.co.uk/blog/[/url][/QUOTE] What kind of blogging software are you using or did you make this yourself? If so; source?
[QUOTE=Mega1mpact;44849053]What kind of blogging software are you using or did you make this yourself? If so; source?[/QUOTE] Myself, currently haven't got the source code up anywhere, I might put it on github though I need to clean up the settings since currently some of the important settings (like database passwords) are just in a local_settings.py file because I'm lazy.
[QUOTE=ben1066;44849039]It's not much compared to the stuff I see here, and web isn't generally where I work but I've published my blog which I've implemented using Django. Any constructive criticism is much appreciated. [url]https://curlybracket.co.uk/blog/[/url][/QUOTE] I think it's a bit tricky to read right now, having to read wide lines of text like that can be laborious. Have you tried thinner designs or column based layouts to break up the content?
[QUOTE=Kwaq;44849507]I think it's a bit tricky to read right now, having to read wide lines of text like that can be laborious. Have you tried thinner designs or column based layouts to break up the content?[/QUOTE] I can certainly make the layout thinner, then I end up with lots of blank space when you look at it on say a 1920x1080 monitor, if I added a sidebar that would fill some of the space but I'm not really sure what I'd put there right now, or do you mean something else by columns?
[QUOTE=ben1066;44849577]I can certainly make the layout thinner, then I end up with lots of blank space when you look at it on say a 1920x1080 monitor, if I added a sidebar that would fill some of the space but I'm not really sure what I'd put there right now, or do you mean something else by columns?[/QUOTE] Whitespace is not a bad thing and you don't have to try to fill every inch of available space. I don't understand where people get that idea. Whitespace is your friend. Do [B]not[/B] just add shit to take up more space, that's a horrible thing to do. For the best readability your text should be somewhere around 50-75 characters wide. Type the alphabet twice and use that as a ruler to set your font size and the width of your content area properly.
[IMG]https://static.curlybracket.co.uk/s/img/2014-05-20_17-22-53.png[/IMG] [IMG]https://static.curlybracket.co.uk/s/img/2014-05-20_17-23-13.png[/IMG] Which looks better, the first or second?
First one. It's more obvious that it's a button. Maybe try right-aligning it?
I have this code here to parse a public key in RSA: [code] var pek = "-----BEGIN PUBLIC KEY-----\ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDVd/gb2ORdLI7nTRHJR8C5EHs4\ RkRBcQuQdHkZ6eq0xnV2f0hkWC8h0mYH/bmelb5ribwulMwzFkuktXoufqzoft6Q\ 6jLQRnkNJGRP6yA4bXqXfKYj1yeMusIPyIb3CTJT/gfZ40oli6szwu4DoFs66IZp\ JLv4qxU9hqu6NtJ+8QIDAQAB\ -----END PUBLIC KEY-----"; var certKey = certParser(pek); [/code] Then I get: Uncaught ReferenceError: certParser is not defined This is my file: [url]http://pastebin.com/ujgVCMwW[/url] The JS files are reading fine, as I tried going to those files in my browser and they load up fine... Whats going on?
certParser is not defined. If that is the right function name I would assume that your problem is that your code is running before all the scripts are downloaded. Wrap it in a document ready event handler.
I have the function called whenever I press a button so the document is fully loaded, however I did just try it with the document ready function in JQuery and still no dice.
if you open your browser console can you run the function from there without any errors?
Nope, all the same. I think it might be the framework im trying to use, although I dont see how because it works fine on their website and im using exactly the same scripts as them (afaik)
[QUOTE=Chizbang;44873627]Nope, all the same. I think it might be the framework im trying to use, although I dont see how because it works fine on their website and im using exactly the same scripts as them (afaik)[/QUOTE] If you would link to a live version of it we'll probably be able to spot the issue.
[QUOTE=Svenskunganka;44873849]If you would link to a live version of it we'll probably be able to spot the issue.[/QUOTE] [url]Http://plexrp.co.uk/eync[/url] PS: sorry, I just realised I posted this in the waywo
Where exactly did you define the certParser() function? I don't see it in any of those .js files...
Oh wait, the tutorial im following is really badly written. Just been looking and it completely misses out a function thats crucial to the scripts operation. I got it!
[T]http://i.imgur.com/fxq3koE.png[/T] Working on a web-replica of Sublime Text, right now it only supports loading files from server, and syntax highlighting using CodeMirror. The reason i'm making it is that i'm not always on my own computer, and might not have any text editor or sFTP client installed.
[QUOTE=TrinityX;44877063][T]http://i.imgur.com/fxq3koE.png[/T] Working on a web-replica of Sublime Text, right now it only supports loading files from server, and syntax highlighting using CodeMirror. The reason i'm making it is that i'm not always on my own computer, and might not have any text editor or sFTP client installed.[/QUOTE] Make git support! :v:
[QUOTE=TrinityX;44877063][T]http://i.imgur.com/fxq3koE.png[/T] Working on a web-replica of Sublime Text, right now it only supports loading files from server, and syntax highlighting using CodeMirror. The reason i'm making it is that i'm not always on my own computer, and might not have any text editor or sFTP client installed.[/QUOTE] I'd love to use this. (And contribute?)
[QUOTE=TrinityX;44877063][T]http://i.imgur.com/fxq3koE.png[/T] Working on a web-replica of Sublime Text, right now it only supports loading files from server, and syntax highlighting using CodeMirror. The reason i'm making it is that i'm not always on my own computer, and might not have any text editor or sFTP client installed.[/QUOTE] Didnt know CodeMirror supported textareas? Or am I thinking of something else?
[QUOTE=Chizbang;44877893]Didnt know CodeMirror supported textareas? Or am I thinking of something else?[/QUOTE] CodeMirror doesn't support them because you can't have syntax highlighting inside of a textarea. Instead, it performs wizardry with HTML and event-based everything.
[QUOTE=Svenskunganka;44877565]Make git support! :v:[/QUOTE] As in loading/saving files to git repositories? That's going to take quite a while, so i'll have to postpone that a bit. [QUOTE=Coffeee;44877646]I'd love to use this. (And contribute?)[/QUOTE] [url]https://github.com/TrinityX/web-sublime[/url] Woo, first GitHub repository! :dance: I really need help on this, so please do contribute!
updated! [url]http://andrewault.me/[/url] now with content!
[QUOTE=PortalGod;44882334]updated! [URL]http://andrewault.me/[/URL] now with content![/QUOTE] Looks great but: [IMG]http://i.imgur.com/XOsmdEg.png[/IMG] On purpose?
[QUOTE=Moofy;44884448]Looks great but: [IMG]http://i.imgur.com/XOsmdEg.png[/IMG] On purpose?[/QUOTE] I would hope not
Sorry, you need to Log In to post a reply to this thread.