Jump to content

nogray

Members
  • Posts

    930
  • Joined

  • Last visited

Posts posted by nogray

  1. flash file is a blug in file which means it'll always render on top of any html elements (same as the select menu in IE 6 and lower)

    What you can do is to put the flash file into a div and hide it when the menu is visiable.
  2. The error happens because you are calling the script in the setTimeout instead of using a string type.

    All you need is to change your setTimeout like this
    [code]
    setTimeout("changediv(imagearray, textarray, "+i+")", 2000);
    [/code]
  3. You inner div (<div style='position: relative; top: 0; left: 0; z-index: 2;'>) takes the same opacity info from the faded div(<div style='position: relative; top: 0; left: 0; width: 437px; height: 319px; background: #999999; filter: alpha(opacity=20); -moz-opacity: .20; z-index: 1;'>)

    Try to set the opacity of the inner div to 100%, if that doesn't work try to move it outside the faded div.
  4. I don't see any style for the button in the code you posted, but IE will hide the border if the inside content is a tiny bigger than the actuall container.

    You can fix it by removing the height of the button and just setting the padding-top and padding-bottom.

    Also, you need to clear the floated layers before the button
    [code]
    .clear_div {font-size:1px;
         overflow:hidden;
         clear:both;}
    [/code]
    [code]
    </div>
    <div class="clear_div">&nbsp;</div>
    <input type="submit" value="Save Changes" class="button" />
    [/code]
    This should fix the firefox issue
  5. I am not really sure what do you mean by printing the value, but you can access the iframe document object using this code
    [code]
    <html>
    <script>
    var page2_doc = "";
    function assign_page2(){
         page2_doc = document.getElementById('page2').contentWindow.document;
    }
    </head>
    <body onload="assign_page2();">
    <iframe id="page2" name="page2" src="page2.html"></iframe>
    </body>
    </html>
    [/code]

    you can access any object in the page 2 using the page2_doc

    P.S. Both pages must be in the same domain
  6. It's sending blank email because your mailing script is not on the action page (the upload handler page)

    Just cut this code
    [code]
    $to = 'sold@photocardsandcalendars.com';
    $subject = 'Calendar Sold';
    $name = $_POST['BillingName'] . "\r\n" . $_POST['BillingCompany'] . "\r\n" . $_POST['BillingAddr1'] . "\r\n" . $_POST['BillingAddr2'] . "\r\n" . $_POST['BillingCity'] . "\r\n" . $_POST['BillingState'] . "\r\n" . $_POST['BillingZip'] . "\r\n" . $_POST['BillingPhone1'] . "\r\n" . $_POST['BillingPhone2'] . "\r\n" . $_POST['BillingEmail'];
    $message = $name;
    $headers = 'From: sales@photocardsandcalendars.com' . "\r\n";

    mail($to, $subject, $message, $headers);
    [/code]

    into the upload hander
  7. I don't see this anywhere in the file?
    [code]
    <?php
    $to = 'myemail@email.com';
    $subject = 'Subject';
    $name = $_POST['Field1'] . "\r\n" . $_POST['Field2'] . "\r\n" . $_POST['Field3'] . "\r\n" . $_POST['Field4'] . "\r\n" . $_POST['Field5'] . "\r\n" . $_POST['Field6'] . "\r\n" . $_POST['Field7'] . "\r\n" . $_POST['Field8'] . "\r\n" . $_POST['Field10'] . "\r\n" . $_POST['Field11'];
    $message = $name;
    $headers = 'From: email@email.com' . "\r\n";

    mail($to, $subject, $message, $headers);
    ?>
    [/code]
  8. You'll need to set the markfield and the id as arrays like this
    [code]
    Mike
    <input type="text" name="markfield[]" />
    <input type="hidden" name="students[]" value="111" />
    [/code]

    In your php, you'll run through the markfield array and set the insert query
    [code]
    $markfield_arr = $_POST['markfield'];
    $students_arr = $POST['students'];

    $query = "insert into `Marks` (`Student_ID`, `Mark`) values ";

    for ($i=0; $i<count($markfield_arr); $i++){
         $query .= "('".$students_arr[i]."', '".$markfield_arr[i]."'), ";
    }

    $query = trim($query, ", ");

    $result = mysql_query($query);
    [/code]
  9. If your <link rel="stylesheet" type="text/css" href="includes/styles.css" /> in the head section of the HTML and the file name styles.css (no styles.php or anything else), it should work fine.

    If you have this live somewhere, I can check it out for you.
  10. You are using width="100%" in the table, this will take the entire width of the screen in IE if the parent elements don't have a width set up.

    you can try to add the _width:80% or something like that (including the _) so only IE will read it.

    P.S. put the _width:##% after the width:##%
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.