dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: red566

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,126

    ok cool so this works :D function...

    ok cool so this works :D

    function AutoScroll(){
    TextOutput = document.getElementById("div id")
    TextOutput.scrollTop = TextOutput.scrollHeight
    }

    why is it always the seemingly small things...
  2. Replies
    3
    Views
    1,126

    could you give me an example of where i would put...

    could you give me an example of where i would put that pleas
    thanks
  3. Replies
    3
    Views
    1,126

    [RESOLVED] auto scrolling

    ok this is the last repost i will do here
    i am making a text adventure game and i need the output text box to scroll to the bottom every time new content is added

    my text adventure so far...
  4. Replies
    6
    Views
    956

    :D it works this will cut down on a LOT i am...

    :D it works this will cut down on a LOT
    i am making a text adventure

    my text adventure V0.18 (at the time of this post) now with a basic gui (Manuel stats gen and help pages coming soon prob...
  5. Replies
    5
    Views
    1,335

    YES that was so simple and needed no recoding...

    YES that was so simple and needed no recoding thank you so much i will looking for days for that :D

    now the last thing left is having it scroll with new content :D
  6. Replies
    5
    Views
    1,335

    can you give me an example ?

    can you give me an example ?
  7. Replies
    5
    Views
    1,335

    ppps the game only runs on firefox and google...

    ppps the game only runs on firefox and google chrome right now
  8. sorry i am sort of new to all this but "&&" is...

    sorry i am sort of new to all this but "&&" is and eg
    if (A == 1 && B == 1) "this will only run if A == 1 AND B == 1"

    also "||" is or eg
    if (C == 1 || D == 1) "this will run if C == 1 and/or D...
  9. Replies
    5
    Views
    1,335

    [RESOLVED] using enter like a onclick

    i am making a text adventure game using html and javascript and i would like to have it so when you press enter after typing in the box it would do what this "send" button is doing now...
  10. Replies
    6
    Views
    956

    so there is no way to even do something like this...

    so there is no way to even do something like this ?
  11. Replies
    6
    Views
    956

    [RESOLVED] call function from a var output

    is there any way to store a function call in a var ? if so i could save a 100s of lines in my code

    function heads(){
    document.write("heads")
    }
    function tails(){
    document.write("tails")
    }...
  12. Replies
    2
    Views
    679

    so how will that help me ?

    so how will that help me ?
  13. Replies
    2
    Views
    666

    o cool thank it worked :D i can even use it...

    o cool thank it worked :D

    i can even use it like this :D

    var A = redtext
    var all = "<span style='color:red'>" + A + "</span>"

    thanks a lot on the quick response
  14. Replies
    2
    Views
    679

    auto scrolling p2

    hello it is me again sorry for not putting enough info in my last one

    i am making a text adventure game and i want to have the output div auto scroll to the bottom when new content is added

    how...
  15. Replies
    2
    Views
    666

    [RESOLVED] text color

    i am making a text adventure game and i was wondering if i could some how change the color of text then put that text in a var with other text and output it some how so it keeps its color sort of...
  16. Thread: function var

    by red566
    Replies
    5
    Views
    754

    function A(){pos ++} if (pos == 1){...

    function A(){pos ++}

    if (pos == 1){
    document.getElementById("i").onclick = B;
    function B(){
    A()
    //what ever in here
    }
    }
  17. Thread: function var

    by red566
    Replies
    5
    Views
    754

    sorry it was just a complete workaround that has...

    sorry it was just a complete workaround that has now got nothing to do with the question but what ever

    function A(){pos ++}

    if (pos == 1){
    document.getElementById("i").onclick = UpTo1;
    ...
  18. Thread: auto scrolling

    by red566
    Replies
    3
    Views
    885

    ok so what if the div is like a console and i...

    ok so what if the div is like a console and i want it to be at the bottom when new content is added ?
    ps sorry i shod of added that in the first place i am making a text game
  19. Thread: auto scrolling

    by red566
    Replies
    3
    Views
    885

    auto scrolling

    how would i go about making a function that when called would scroll a div to the bottom ?
  20. Thread: function var

    by red566
    Replies
    5
    Views
    754

    sorry but i found a way around it now but i have...

    sorry but i found a way around it now but i have a new problem
    how would i get a divs scroll bar to be at the bottom when i push a input button?

    i will post a new thing but it takes so long i...
  21. Thread: function var

    by red566
    Replies
    5
    Views
    754

    function var

    i am making a game by hand and i need a LOT of different functions to be called useing the same button and witch one is called depends on where you are in the script but at all times at least 2 to be...
Results 1 to 21 of 21
HTML5 Development Center



Recent Articles