dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Vince616

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Hi bud You may think that a carriage return...

    Hi bud

    You may think that a carriage return (hitting the enter button) is just one character but in windows it is actually a carriage return and line feed (\r\n) it is a throwback to typewriters...
  2. Replies
    4
    Views
    710

    The easiest way to keep calling your code is to...

    The easiest way to keep calling your code is to make it into a function


    <html>
    <head>
    <script type="text/javascript">
    function rockPaperSisors(){
    var userChoice = prompt("Do you...
  3. Replies
    4
    Views
    710

    Hi maniacbridge You have an extra colon that...

    Hi maniacbridge

    You have an extra colon that is causing your problems



    if (choice1 === choice2);

    should be
  4. You have made the last image in the row visible...

    You have made the last image in the row visible but you didnt set your "cur_lyr_roll" to the correct value

    The line:


    var cur_lyr_roll = "lyr0";

    Should be:
  5. Hi ruks12, Perhaps I should have posted all...

    Hi ruks12,

    Perhaps I should have posted all the page which I have done here, it works fine for me here.


    <head>
    <style type="text/css">
    .cont{
    position : relative;
    ...
  6. This should cure your problem

    This should cure your problem



    <script type="text/javascript">
    var cid="mDr";
    function changeImage(id,img){
    document.getElementById(id).src=img;
    ...
  7. This should give you the effect you want ...

    This should give you the effect you want


    <head>
    <style type="text/css">
    .cont{
    position : relative;
    width : 900px;
    height : 302px;
    }
  8. Replies
    1
    Views
    870

    Hi bud The regex for ten digits in a row is: ...

    Hi bud
    The regex for ten digits in a row is:


    /^[0-9]{10}$/
  9. Hi Ruksana, I noticed it wasn’t displaying...

    Hi Ruksana,
    I noticed it wasn’t displaying properly in firefox so had to tweak it a little, sorry about that I should have checked it before I posted the code, anyways here is a modified version...
  10. Here is an example of the approach I mentioned ...

    Here is an example of the approach I mentioned


    <html>
    <head>
    <style type="text/css">
    .colourDoor{
    position : absolute;
    top : 103px;
    left :...
  11. You could use an image map to get the desired...

    You could use an image map to get the desired effect you want but you would need to put the image in your page rather than setting it at the background of an element



    With your current...
  12. Replies
    13
    Views
    5,651

    Hi rnd me, As I mentioned before I will refrain...

    Hi rnd me,
    As I mentioned before I will refrain from refuting your arguments, as I have neither the time, nor the desire to upset you.

    Let us agree to disagree and leave it at that.
  13. Replies
    13
    Views
    5,651

    I see your point, but, lets say you append the...

    I see your point, but, lets say you append the querystring of some forum page with something like “&sh=464” to give you the value of the scroll height, if you want to retrieve that value client side...
  14. Replies
    13
    Views
    5,651

    I am terribly sorry that I have managed to...

    I am terribly sorry that I have managed to offended you rnd me, that was not my intention, I just saw holes in your argument and thought that it was worth replying to them in a logical and systematic...
  15. Hi bud You might want to try a different...

    Hi bud
    You might want to try a different approach


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ...
  16. Replies
    13
    Views
    5,651

    View Post

    Hi rnd me
    Sorry bud, but I just donít buy it


    That seems like a really bad idea, bundling scripts and letting them sort it out with the querystring, that sounds like a recipe for disaster to me,...
  17. Replies
    13
    Views
    5,651

    That is interesting Julien, I didn’t know that ...

    That is interesting Julien, I didn’t know that

    One thing that confuses me with these kind of requests regarding getting the name value pairs out of a querystring client side, is that presumably...
  18. Replies
    13
    Views
    5,651

    Hi bud It is fairly easy to get the...

    Hi bud

    It is fairly easy to get the querystring by just using javascript, if you could expand on why you need to do this it might help us give you a more relevant answer.

    This script will...
  19. Replies
    2
    Views
    2,550

    Hi bud Wile boolean values like true and...

    Hi bud

    Wile boolean values like true and false don’t need to be wrapped in quotes string values like “normal” and “#ffffff” do, one thing to note here is that the hex value for black is “#000000”...
  20. Replies
    4
    Views
    1,585

    Hi bud You had three errors in your code you...

    Hi bud

    You had three errors in your code you had missed the closing parentheses on your function hasReadTerms, but I am guessing that that was just a copying error when you were copying the...
  21. Hi bud If your browser window is zoomed in...

    Hi bud

    If your browser window is zoomed in then it will give you a different screen size, my guess is that you have your browser zoom set at 150%

    V
  22. Replies
    8
    Views
    1,917

    Hi bud Here is a little example of how to use...

    Hi bud

    Here is a little example of how to use an elements innerHTML attribute to send data to the screen



    <html>
    <head>
    <script type="text/javascript">
    function...
  23. Replies
    8
    Views
    1,917

    Hi bud You have two errors in your bit of...

    Hi bud

    You have two errors in your bit of code, you have missed out the brackets when you declared your function music.
    The line:


    function music{

    Should be:
  24. Replies
    2
    Views
    1,240

    Hi bud Your script is working fine, just...

    Hi bud

    Your script is working fine, just because you can’t see it doesn’t mean that it isn’t there.


    <script type="text/javascript">

    var head = document.getElementsByTagName('head')[0]; ...
  25. Replies
    3
    Views
    3,067

    Hi bud There is a problem with your if else...

    Hi bud

    There is a problem with your if else statement, primarily you can have only one “else” and has no conditional statement, that said you can use an “else if” which will take a conditional...
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles