Advanced Search

Search:

Type: Posts; User: alexjewell; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,241

    I looked at it in IE9 and it looks good until a...

    I looked at it in IE9 and it looks good until a certain size, at which point the content drops. I do know it looks terrible in IE7 - the images seem pixelated, the bottom doesn't line up, there are...
  2. Replies
    3
    Views
    2,665

    Getting the first day of every month is easy: ...

    Getting the first day of every month is easy:



    $day = date('j');
    if($day == 1){
    // run script here
    }
  3. Replies
    2
    Views
    2,038

    You'll need to do 3 things: 1. Create new_table...

    You'll need to do 3 things:
    1. Create new_table from the unique values of old_table
    2. Delete old_table
    3. Rename new_table old_table

    The SQL would look something like:



    CREATE TABLE...
  4. Replies
    5
    Views
    4,055

    You're going to want to use AJAX: ...

    You're going to want to use AJAX:

    http://www.webresourcesdepot.com/16-free-ajax-contact-forms-for-a-better-user-experience/

    One of those will allow you to submit the form through javascript to...
  5. Replies
    2
    Views
    1,241

    IE - Weird Spacing

    I have a website I'm designing for a client. There's some funky stuff going on with spacing in IE if the browser window reaches 1024px wide or less (thereabouts) - the content drops down and I can't...
  6. Replies
    10
    Views
    4,429

    I've resolved the issue! It's always something...

    I've resolved the issue! It's always something small. In this case, it was a MySQL error. I forgot to close the parentheses for the VALUES(). Now the script is working like a charm. Thanks so much...
  7. Replies
    10
    Views
    4,429

    addImages is called in the for statement...

    addImages is called in the for statement immediately after the function:



    for($i=1;$i<=6;$i++){
    addImages('img'.$i);
    }


    There are 6 fields, so it calls the function 6 times for each...
  8. Replies
    10
    Views
    4,429

    Any suggestions, Dan?

    Any suggestions, Dan?
  9. Replies
    10
    Views
    4,429

    Not all of the 6 fields may be filled in. In the...

    Not all of the 6 fields may be filled in. In the example, only one of the 6 actually contained a file. If one of the fields doesn't have a file, does that somehow inhibit the images that do exist...
  10. Replies
    10
    Views
    4,429

    PHP Upload - Not Working, No Error.

    Hi,

    I have 6 upload fields to add images to a "project."

    The HTML for the form is as follows:


    <form method="post" action="cms_artwork.php?artwork_page=add_proj"...
  11. Turns out that a few lines of CSS were throwing...

    Turns out that a few lines of CSS were throwing off the script:



    #ifRoom, #ifComputer{
    display: none !important;}


    After commenting these out, it worked. Thanks very much for your help!
  12. Still isn't working. Here's my code: ...

    Still isn't working. Here's my code:




    function panicRoom(me){
    var ifRoom = document.getElementById('ifRoom');
    if(me.checked){
    ifRoom.style.display = 'block';
    }
  13. Replies
    1
    Views
    1,544

    I would suggest the slicing route. Imagemaps are...

    I would suggest the slicing route. Imagemaps are long gone.
  14. Replies
    1
    Views
    1,633

    The problem is that you're defining $query_string...

    The problem is that you're defining $query_string again inside of display_db_table(); and telling it to SELECT * (all). Because the first declaration of $query_string is mentioned outside of the...
  15. JavaScript Form Events: OnClick Not Working

    I have a form for a school's helpdesk submissions. Depending on changes (specifically, 3) in the form's data, events occur. The 3 main changes are:


    If a checkbox to specify a room is checked,...
  16. Replies
    2
    Views
    1,261

    Still isn't working: function...

    Still isn't working:



    function validEmail(fieldName){
    var validate = fieldName.value;
    if(validate == null || validate == ''){
    var apos = validate.indexOf("@");
    var dotpos =...
  17. Replies
    2
    Views
    1,261

    Form Validating - Return/Submit issue?

    I've written a validation script to validate forms before submission. One form is a subscription form (requiring only name and email), while the other is a full-fledged contact form. The script works...
  18. Replies
    1
    Views
    1,720

    Figured it out: $dir_handle =...

    Figured it out:



    $dir_handle = @opendir($path) or die("Unable to open folder");
    $num_imgs = 0;
    while (false !== ($file = readdir($dir_handle))) {
    if($file == ".")
    continue;
    if($file...
  19. Replies
    1
    Views
    1,720

    While Loop - New Row Every 5

    I'm running through images in a directory and outputting them into a table for display. I've attempted, rather wrongly, to echo '</tr><tr>' every 5 images, but the '</tr><tr>' shows up at the END of...
  20. Replies
    2
    Views
    2,585

    I ended up using some simple browser detection. I...

    I ended up using some simple browser detection. I found out that IE supports offsetHeight, so here is what I came up with:



    function rockBody(){
    var buddyH =...
  21. Replies
    2
    Views
    2,585

    JavaScript Div Resize - Not Working in IE

    For some reason, the following script is not working in IE8. You can view the context at http://www.alexjewell.com/clients/num12/index.php. Click on the Blog page and you'll notice how, since there's...
  22. Strange bottom border on linked images in IE

    At the bottom of my website, I have small icons linked to my social networking sites. For some reason, there's a black border-like styling being applied to them only in IE (I'm viewing it in 8 and...
  23. Works beautifully. Thank you!

    Works beautifully. Thank you!
  24. That script didn't work. Here's the page:...

    That script didn't work. Here's the page: http://alexjewell.com/beta/index.php?dance2the=contact. The script is http://alexjewell.com/beta/validation.js

    Also, in my original post, is a link to...
  25. [Prototype] Validating a form before sending it via Ajax

    I'm using the Prototype framework to send a form via Ajax, and I'm using a form validation script (http://tetlaw.id.au/view/javascript/really-easy-field-validation) to validate the form. Both work...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4