JavaScript grafic

This is a discussion on JavaScript grafic within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Well I've seen homepages with a game and these are sometimes maid with JavaScript. Now how do they do that? ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    160

    JavaScript grafic

    Well I've seen homepages with a game and these are sometimes maid with JavaScript. Now how do they do that? How do you make grafic with JavaScript because to me it seems like text is all it can handle (that and pictures). Is there some function or object I should know of?
    Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
    Hell I might even learn something

  2. #2
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    lol, thats like asking "teach me java"

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    do a google search for dhtml...you've got a lot of studying too do.
    PHP and XML
    Let's talk about SAX

  4. #4
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    dhtml, i thought he asked about java?

  5. #5
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by Cgawd
    dhtml, i thought he asked about java?
    How do you make grafic with JavaScript
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  6. #6
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    javascript goes in .html files? right? thats where i always put them

  7. #7
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Yes, or .js files.

  8. #8
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    then why did waldo say dhtml?!?

  9. #9
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    and why did hammer quote that? CONFUSED!!!!!!!!!

  10. #10
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Something like this I presume?
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  11. #11
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    dhtml is a combination of
    html, css, and javascript

    it's a huge subject and an up and coming "technology" (using term loosely) It could be used to create games.
    PHP and XML
    Let's talk about SAX

  12. #12
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    DHTML = Dynamic HTML = HTML + JavaScript + CSS + Other stuff

  13. #13
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    yah, i know what everything is, i just think i had a stroke though, cause my brain wasnt working hehe

  14. #14
    Registered User
    Join Date
    Oct 2002
    Posts
    160
    I know how to code in HTML (though that can't be called real coding), JavaScript and CSS so all () I need to learn is DHTML.

  15. #15
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    If you know HTML , CSS, and Javascript you already know DHTML since that's what it is.

    You need to learn DHTML DOM (Document Object Model) this is the API you use in javascript to effect page elements. The stuff you want will be in the style attributes. BEWARE though, since the style attributes and DOM itself are not fully supported in the browsers, in fact it's been best supported in IE, Netscape and Opera implementations of it were shotty or non-existent. Not sure if they have corrected this in both OPERA and Netscape.
    //An example of javascript DOM
    <script type="text/javascript">
    header.style.color="red"
    </script>

    http://www.w3schools.com/dhtml/dhtml_dom.asp
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Professional JavaScript for Web Developers, 2nd ed.
    By neandrake in forum Programming Book and Product Reviews
    Replies: 2
    Last Post: 05-16-2009, 09:44 AM
  2. JavaScript book recommendations
    By neandrake in forum Tech Board
    Replies: 2
    Last Post: 04-05-2009, 12:27 PM
  3. Replies: 2
    Last Post: 03-10-2009, 08:36 PM
  4. Javascript: Error in FTP access
    By alphaoide in forum Tech Board
    Replies: 2
    Last Post: 05-10-2005, 07:13 AM
  5. Totally newbie to grafic
    By Zahl in forum Game Programming
    Replies: 3
    Last Post: 11-12-2002, 02:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21