Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JimBob SquarePants

@JimBob SquarePants
About
Posts
116
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • A little advice...
    J JimBob SquarePants

    Hi folks, I've spent the last eight months working on a responsive framework as I wanted an alternative to the ones that I saw out on the interwebs. Here it is. http://responsivebp.com/[^] We use it at work for every site now and I've got a bit of pick-up in the wild (mostly within the Umbraco community) but no matter what I do I can't seem to get it really noticed. I've written up comprehensive docs and tweeted the crap out of it too. Most people just seem to want to jump on the Bootstrap (bloated, buggy) bandwagon or worse still that weird Semantic-UI framework that to me makes absolutely no sense. (Why make divs look like buttons?) I find it very frustrating and at times I wonder whether to keep going on it as it's a hell of a lot of work for one guy or just throw in the towel. The code is lightweight, good and well tested also. It hasn't let us down at work yet and has saved us tons of development time. How would you go about getting it noticed? Should I bother, am I simply wasting my time? Any advice is welcome. Thanks

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge css mobile com design question

  • Another open source rant
    J JimBob SquarePants

    Web development is saturated with individuals whose skill-set is extremely poor and who lie about their ability with no shame. It really grinds my gears. I set about a guy recently in the LinkedIn forums who was asking if anyone had any guides so he could quickly learn JavaScript though on his profile he said he was an expert!

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge ruby tutorial csharp php database

  • A Margin for Error - in CSS
    J JimBob SquarePants

    You mean the vertical space between the two left hand coloured divs? How tall should it be? I might be able to have a crack once I get home from work. You're right, it's a mess just now but flexbox is most definitely on it's way which shall give us much greater power and flexibility. I built a grid system as an experiment using it the other day that worked in all the major modern browsers. It's amazing quite how fast the landscape is moving just now. Such a shame though that it's taken up until recently for change to be enacted.

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge css help javascript php

  • A Margin for Error - in CSS
    J JimBob SquarePants

    Hi Danny, Ah right, I missed that it was supposed to resize vertically. Setting a max-height:100%; on the body will fix that. Updated Demo: http://jsfiddle.net/nLmBy/4/[^] The fullscreen demo doesn't work as jsfiddle insists on fixing the height on the parent iframe. You can see the effect though by resizing the pane in the working version. Yeah... You'd think it should be easy enough but as far as I can figure (and reading that spec is a challenge) some of the values reset to 0 in certain circumstances under absolute positioning. The box model has historically been a mess for browser interpretation anyway. I do see where you are coming from with regards to the KISS approach and if you can ensure that your JavaScript is cross browser compatible then go for it. I prefer not to spend my time testing that though, especially if thousands of developers have already tested something like jQuery for oddities in Ajax requests etc. Anyhoo, I hope you're making good progress. :)

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge css help javascript php

  • A Margin for Error - in CSS
    J JimBob SquarePants

    Actually what is means by horizontal flow is describing a situation when dealing with elements that are taken out of the natural vertical flow having been given the display value inline, absolute position, or are floated. They do not have a block height so margin-top and margin-bottom is not easily calculable. Your issues are brought about because you have no calculated height to work from since there are no vertically flowing elements on the page. I'm actually having trouble finding a reason why you are using absolute position for rendering a layout like this. The guttering can be defined using a transparent border and the only thing I have found is that you have a specific gap set between the top-left and bottom-left panes so I would use absolute position for that if required (You could also use a spacer div). I've knocked up a quick demo of how I would go about rendering your layout. Demo http://jsfiddle.net/nLmBy/2/[^] Fullscreen http://jsfiddle.net/nLmBy/2/embedded/result/[^] I was able to test it in Chrome, Firefox and IE9/IE10 It should work for IE8 and IE7 once you add a html5 shiv since they wont render your nav. You may need to tweak it though. There are a few html changes but one is correcting your nav layout and the other is a div just acting as a wrapper. On your note of monolithic libraries, I actually believe that you are incorrect in your premise. The latest jQuery libraries minified and gzipped are only around 30kb in size. A single image would be bigger and you would have normalized countless cross browser issues by including it. If you are insistent on rolling your own code though at least follow best practise and use event handlers rather than peppering your html with inline JavaScript. Continuing the way you have will present a maintenance nightmare. Anyway I hope this helps and clears things up a bit :)

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge css help javascript php

  • I'm still angry with Microsoft.
    J JimBob SquarePants

    Wow! Do you even code for the web? Any web application is accessible from a connected device, even on a Mac (Mind blown!) I could boilerplate something that replicated your grids functionality in a matter of hours and be assured that it would not only work both cross-browser but cross-device from mobile to tablet to desktop. "[A] dozen different languages and technologies"... Um no... Three. Three languages; HTML, CSS, and JavaScript. None of which are that difficult and there are plenty of wonderful things like jQuery and Normalise.css to help you smooth out any compatibility issues. If this is too much for you then I suggest you find yourself an alternative career. I hate to break it to you but Silverlight is not the language of the web. It never was and never will be. If it was you might have an argument but it's not. The three aforementioned languages are and they are never going away. Oh and vision, How about the new pointer events specification? https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html[^] that do? I suggest you pick up your toys, put on your grown up trousers and accept that you are going to have to join the rest of the world. Or you can keep stacking cans in your bunker, up to you.

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge html css data-structures learning workspace

  • Got my new computer today w/Windows 8
    J JimBob SquarePants

    My pleasure :)

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com design linux

  • Got my new computer today w/Windows 8
    J JimBob SquarePants

    This is really useful to get started with. http://www.hanselman.com/blog/TheMissingWindows8InstructionalVideo.aspx[^]

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com design linux

  • I would have to say...
    J JimBob SquarePants

    A lot of you guys sound really old just now. A few of the comments could be summed up with "I don't like change". VS2012 Is a major step forward in performance alone. Have you read the blog? There were some brilliant articles there explaining the work they did to reduce the memory footprint. http://blogs.msdn.com/b/visualstudio/[^] Loading the toolbox for example is waaay faster in VS2012. Templating, Nuget, first-class support for JavaScript and CSS, better edmx designer, intellisense and intellitracing improvements, extension management, the list goes on... All great features. There's even Git integration coming soon. As far as the IDE theme goes, I switched it to the dark theme and my eyes have thanked me since. It's far easier on the peepers than any prior version.

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge visual-studio php com performance

  • Missed a bit....
    J JimBob SquarePants

    https://www.codeproject.com/script/membership/logon.aspx[^] You have to be logged out to see this.

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com tools

  • Look what I did on my summer break
    J JimBob SquarePants

    First thoughts: It's definitely a step in the right direction. Code Project need a complete refresh aesthetically. The actual html source code could do with a tidy also ;P . Second, Third and fourth thoughts.... I needs a whole lot of love for this to be successful. Metro is more about typography and consistency than anything else and this is missing. Here's a list of things I would look into. Please feel free to ignore me though. In no particular order: 1. Line height and font size - Define it once and let everything inherit from that. 2. Headers - Font-weight, cascading size 3. Forms - The login page for example is a bit of a mess. Define consistent form layouts and input size, behaviour etc, define button types for each action type (red means warning to me). 4. Colouring. Find a complementary range and stick within it. Make sure call to actions stand out with contrasting colours. There's more but I don't want to drag on. Have a look at http://www.codeplex.com/[^] where they have just recently done a refresh. It's a bit bland but it's neat and everything seems to be in the right place.

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge c++ architecture discussion

  • Does twitter Bootstrap really helps?
    J JimBob SquarePants

    The latter, If anyone other than Twitter had launched it then it would have been largely ignored. I had a look through the source code for a few of the JavaScript plugins and I was really disappointed with the approach taken. The main developer obviously didn't consider that open source code should be easily read, instead it's a shining example of how not to do it. ASI, complier tricks, braceless if statements..... embarrassing.

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge css question

  • A Favor, Please, From Any CSS Gurus Out There
    J JimBob SquarePants

    Hi there, The problem wasn't with the menu. It was actually with the content block. Removing the position:relative property from that solved the issue. I had a closer look at the page and created a slightly tweaked copy that I've posted online for you. That fixes the menu problem as well as the moving logo problem. (That had to have been a bug right?) I also introduced a new .clearfloat class which is added to any parent elements surrounding floating elements and correctly clears them. There has been a lot of changes to the way css is used in the last few years and a lot of very clever and hard working people are doing the research and writing the code to make our lives as developers easier. I highly recommend looking up the following http://html5boilerplate.com[^] project. That is the culmination of hundreds of hours combined work by a whole community of experts and really saves you some effort. Most of the stuff you won't need but I would certainly check out their normalise and helper css code as they are simply awesome. Check out this too http://csslint.net/[^]. It'll gently chide you and point you in the direction of best practise css. On that note I would highly recommend looking up the concept of object orientated css. There are a lot of blogs out there that talk about it. This woman here http://www.stubbornella.org/content/[^] Is one of the foremost speakers on the subject. Don't believe it when you read she invented the concept though. I was certainly experimenting with it well before she made it popular. I don't have a shiny blog though. I would certainly look into html5 too http://html5doctor.com/[^]. These guys here are really good. The markup you produce is cleaner, more semantically driven and can be supported for the most part using Modernizr http://www.modernizr.com/[^] to shiv in support for the new elements in ie8 and below. Hopefully this will be enough to get you ri

    Web Development csharp html css database announcement

  • A Favor, Please, From Any CSS Gurus Out There
    J JimBob SquarePants

    This should get you started http://jsfiddle.net/N7aB6/[^] The whole thing is css driven rather than javascript as I always think that is wiser. You'll notice the font is different but that is just because your menu will be inheriting the font style from the page. I've simplified the css a lot compared to the original code but there's a chance I might have missed something as I've only spent about 5 minutes in all working on it. The premise is pretty simple. hide the child ul elements using display:none and show them on the li:hover pseudo selector. Hopefully this is enough to get you started. Oh and stay away from dreamweaver. It's yucky. X|

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    Web Development csharp html css database announcement

  • DotNetMuck
    J JimBob SquarePants

    I have to agree. At work we've unfortunately had to dig around it for months now. Most of what we have done when communicating with it has been pure guesswork. And as far as trying to optimize the junk html that gets thrown onto the page. Don't get me started!

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge csharp com xml json question

  • DotNetMuck
    J JimBob SquarePants

    I got an email in my in-box pointing me to a blog telling me all about how the next version of DotNetNuke was going to be in c# so I thought I'd download the source and see if by some minor miracle they had decided to adopt coding standards only to be disappointed. To let my thoughts be known to DNN I posted a comment on the blog of Joe Brinkman who seems to be up to his neck in it here... http://blog.theaccidentalgeek.com/post/2011/03/17/DotNetNuke-e2809cHadrone2809d-600-Community-Technology-Preview.aspx[^] My comment: (can't remember exactly word for word what I wrote but it was very similar to this.) "I've just downloaded the source code and I have to say I'm disappointed. Not an xml comment in sight! We as developers expect more, much more from a product that claims to be the best. You have to adopt a much higher coding standard if you are to remain at the top. How can you reasonable expect developers to work with the api?" Reasonable enough eh? Funny enough,...One hour later. The comment was deleted. Are they really that out of touch with the development world that they think this kind of behaviour is acceptable?

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge csharp com xml json question

  • Here's one for you.....
    J JimBob SquarePants

    My faith in humanity is somewhat restored. Thank you all

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com beta-testing

  • Here's one for you.....
    J JimBob SquarePants

    5 :-D

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com beta-testing

  • Here's one for you.....
    J JimBob SquarePants

    The QA forum. Now that's a joke. Check out these two beauties in the Asp forum http://www.codeproject.com/Questions/90919/RAM-not-showing-full-capacity.aspx[^] http://www.codeproject.com/Questions/90921/Hard-disk-having-free-space.aspx[^] What they have to do with Asp I don't know..... Oh and check out the fourth answer on the first link and the fist answer on the second link. Looks like someone is trawling the forums looking to accumulate points. :mad:

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com beta-testing

  • Try this... (A little rude)
    J JimBob SquarePants

    Have my five!

    JimBob SquarePants ******************************************************************* "He took everything personally, including our royalties!" David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager *******************************************************************

    The Lounge com question career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups