Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by inktherapy

  1. Thank you guys, it worked.
  2. Hi,Is it possible to submit a form in a new window?The output will be; the form when subitted the result will be in the new window, so I have have 2 window in the end.Thanks.
  3. Yes, it is possible, just change the variable to DOM set it's background to image or you can manually change it in your HTML page add <img >...
  4. I agree some statements are not properly open or closed.
  5. What do you mean by 1 box? an alert box?
  6. inktherapy


    Focus one topic at a time, if you feel you're comfortable enough to tackle another then do it. Just make sure you understand it before moving on...
  7. I think you still need a serverside scripting, a DB or a language connector that will communicate with your email. HTML or Javascript alone are not sufficient to carry a task like the one you are planning.
  8. Dating game?! hmmmm interesting (jk).
  9. Improving site, nice one. I also like ACDC, Metallica and The Police.
  10. No worries, I was not implying that you did something bad, maybe the way it reads or how I understood it. I already saw the site and I agree to your suggestions, your opinion thus make point. Maybe it's just the word wrong in respond to an opinion or suggestion, I think it is appropriate to say agree or disagree but you don't need to be bothered about this, it's just me. I am just here to learn from you guys that's why I have much respect to everyone.
  11. Let me know the status, I want to be part of it. I also want to learn or perhaps share something useful. Thanks
  12. confusing constructor, setters and getters are a mess etc... I suggest you write it again on a paper.What I do is write one method at a time and test it.
  13. Up!Any updates on these strange numbers on how did it get there?
  14. It's suspended! I have not seen it! hehehe well anyways any design is acceptable though we have rules and conventions and so on, it's a personal preference like if I like it black you like it white, that means im not wrong and i did not say you're wrong. I think the word wrong will apply only to a set of standards or a solid fact. but in design I think not. Have a nice day.
  15. inktherapy

    Pls Help

    I will just give a rough coding, you've got to earn it though.public class MyClass { // Constructor public MyClass(int x, int y) { int x; int y; }// methods public int getSum (int x, int y) { // method goes here return z; } public void addSum () { // method goes here return z; } public void addPower() { } etc... public static void main(String[] args) { int dialog1 = JDialog.showInputDialog(null; "Type here"); int dialog2 = JDialog.showInputDialog(null; "Type here"); MyClass xt = new MyClass (dialog1, dialog2); methodAdd(); ... methodRaise(); }}
  16. Up! Same process, plan and no developing! what happened?
  17. inktherapy


    Design is simple, looks fine with me and it's working though I have read the source it's hard to maintain. My suggestions would be, separating the Style <CSS>, Script <javascript> and link it in your HTML. Readable and manageable code will also be a good practice.
  18. Like what justsomeguy mentioned, you can also put it on a function (like a listener) on blur or on focus will trigger the specific methods.
  19. If you're accessing the image through web, you need a complete URL address.
  20. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>Change and display color</title><script type="text/javascript">function colorRed() { document.body.style.backgroundColor="red"; document.getElementById("display").value = "Red";}function colorGreen() { document.body.style.backgroundColor="green"; document.getElementById("display").value = "Green";}</script></head><body><input type="text" id="display" /><br /><button onclick="colorRed()">Red</button><br /><button onclick="colorGreen()">Green</button><br /></body></html> This is my example of what you're trying to do, though im not sure if this is your objective?I use DOM most to access the style, fyi most of people rarely use document.write because they say it's a bad practice.Hope this helps?!
  21. Hi,You can also set your layout width to a static fix width if you really don't want your contents moving.
  22. Hi,Please see code box, I seem to get your problem is, but when I add the border:solid, the border shows, you can also add your styles on the embedded CSS on the head. you can also assign unique style by using # id selector this rule will only match specific area. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>Table Border</title><style type="text/css" media="screen">#uniqueTable {border:solid;border-color:#FF0000;border-width:thick;width: 100px;}</style></head><body><table id="uniqueTable"> <tr> <td>col1</td> <td>col2</td> </tr></table></body></html>
  • Create New...