www.webdeveloper.com

Search:

Type: Posts; User: Alzheimers

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    624

    Try generating an ICS file:...

    Try generating an ICS file: http://www.psyked.co.uk/icalendar/creating-outlook-calendar-events-through-http-links.htm
  2. You've initialized the variable nCaption, but...

    You've initialized the variable nCaption, but it's never used. Try something along the lines of:



    for (i=0; i<nGallery.length; i++)
    {
    nGallery[i].onclick = function()
    {
    ...
  3. There's a problem with your conditional...

    There's a problem with your conditional statements previous to the div.



    <!--[if gte IE 5.5]>
    <![if lt IE 7]>
    <style type="text/css">

    .galleryContainer {position: absolute;
    ...
  4. I don't believe attachEvent has three parameters....

    I don't believe attachEvent has three parameters. Try changing the last line to:



    IE ? attachEvent('onload', init) : addEventListener('load', init, false);
  5. Replies
    4
    Views
    1,505

    Firefox is giving the following error when I try...

    Firefox is giving the following error when I try to change the client:

    Error: invalid flag after regular expression
    Source File: http://www.trainingevolved.com/projectmanagement/create_task.php...
  6. Replies
    10
    Views
    784

    If you really need to hide proprietary business...

    If you really need to hide proprietary business methods, put it in the pre-processor.

    Javascript, by it's nature, *has* to be available to the client. ASP/PHP does not.
  7. Replies
    2
    Views
    2,797

    After some more experimentation, I found that I...

    After some more experimentation, I found that I can get an onClick event in the body to simulate the onBlur effect as I wanted, by adding a setTimeout to the display code. With a bit of naming...
  8. When it comes to tables, MS's idea of "valid xml"...

    When it comes to tables, MS's idea of "valid xml" is different than Firefox/Chrome's.

    Add the <tbody> and </tbody> tags around the TRs and you should be fine.



    <script...
  9. Replies
    4
    Views
    1,352

    I'm happy to help, but this is straying into...

    I'm happy to help, but this is straying into ASP/ADO methods that aren't really relevant in a Javascript forum.

    A great resource for help with ADO can be found at W3Schools.com, or in the...
  10. Replies
    2
    Views
    2,797

    So perhaps the title is misleading -- The base of...

    So perhaps the title is misleading -- The base of it is that I'm looking for a way to simulate an OnBlur event for a block element. Any ideas?
  11. For a running total for all the sums, one quick...

    For a running total for all the sums, one quick and dirty fix would be to declare a global variable "TotalSum" and simply subtract the old value/add the new value on each fire of the function. You...
  12. Does that PHP even generate a table? Try...

    Does that PHP even generate a table?

    Try this:


    // row counter so that we can distinguish the fields
    $x = 0;

    foreach($_SESSION['cart'] as $p_id) {
    $result = mysql_query("SELECT...
  13. I believe the problem is that your...

    I believe the problem is that your "rolloverinit()" event targets all Anchor elements, not just the ones with IDs. Simply add a unique name to each anchor element of the image you want to roll over,...
  14. Replies
    3
    Views
    1,469

    I think it's IE specific...

    I think it's IE specific
  15. I think what you're looking for is the PHP...

    I think what you're looking for is the PHP equivalent of ASP's postback. You can fake it by submitting the page as a form (with itself as the action) and having PHP read the data from...
  16. Replies
    3
    Views
    5,912

    Something like this could be done rather easily...

    Something like this could be done rather easily by using the target attribute of your anchor tags.

    First, define your iframe with a descriptive name and an empty src (the text in the middle is for...
  17. Replies
    18
    Views
    1,451

    Not sure quite what the problem is yet, but the...

    Not sure quite what the problem is yet, but the order of precedence in your "telefoonvast" / "telefoonmobiel" check appears different then the logic you want:



    if...
  18. Replies
    9
    Views
    1,171

    This *can* be done with CSS and javascript, but...

    This *can* be done with CSS and javascript, but you're probably better off limiting results in the SQL statement directly. Depending on your environment, you should be able to use "SELECT TOP" or...
  19. Replies
    6
    Views
    890

    The most secure way to hide what kind of data is...

    The most secure way to hide what kind of data is in a form is to use the server to generate the webpage based on the login, using a preprocessor like PHP or ASP.NET. You set up a form linked to a...
  20. Replies
    4
    Views
    1,352

    I believe the problem is the SQL statement you're...

    I believe the problem is the SQL statement you're generating:



    var SQL = "insert into troupinf (xcoord,ycoord,zcoord,tropinfor,contry,datetoday,timetoday)...
  21. Replies
    5
    Views
    1,343

    Well, of course it's not going to work -- the...

    Well, of course it's not going to work -- the AJAX request isn't actually submitting the form, it's just using the fields. Try putting the alert/confirmation in the emailList function, before the...
  22. Replies
    3
    Views
    654

    If your form is really basic, you could do...

    If your form is really basic, you could do something similar with a custom Mailto: link:



    <html>
    <head>
    <script type='text/javascript'>
    function MailForm()
    {
    var sendto =...
  23. Replies
    5
    Views
    1,343

    Just a thought, perhaps move the confirmation...

    Just a thought, perhaps move the confirmation message to an alert dialog that's triggered in the form's onSubmit event? That will halt the form submit until the user clicks OK.

    example:

    ...
  24. In practice, I've found the easiest way to deal...

    In practice, I've found the easiest way to deal with checkboxes is to store the value of the checked elements as a comma deliminated string in a text field.

    Then when re-rendering the page, use...
  25. Replies
    2
    Views
    2,797

    Simulating a SELECT dropdown menu

    Considering the difficulty surrounding properly stylizing a dropdown box (not to mention having a consistent cross-platform appearance) I'm trying to simulate a dropdown menu using javascript and...
Results 1 to 25 of 25
HTML5 Development Center



Recent Articles