Jump to content

Jonas

Members
  • Posts

    2,402
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Jonas

  1. I think i have a unique situation that someone might be able to help me with.  on my website when a link is clicked within an iframe it of course opens it in that iframe but my ultimate goal is for it to open the link and open another page in a seperate iframe at the same time. i guess you could consider it double linking? is there a way to do this?

    <a href="file_name.html" target="frame_name" onclick="window.open('http://www.somewebsite.com')">Clicky, clicky...</a>
  2. I understand what you're saying. I figured it was a good way to inform people who ordinarily wouldn't think about it (I don't have a personal website). Technically, it's only a JCR website. A small part of the university that's soley made up of the constituent students of one college. Do you think, if I just used a smaller banner, would that be okay?
    I suppose that would work... How about the one of the 80x15 ones?http://www.stopie.com/button/
    Yeah, I like http://www.colpidimouse.it/public/ico_xhtml.gif - is there a CSS analogue? My only concern is the value of the client uploading the banner each time from the W3C servers - doesn't the W3C want information from this for some reason?

    As far as I see, there's no css button. But how about the set I posted as images? The red ones? Or, you could use photoshop or GIMP, and change the color values on any of the other ones. Just host the image on your own ftp server, so you don't steal bandwidth from those other sites...xhtml10.pngcss.png
  3. I don't have time to look at your code as it is now, but I thought I should tell you one thing. I see you're against IE as a browser, and I fully support you, but, if you are making a website for a university, I don't think you should have a banner for StopIE on there. I don't know, it just seems a bit unprofessional. A university shouldn't involve in what could be seen as petty arguing over browsers. A button like that would be more in place on a private website...Oh, and maybe go for a little more subtle validation buttons, as I feel your current buttons are crashing a bit with your attempted design. One could go so far as to call them tacky. I never liked the official w3 buttons...http://w3schools.invisionzone.com/index.ph...findpost&p=1122Try one of those, like the red ones. That would look good...

  4. If translations are to be done, I suppose the most logical languages would be:

    English   \German      >  Most spoken Western languagesSpanish   /Russian \Chinese   >  Most spoken Eastern languages (?)Arab    /

    Hmm, I suddenly noticed I miss a [pre][/pre] set for BB-codes... :)

  5. I was wondering if there was a way for you guys on w3schools.com to make a plain site like this, but so that if we input some code (html/css/javascript/vbscript/xml etc.), we could in a way "save it" and give a link here on the forums. That way, for people who don't have a host, it's possible to show the code as example rather than us having to read and dissect the code written on forums. Also easier for the rest trying to help, going straight into the document and editing to find results. So far, I've been just using a random try-it-yourself link, and switched the code in the textbox, but it's a heavy way of doing it...Please consider it... :)

  6. What?
    Um, okay...tag_name:active I think would be the same as onmousedown followed by something else for onmouseup.However, if you want the color of the cell to remain that color, you would use onclick="this.style.etc..." :active won't do that I think...
  7. Hahah! I beat jonas! the red parts are the parts where you change the color of the td.
    Congrats... :)then again, :active isn't the way to go if you want to make the background-change last until you reload... I guess mozilla doesn't really support JavaScript that well, or at least not HTML events...
  8. i have 4 cells. When i clicked on one cell i want to chage that cell color

    When you say cell, do you mean table cell?
    <html><head><style type="text/css">td {width: 200px;height: 150px;background-color: #000000;}</style></head><body><table><tr><td onmousedown="this.style='background-color: #ff0000;'" onmouseup="this.style=''"></td><td onmousedown="this.style='background-color: #00ff00;'" onmouseup="this.style=''"></td></tr><tr><td onmousedown="this.style='background-color: #0000ff;'" onmouseup="this.style=''"></td><td onmousedown="this.style='background-color: #ffff00;'" onmouseup="this.style=''"></td></tr></table></body></html>

    Try that code here to see how it workshttp://www.w3schools.com/html/tryit.asp?fi...e=tryhtml_basicIf you want to keep the color after you click the table cell, you exchange onmousedown/onmouseup with <td onclick="this.style='background-color: #??????;'"></td>

  9. Do you mean that I should just use a star before position etc. like you wrote?Do I need to do something in the HTML code to make it work?
    You don't need any extra HTML. Just use a star before the css attributes like I wrote it. That way, it will display just as it used to do in Firefox and Opera which skip *starred css, while you can use css positioning to adjust it to IE... :)
  10. You know what you should do first? You should try to make your document valid. Choose a doctype, either for html 4.01 using frameset, loose or strict, or xhtml frameset, transitional or strict.http://www.w3.org/QA/2002/04/valid-dtd-list.htmlWith a doctype, there's a bigger chance of your css showing equally in all browsers, because you're sure that all browsers are getting the same code to start off with, and that the code is valid html code, not something browser-spesific.Oh, and your news section has horrible contrast values. If I were visually impaired I'd have trouble reading that. Infact, sitting on a laptop with an lcd-screen, just tilting my screen slightly up or down, I have trouble reading that. White on black is better than black on dark gray at any rate...

  11. I see that the dropdown menu is aligning differently in IE than in Opera/Firefox. You might want to try using a star in your css for alternative alignment in IE.p {font-size: 12px;*font-size: 15px;}should give a paragraph a bigger font in IE than in Firefox or Opera because they skip the *attributes, while IE reads them...So something along the lines of#menu li a, #menu li a:link, #menu li a:active, #menu li a:visited { padding: 3px 0 3px 0; width: 86px; text-align: center; font-family: arial, verdana, sans-serif; font-size: 11px; color: #616760; background: #C1CDC0; border-bottom: 1px solid #A4AEA3; border-left: 1px solid #A4AEA3; border-right: 1px solid #A4AEA3; *position: relative; *top: 0px; *left: ?px; }

×
×
  • Create New...