Jump to content

Ingolme

Moderator
  • Posts

    14,901
  • Joined

  • Last visited

  • Days Won

    177

Everything posted by Ingolme

  1. Ingolme

    Math editor

    You need a buttons, events, DOM nodes, probably the innerHTML property.
  2. Perhaps you should use a server-side language to include the content on your page instead. For the <iframe> you would need to use Javascript to set the height of the iframe based on the height of the content in it. Here are some threads where this was discussed in the past:http://w3schools.invisionzone.com/index.php?showtopic=39905http://w3schools.invisionzone.com/index.php?showtopic=40227http://w3schools.invisionzone.com/index.php?showtopic=25211
  3. Names I've heard around most often are Mootools, Yahoo GUI and Dojo. I'm not sure if they're all Javascript libraries or something else, I never went to research them.
  4. It will if the server is configured properly. It would also work locally if you set up the local server to send e-mails with an SMTP server.
  5. If you're running this locally, it probably won't work unless you've installed an SMTP server and configured PHP to use it.
  6. It can't be done with CSS2.1. Javascript is required and probably preferable to CSS3 at the moment as you can add controls to it.
  7. Just substitute the "i" for a 0 and remove the loop.
  8. I learnt my object-oriented programming from university, like almost everything else that has been useful to me in life.
  9. It depends on the features that are most important to your company. People will recommend ones they're familiar with. This website shows comparisons between different content management systems: http://www.cmsmatrix.org/matrix/cms-matrix
  10. Assign a min-width to the container
  11. CSS is not capable of doing that. It would be complicated but Javascript can find some text and wrap it in an element with CSS style attached.
  12. That's right. I hadn't looked carefully, it looks like that return statement was meant to be on the next line. I still recommend initializing the array properly.
  13. I think, first of all, that you should be initializing the variable as an array:$CustomMenuLinks = array(); I'm a bit surprised that no errors are being shown for trying to treat an undefined variable as an array in the first place.
  14. You can make an "equals()" method, it's a common practise. if(c.equals(c2)) { // Do something} When you create the equals() method you decide which values to compare and what operations to do.
  15. Given this, a bad doctype will still cause inconsistencies between Internet Explorer and other browsers.
  16. This is the window: http://w3schools.com/jsref/obj_window.asp
  17. Perhaps Internet Explorer now runs in standards mode as long as <!DOCTYPE anyRootElement> is there.
  18. Ingolme

    dynamic copyright

    Only print the year if it's greater than the year the page was created. Copyright <?php $year = idate('Y');echo '2013';if($year > 2013) { echo '-' . $year;}?> Edit: It seems it was already solved
  19. The width and height attributes are there so that the browser can reserve space for the image, this was also true for HTML 4.01 so percentages haven't been valid since HTML 3.2. Using CSS to set these values as percentages is valid.
  20. PDF documents aren't images. The way to embed non-image content is to use the <object> element in HTML 4.01 or the <embed> element in HTML 5
  21. oTr.style.backgroundImage If VBscript follows any standards, that should work.
  22. It's a syntax error because CSS uses curly brackets { } to contain sets of rules. The HTML validator validates HTML, you need a CSS validator to validate CSS.
  23. As far as my years of experience go, a wrong doctype renders exactly the same as no doctype in all browsers. There are only two rendering modes: standards compliant mode if a correct doctype is used, quirks mode in any other case.
  24. A syntax error in a previous line has caused the parser to ignore the code that follows it. This line, in particular:#btmpics (position:relative; margin-left:10px;)
  25. The <a> tags works the same with PDF as with JPG.
×
×
  • Create New...