Search results

  1. kbjradmin

    Changing Web Banner for Different Pages of a Site?

    <!--At The Top of the Page--> <?php if ( ! $_REQUEST['p'] ) { $img = 'banner.png'; } else { $img = $_REQUEST['p'].'.png'; } ?> <!--Your Banner--> <img src="<?php echo $img; ?>" id="banner" /> <!--Your Tabs--> <a href="#"...
  2. kbjradmin

    JavaScript strip tabs function

    ok, so i wrote a function to find all 'pre' tags with the class name 'code' and strip out the first n number of tabs from each line, then put the new text back in the 'pre' tag. function untabCodePres(tabs) { if ( ! tabs ) { var tabs = 5; } var codeBlocks =...
  3. kbjradmin

    Mac or PC

    i like linux, but i am definitely a windows person.
  4. kbjradmin

    Is Safari better then all other browsers?

    firefox is the best and nothing else matters.
  5. kbjradmin

    CSS Layout Not Fluid

    @xav0989, i tried adding padding, but it still has a problem. the center div is overhanging the top and bottom divs, creating this odd white outline.
  6. kbjradmin

    CSS Layout Not Fluid

    ok, i've changed it so that it uses margins for the content div, but now it's giving me a different problem. it won't stay inside the center area, it keeps expanding beyond its given area.
  7. kbjradmin

    CSS Layout Not Fluid

    it looks fine because i gave the content div a min-height. if that is removed, or if more content is added, i want the container to expand with the content.
  8. kbjradmin

    what is your favourite online game?

    mostly i just play flash games, my favorite of which is Minions
  9. kbjradmin

    CSS Layout Not Fluid

    here's a link to the page. http://www.kbjrweb.com/template1/
  10. kbjradmin

    CSS Layout Not Fluid

    ok, so i made this layout in css, and from what i can tell, it should be fluid, but its not. i don't understand why the whole page won't expand with the main content. here is the code: index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">...
  11. kbjradmin

    JavaScript Form Validation

    alright, so i decided to start over on the main address validation seeing as people had brought out some good points, and it turns out that there are a LOT of different street suffixes (st, ave, lane, blvd, etc.). so, in case anyone ever needs this other than me, i put together an array of...
  12. kbjradmin

    JavaScript Form Validation

    @freecrm, thank you for the link, i will probably use that on future site, but for the moment, i would really like to get this to work.
  13. kbjradmin

    JavaScript Form Validation

    first, thank you both of you for your replies. @fguy64, i already changed the code displayed to show the changes. @pythondev, the city/state/zip-code part works now, thanks for finding that. i didn't even think about the possibility of letters in the street address, i can change that, but even...
  14. kbjradmin

    JavaScript Form Validation

    i am working on a site for my web developement class and am having some trouble with validating the contents of a form. the page i'm having trouble on is at http://cs.clark.edu/~jbrum4030/ctec122/final/order.htm (before anyone says anything, no, none of this works in IE, but the instructor...
  15. kbjradmin

    PHP Directory Listing Script

    i have this script that lists the files in a current directory as well as a directory structure of all the directories under a certain level. the first level of directories works fine, but below that it has problems. the page this is on is at http://cs.clark.edu/~jbrum4030/ctec122/directory.php...
  16. kbjradmin

    Countdown on an image

    http://www.dynamicdrive.com/dynamicindex6/universalcountdown.htm
  17. kbjradmin

    C# Console Application

    thank you, misson, Console.SetCursorPosition() worked perfectly. i would have given rep, but i've already given you some recently, so it won't let me.
  18. kbjradmin

    JavaScript Issue - Please Help

    why can't you just use a submit type input instead of a button type input?
Top