Jump to content

johnmendel

Members
  • Posts

    10
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.hexdevelopment.be
  • ICQ
    0

johnmendel's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. johnmendel

    Rounded corners

    yup. again i take no credit. http://pro.html.it/esempio/nifty/, that uses multiple margins going in a pixel on each side, sucessivly, to round the corner. again, google is your friend if you get to know him.
  2. I meant that an alert box is limited in what it can do. aka the comment box was what you needed.
  3. OOP lets coders make templates for objects: the classes. then, when they want to implement one, the call upon an instance of that object. so you can make var win1 = new Window(); and var win2 = new Window(); with only defining what a window should be and those two snipits of code. The new objects inherit the characteristics of the class. This allows for quick changes in a window.EG: a window has a width and height. in you code, you dont use OOP. You make 30 windows, each unique, by hand. Alot of code for making each object. The boss rolls by, and says whoops, windows now need an address as well. now you have to go back and individually change each one. in OOP, you just have each of the 30 an instance of the class window, and when you need to add address, you do it in the class definition. You might not see the advantage now, but try writing apps, not webpages. You will see the advantage.
  4. your using too limited of an object <html><head><title>test</title><script>function confirmFF(){ if (confirm("Firefox user, you need Internet Explorer to view this page correctly!")) window.location = "http://www.microsoft.com/windows/ie/"}</script></head><body onLoad="confirmFF();"></body></html>
  5. depending on user resolution is something which i looked into when i started. you could use the screen, i believe, item for IE. I think i might also work in FF. my java script is horrible, but it would look something in this nature. /* returns a boolean */<script type=javascript>function isSmall(){ return (screen.height < 768);}</script>then, (watch me really kill this code)<script type=javascript>function chooseCSS(){ if isSmall() somehow link that css sheet for under 768. I know its possible else /*their res height is 768 or more*/ include the sheet for over 768}</script> I missed alot of the magic inbetween, but thats the basic concept. BTW, you run chooseCSS on body's load.
  6. johnmendel

    Rounded corners

    heres a tutorial. http://kalsey.com/2003/07/rounded_corners_in_css/Google, and thou shall recieve.
  7. there is. If done correctly, they should look identical. I had a similar problem. 9/10 times is a problem with your code. Post what you are working with, so the problem can be pointed out.
  8. I had tried even numbers before. On a gutshot, I gave everything a height of 19px. It worked. Now I wanna isolate the one thing which needs a height of 19. thanks.>>Please Close<<
  9. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5.pretty sure that means Fx 1.5
  10. johnmendel

    CSS annoyance

    I'll start with the site link: the siteBasically, its working great for me in ie, but in ff, hovering over one of the tabs produces a small white line underneath the tab. I have tried a whole slew of things to fix this, but alas, I am stumped.the CSS, if you need to check, is myStyles
×
×
  • Create New...