www.webdeveloper.com

Search:

Type: Posts; User: ZZY

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Syntax Error?

    by ZZY
    Replies
    3
    Views
    1,194

    Actually the problem was taht it was in an...

    Actually the problem was taht it was in an external js file but i realized there is an even bigger problem, There is more than one script trying to use onload. I am unable to make it into one...
  2. Thread: Syntax Error?

    by ZZY
    Replies
    3
    Views
    1,194

    Syntax Error?

    Dream Weaver and IE tell me there is an error in this line of code but i cant find it and it is the first line of js


    var currenttime = '<? print date("F d, Y H:i:s", time())?>'

    I used this...
  3. Thread: virus in my site

    by ZZY
    Replies
    4
    Views
    1,395

    How is it being hosted?

    How is it being hosted?
  4. Thread: Cursor

    by ZZY
    Replies
    3
    Views
    1,356

    Cursor

    I am running this CSS and doctype in IE and it doesn't change the cursor to the image, it just shows what ever cursor is shown when u move it over the page like wait or pointer.



    <!DOCTYPE HTML...
  5. Replies
    12
    Views
    3,501

    Thanks!!!! that was it, i thought it might be...

    Thanks!!!!

    that was it, i thought it might be something with the string but i couldn't figure out what
  6. Replies
    12
    Views
    3,501

    thats all the code there is, im making a test...

    thats all the code there is, im making a test document so here is the entire thing


    <html>
    <head>
    <script type="text/javascript">
    function GetKey(e) {
    var code;
    if (!e) var e =...
  7. Replies
    12
    Views
    3,501

    same error with that in place

    same error with that in place
  8. Replies
    12
    Views
    3,501

    function...

    <script type="text/javascript">
    function GetKey(e) {
    var code;
    if (!e) var e = window.event;
    if (e.keyCode) code = e.keyCode;
    else if (e.which) code = e.which;
    var character =...
  9. Replies
    12
    Views
    3,501

    Ok so here is my code:

    Ok so here is my code:


    <script type="text/javascript">
    function GetKey(e) {
    var code;
    if (!e) var e = window.event;
    if (e.keyCode) code = e.keyCode;
    else if (e.which) code = e.which;...
  10. Replies
    12
    Views
    3,501

    [RESOLVED] OnKeyPress: certain key only

    I was wondering if there was a way to make it so when a user presses only a specific key on their board it would call a function some thing like


    function TheLetterKWasPressed(){
    code
    }
    ...
  11. Replies
    7
    Views
    1,505

    Thanks, the only qurestion i have about it is how...

    Thanks, the only qurestion i have about it is how "test2(x)" gets called?
  12. Replies
    7
    Views
    1,505

    Ok here is my revised version function...

    Ok here is my revised version


    function GetPicNumber(i){
    if (a == 2)
    {
    i = 1;
    setTimeout('pic2()', 10400);
    return i;
    }
  13. Replies
    7
    Views
    1,505

    Am i using "return" right?

    function GetPicNumber(i){
    if (a=2)
    {
    i = 1;
    setTimeout('pic2()', 10400);
    return i;
    }
    else
    {return;}
    }
  14. Thread: link question

    by ZZY
    Replies
    4
    Views
    1,152

    Thanks both of you, yea imm pretty good with css...

    Thanks both of you, yea imm pretty good with css but its been a little bit so i forget some of the things i didn't use much.:rolleyes:
  15. Thread: link question

    by ZZY
    Replies
    4
    Views
    1,152

    link question

    a:link{
    color:white;
    text-decoration:none;
    }

    a:visited{
    color:white;
    text-decoration:none;
    }
  16. Thread: Doctype Question

    by ZZY
    Replies
    4
    Views
    1,931

    Doctype Question

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    After i added this doctype it screwed up a table on my web page, and it seems like no...
  17. Thread: document.object

    by ZZY
    Replies
    5
    Views
    1,293

    ok i but what if i use the "getelementbyid"?...

    ok i but what if i use the "getelementbyid"? dosnt that need to be in the html document to get defined?
  18. Thread: document.object

    by ZZY
    Replies
    5
    Views
    1,293

    document.object

    I want to know if its posible to use "document.object" in an external .js file, putting in a line like this


    document.objectname.style.attribute = value;

    will proceed to say that the object is...
  19. Replies
    4
    Views
    1,231

    i didnt think you could execute anything after...

    i didnt think you could execute anything after settimeout, thanks
  20. Replies
    4
    Views
    1,231

    i is defined here in a loop (function that calls...

    i is defined here in a loop (function that calls the first function at the end for infinite loop) and note this is only one of many identical functions that only change the opacity.

    function...
  21. Replies
    4
    Views
    1,231

    [RESOLVED] Timing Delema

    I have a script that fades a picture in and i want it to disappear when a certain function runs.. i tried using an if/else (when i == 2) and defining the variable in the first function but return;...
  22. Thread: onclick help

    by ZZY
    Replies
    12
    Views
    1,069

    I didn't really inderstand the main problem but i...

    I didn't really inderstand the main problem but i know you can use


    return;

    http://www.yourhtmlsource.com/javascript/functions.html

    to stop code from executing,

    Hope this helps a little
  23. Object Dosn't Support Method or Proportey on Loop?

    I have a javascript that looks like this :


    function autoscroll(){
    document.getElementById('gal1').style.backgroundColor = "#fff";
    document.getElementById('gal2').style.backgroundColor =...
  24. Thread: Javascript Margin

    by ZZY
    Replies
    3
    Views
    1,415

    im making a site were on IE a picture dosn't line...

    im making a site were on IE a picture dosn't line up without a -4 bottom margin but in safari it does and the margin screws it up in that browser.
  25. Thread: Javascript Margin

    by ZZY
    Replies
    3
    Views
    1,415

    Javascript Margin

    Im trying to get margin bottom through javascript depending on the browser, i have attempted it twice in both cases the margin dosnt work.

    W/O Browser Condition

    <html>
    <head>
    <script...
Results 1 to 25 of 71
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles