Jump to content

Jonas

Members
  • Posts

    2,402
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Jonas

  1. For us to see it even faster, you can click p_report.gif on the spesific post and just say something like "double post. delete please." And like boen correctly said, it's not a big deal. Double post taken care of. :)

  2. I only found one of your other topics in the php forum (which means it's probably deleted already). Anyway, if you don't get any answers, try to give your existing thread a bump to bring it to people's attention again. I'll merge your two threads this time, since you have replies in both, but next time stick to one thread, okay?

  3. If you really want to make annoying pages like that, it's not really difficult, no loop required. Make a document with this code:<html><head><title>POPUP Madness</title></head><body><script type="text/javascript">window.open("path to the the exact same document");</script></body></html>But who would you use these pages on. Just to practise javascript and show it to your friends?

  4. Definetely possible, however I won't do it. But please, experiment with it. It's not really difficult if you go through the code. The only thing you need to change is in the index file, everything should remain as-is in the .js files.

    <img alt="planet" src="redball.png" id="ball4" /> <script type="text/javascript"> SET_DHTML("ball0","ball1","ball2","ball3","ball4");
    Add a new <img alt="planet" src="ball.png" id="ball5" /> and add another ID in SET_DHTML("ball0","ball1"..."ball4","ball5");As for working with DHTML, that's really just a name for a combination of html, css and javascript to make Dynamic HTML.
  5. Wow that is very cool.You can make some nice aplications with that.Are u still working on that solarsystem site ?It would be cool to know when all planets were in a line with each other.That the planets would spin around the sun in normal speed and the moon around the earth.Would that be possible ???¿¿¿???
    I stopped working on that thing a long time ago, and never intended to put up all planets. The thing is, even if you add all 9 planets (8 excluding Pluto), you won't see most of them, because they'll be put off-screen. The screen will expand to the right and bottom, but the planets will disappear on the left and top.
  6. The script is all there in the source, partially in the code, partially in two external javascript files. Although I did make that particular design, I by no means made the code for it. We did it in IT classes in High School, as an example of what javascript could do. We primarily programmed in Visual Basic, and made the same thing there I might add, but then our teacher though it'd be fun to see another programming language and its approach to the same thing. It's really amazing what javascript can do, if you look at pages like walterzorn.com (where we got the file called wz_dragdrop.js), and what's shown there. All javascript you know, and all drag'n'droppable.

  7. Haha, very funny, an alert script that never terminates (unless you actually click 40,001 times that is). Luckily, Opera includes an option on alert buttons to stop execution of scripts on any page. I don't think anyone will be pressing that button from now on though. And it's always a good idea to use caution before pressing buttons you don't know what do.

  8. The point of external CSS is to move all presentation info into another document, and have that document be applied to several xhtml documents to save time and effort. Align is what is called a presentational attribute, meaning it changes the way the elements is presented/displayed (in this case putting it in the center). XHTML is different from HTML in that it is moving away from presentational attributes and relying only on CSS.

    except for the references that will pull those elements from the CSS.
    I'm not sure what you mean with references pulling elements from the CSS. If it's what I think you mean, you understand it perfectly. The references that you refer to are the (x)html elements themselves, such as the element <p>. In CSS you refer to that element and give it presentational info like this:element {css: info;}for example:p {color: blue;}that will colour the text in all paragraphs blue. If you want some paragraphs differently coloured, you can use a thing called classes, where you assign an element (again, using <p>) to a class of elements that will share presentational information.<p class="class_name">Blabla</p>and the cssp.class_name {color: red;}or simply.class_name {color: red;}
  9. I think poker is no good. Is very vicious and when you win a little, you think that when you'll play again you'll win more. And that's the way many people lost there jobs, houses and women :)
    That really goes for gambling in general, and has nothing with the game poker itself to do. Betting on horses is the same thing, or boxing to use your rocky-avatar as an example.The game poker itself is a cool game. There are so many other fun variations of it that doesn't involve gambling with money. For example strip-poker or sip-poker... :)
  10. The way I make a new site is I first start making the XHTML and CSS - the layout - of the site. When I find a design I'm happy with, I can start a bit dissecting parts that are universal to all my pages, like headers, menus and footers. Then I'll put those parts in different .inc documents, and call them with php include or require for every new page. I would, however, as aspnetguy said, not go too far with PHP if you have so much already with xhtml and css. No more code than serverside includes at best.

  11. Here's an update. Changed the font to Trebuchet ms and if it's not available it goes to arial.vchrissampleox8.jpg Feedback?
    Well, I think your news for december 2006 and january 2007 have a copyright on them... :)
×
×
  • Create New...