Click Here!
Results 1 to 8 of 8
Like Tree1Likes
  • 1 Post By Trapper9

Thread: The Web Designer and App Delelopers Thread

  1. #1
    Everybody relax, I'm here KingThomas's Avatar




    Join Date
    Feb 2004
    Posts
    1,547
    Liked
    672 times
    Karma
    1083004
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    85 Post(s)

    Post The Web Designer and App Delelopers Thread

    Hey, a thread for the tech geeks and coders!

    I'm a full time student of web design and application development, close enough to graduation, but expert by no means. (is anyone in this field? 18-24 month half life on new technology?)

    Any droid developers?
    VB, C#, Ruby, PHP gurus?
    Actionscript fun?
    Design pros?

    With the emergence of HTML5 and CSS3 around the corner, I figured I would propose a thread dedicated to the new W3C standards arising to help understand new design practices.

    Also to provide a place for developers to ask questions about any type of code, or to share code! (I might have some difficult javascript to write for a final coming up!)


    Remember, when posting code on the board use the BBcode code tags:
    Code:
    {place code example here}
    I just downloaded Firefox4 beta for a test drive on some projects I've worked on.



    Has anybody tried the new Firefox4 beta?

    So far so good in my opinion. CSS is rendering OK. No flash crashes. All Javascript seems to be executing fine.

    Firebug, and a few other add-ons are not compatible yet, but I'm sure that will be done by the final release.

    The tabs and menu items look good, clean style like Chrome and Opera, or maybe even better?

    Anyone experience any hiccups?




    Oh yeah, check out the new HTML5 and CSS3 logos from the W3C released o couple of weeks ago -




    More geeky code and design talk to come!

  2. #2
    Everybody relax, I'm here KingThomas's Avatar




    Join Date
    Feb 2004
    Posts
    1,547
    Liked
    672 times
    Karma
    1083004
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    85 Post(s)

    Default

    OK, here's my first question for anyone who knows javascript:

    I have a simple javascript exercise i completed for class and got full credit for, but I am not happy with the result.

    I have a simple script that calculates a users input or "price", and adds S&H with set parameters. How do I get the window alert to display a currency format? ie: two decimal places. right now it only displays one if the other is not needed.

    I'm almost positive I can use a
    Code:
    .topercision(2)
    somewhere?

    Here's the script:
    Code:
    
    <script type="text/javascript"> 
    
    function calcShipping(purchasePrice){         
    
    if (purchasePrice <= 25)window.alert("Your total with S&H is $" +[parseFloat(purchasePrice)+1.50]);         
    
    else window.alert("Your total with S&H is $" +[parseFloat(purchasePrice)+parseFloat(purchasePrice)*10/100]);
    } 
    </script>
    Here's the form:
    Code:
    <form name="shippingForm" action="">         
    <input type="text" name="purchasePrice" />         
    <input type="button" value="Total with S&H" onclick="calcShipping(document.shippingForm.purchasePrice.value);" />     
    </form>
    Any advice?

  3. #3
    Stanley Cup Champions !! Trapper9's Avatar




    Join Date
    Aug 2002
    Posts
    1,878
    Liked
    360 times
    Karma
    1005000
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    66 Post(s)

    Default

    Girls!
    SirJW likes this.

  4. #4
    Problem Philly? CardiacKid56's Avatar




    Join Date
    Dec 2008
    Posts
    4,724
    Liked
    669 times
    Karma
    1000000
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)

    Default

    Just started my Computer Science degree. I have no idea about your question KingThomas, sorry.

  5. #5
    Everybody relax, I'm here KingThomas's Avatar




    Join Date
    Feb 2004
    Posts
    1,547
    Liked
    672 times
    Karma
    1083004
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    85 Post(s)

    Default

    Quote Originally Posted by CardiacKid56 View Post
    Just started my Computer Science degree. I have no idea about your question KingThomas, sorry.
    That's alright! I'm sure I'll figure it out. Good luck with the major!
    I'm pretty good with HTML, CSS, and some tricks with Adobe CS5. If you ever have any related questions, maybe I can help!

  6. #6
    Super Sexy Birdman's Avatar




    Join Date
    Feb 2003
    Posts
    14,712
    Liked
    3205 times
    Karma
    400030000
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    488 Post(s)

    Default

    The JavaScript Source: Forms: Currency Format

    When it doubt, ask google.

    Oh, and BTW, from my perspective, Javascript is ass.
    at the draft party a couple of years ago, and under a considerable haze, i heard Birdman yell out the following (about 4 or 5 times, i think) - "don't marry yourselves to players!" he went on to reiterate that idea more than once on the boards, and i believe it to be absolutely sage.

    ---gescom

  7. #7
    Everybody relax, I'm here KingThomas's Avatar




    Join Date
    Feb 2004
    Posts
    1,547
    Liked
    672 times
    Karma
    1083004
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    85 Post(s)

    Thumbs up

    Quote Originally Posted by Birdman View Post
    The JavaScript Source: Forms: Currency Format

    When it doubt, ask google.

    Oh, and BTW, from my perspective, Javascript is ass.
    Hey, whattaya know. I took ideas from that code and made a currency formatted dialog! Thanks.

    I agree, Javascript is so limiting, but it's needed for my degree.

    This is why I'm so interested in what HTML5 is all about. Browser indexed databases? Could make client side scripting a little more interesting.

    I mainly develop LAMP set ups. A lot of open source Joomla, PHPBB, Coppermine type stuff. You know, themeing, modding, and hacking for clients.

  8. #8
    Super Sexy Birdman's Avatar




    Join Date
    Feb 2003
    Posts
    14,712
    Liked
    3205 times
    Karma
    400030000
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    488 Post(s)

    Default

    Quote Originally Posted by KingThomas View Post

    This is why I'm so interested in what HTML5 is all about. Browser indexed databases? Could make client side scripting a little more interesting.
    Sigh. That's got so much potential for fail in my mind.

    PHP doesn't suck, so I'd suggest you add that to your world if you can.

    I mainly develop LAMP set ups. A lot of open source Joomla, PHPBB, Coppermine type stuff. You know, themeing, modding, and hacking for clients.
    Joomla seems to be ownable way more than it needs to be.

    And always try and build your apps to be as close to infinitely scalable as you can.
    at the draft party a couple of years ago, and under a considerable haze, i heard Birdman yell out the following (about 4 or 5 times, i think) - "don't marry yourselves to players!" he went on to reiterate that idea more than once on the boards, and i believe it to be absolutely sage.

    ---gescom

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28