www.webdeveloper.com

Search:

Type: Posts; User: LutinFou

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    655

    Hi, window.event is IE specific. Firefox will...

    Hi,

    window.event is IE specific. Firefox will use the following syntax evt.keyCode.

    You could adapt your code by testingfr this, ie. at the very start of your function write
    if(!evt){
    var...
  2. Replies
    2
    Views
    738

    try using the toFixed(2) method best regards LF

    try using the toFixed(2) method
    best regards
    LF
  3. Replies
    4
    Views
    629

    You're welcome, glad to be of help

    You're welcome, glad to be of help
  4. Replies
    4
    Views
    629

    Is this what you are looking for (I have just...

    Is this what you are looking for (I have just made some modifications to your code)
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    ...
  5. Replies
    1
    Views
    582

    Hi, background-repeat: repeat-y; will make...

    Hi,

    background-repeat: repeat-y;

    will make the background image repeat only vertically if that is what you are trying to do

    best regards
    LF
  6. Replies
    7
    Views
    2,330

    Hi, Problem might be down to you not using a...

    Hi,

    Problem might be down to you not using a "From" (most servers require the presence of a From parameter in the mail() function in order for it to work properly)

    here is an example of a very...
  7. Hi! using the command prompt, you might access...

    Hi!

    using the command prompt, you might access it using something like the following

    C:\xampp\mysql\bin\mysql -u username -h hostname -p

    at this point hit return, and you will be prompted...
  8. Replies
    1
    Views
    594

    Hi! what browser are you running it in...

    Hi!
    what browser are you running it in (window.event.srcElement.id is IE specific)

    evt.target.id works in other browsers (i.e. W3 compliant browsers)

    I used the following code in a drag and...
  9. Hi, I'm no expert but for the code you have...

    Hi,
    I'm no expert but for the code you have supplied, it looks like you are not running your query. Before you count your rows you will need to run the query :
    $r=mysql_query($queryvoid);
    ...
  10. Replies
    1
    Views
    6,095

    Hi, try usng the innerHTML property first...

    Hi, try usng the innerHTML property

    first create your output div in the body (i.e. <div id="output"> Leave blank here </div>

    Then in your function get create a variable that accesses the...
  11. Replies
    6
    Views
    1,164

    Hi, you will need to "submit" the information...

    Hi,

    you will need to "submit" the information (i.e. using <input type="submit" etc.../> button) and then in the form tag use an onsubmit event handler to run the validation functions.

    Hope this...
  12. I have just run your code replacing console.log...

    I have just run your code replacing console.log with document.write to display the results on the screen and your code works fine for me. (i.e. it displays the reults of each individual roll and the...
  13. Replies
    5
    Views
    746

    When I have had IE CSS problems in the past, I...

    When I have had IE CSS problems in the past, I have used conditional comments to set specific style rules for IE
  14. Replies
    6
    Views
    1,284

    Hi try clear: both on the image. eg: img{...

    Hi


    try clear: both on the image. eg:

    img{
    float: left;
    clear: both;
    margin-left: auto;
    margin-right: auto;
  15. Replies
    4
    Views
    679

    Thank you so much. This has cleared it up for me....

    Thank you so much. This has cleared it up for me. Thanks agian!
    LF
  16. Replies
    4
    Views
    679

    Hi! Thanks your you help. full script is as...

    Hi! Thanks your you help. full script is as follows:
    <html>
    <head>
    <title>RegExp</title>
    <script language="JavaScript">
    var myTel=document.getElementById("txtTel");
    myTel=myTel.value;

    ...
  17. Replies
    3
    Views
    1,143

    Have you tried using the innerHTML property to...

    Have you tried using the innerHTML property to display your output in the <div>?

    i.e rather than <div>$<script>document.write(mytext); </script> </div> just use a <div> with an id (<div...
  18. Replies
    4
    Views
    679

    JavaScript variable scope

    Hi!
    Ok this may be a bit basic, but I am trying to understand variable scope.

    if I declare a variable outside of a function, it will have global scope. The variable should then be available...
  19. Replies
    2
    Views
    1,022

    Thanks that is a great help. best regards LF

    Thanks that is a great help.

    best regards

    LF
  20. Replies
    2
    Views
    1,022

    PHP + text positioning

    Hi,

    I am in the process of learning PHP and would like help with the following:

    I have a contact form. If the user enters an invalid e-mail address, I have used a filter to display a message (a...
  21. Replies
    2
    Views
    2,756

    Thanks for your help. This has worked. Thanks...

    Thanks for your help. This has worked.
    Thanks again!
    LF
  22. Replies
    2
    Views
    2,756

    Javascript link + run function on page load

    Hi,

    I have a page ("treatments.htm") which calls calls various functions when buttons are pressed.
    For instance, when the page loads, using the innerHTML property the funtion "treatmentsIntro()"...
  23. Replies
    6
    Views
    1,865

    Now works like a dream, Thank you, thank you...

    Now works like a dream,

    Thank you, thank you thank you!
  24. Replies
    6
    Views
    1,865

    Hi! I set the cookie as follows:

    Hi!

    I set the cookie as follows:
    <input type="button"value="Get Cookie"onClick="setCookie('ClientUserName',this.form.txtFirstName.value,'','')"/>
    in the target page i call the cookies with:
    ...
  25. Replies
    6
    Views
    1,865

    Hi Logic Ali, I have tried what you suggest,...

    Hi Logic Ali,

    I have tried what you suggest, but still cannot get it to work. Here is the script:
    function setCookie(cName,cValue,cPath,cExpires){
    cValue=escape(cValue);
    if(cExpires==""){...
Results 1 to 25 of 36
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles