Jump to content

Lunfalas

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Lunfalas

  1. Problem solved in "Images in tables" topic. Thanks anyways!
  2. Skemcin, thanks a lot! You have answered my question from "A 'WHAT THE?!' story..." topic! No unnecessary space anymore since the <br> tags are all in their place.
  3. Uhm, the space is still there...
  4. Nah, I've made up that story... Hum... Even if I apply border to the image or not, the annoying space is still there. Your statement makes my foreseeing even more true. So the browsers are actually the guilty ones... Well, before I seal my statement, I'll wait if anyone else has anything to say about the problem.
  5. Tiny Johnny (from Robin Wood story):"I've made a table of 105 px width and 28 px height and of course the <td> tag of the same size. I've put the image into that tag of (yeah, you guessed... ) SAME size again. Then I open the page in Firefox browser. It looks perfect, I tell you... I check the page also in IE 6. And again it looks... WHAT THE?! WH-WH-WHY IS THERE FOR ABOUT 4 PX LARGE SPACE BETWEEN THE IMAGE AND TABLE BORDER AT THE BOTTOM?!?! "How come that in Firefox the table border wraps the image perfectly but in IE 6 it doesn't? Is there anyone who can explain me why does that happen? What went wrong? I hope that IE 6 is guilty for that, but I'm affraid that it isn't...Thanks in advance for your replies!
  6. Thank you. I will give it a try.
  7. I forgot to say - could we do that on the mentioned case? Please? I mean, could you show me how the function part should look like and later, how the call tag should look like? I appologize, if I'm asking too much...
  8. Hello to everyone! I'm new here to the forum. I checked all the topics in JavaScript section, but I didn't find any similar question to mine, so...Let's say we have 3 buttons (A, B and C buton) for which we use JavaScript to make them glow or not when we put the mouse pointer over them.This is the JavaScript part for buttons' glow: function mouseOver(){document.a.src="buttons/a_glow.gif";document.b.src="buttons/b_glow.gif";document.c.src="buttons/c_glow.gif"}function mouseOut(){document.a.src="buttons/a_normal.gif";document.b.src="buttons/b_normal.gif";document.c.src="buttons/c_normal.gif"} This is the HTML part for calling the functions for buttons: <a href="page1.html" onmouseOver="mouseOver()" onmouseOut="mouseOut()"><img src="buttons/a_normal.gif" width="105" height="28" border="0" name="a"></a><a href="page2.html" onmouseOver="mouseOver()" onmouseOut="mouseOut()"><img src="buttons/b_normal.gif" width="105" height="28" border="0" name="b"></a><a href="page3.html" onmouseOver="mouseOver()" onmouseOut="mouseOut()"><img src="buttons/c_normal.gif" width="105" height="28" border="0" name="c"></a> The problem here is, that when we put the pointer over the button 'A' both buttons 'B' and 'C' are glowing too. Same happens if we put the pointer over button 'B' (in this case both 'A' and 'C' are glowing) or over button 'C' (both 'A' and 'B' are glowing).What to do, to achive that only the button, over which the pointer is, glows? a ) Is it needed to make a single function for every button like this? function mouseOver1(){document.a.src="buttons/a_glow.gif"}function mouseOut1(){document.a.src="buttons/a_normal.gif"}function mouseOver2(){document.b.src="buttons/b_glow.gif"}function mouseOver2(){document.b.src="buttons/b_normal.gif"}(...) b ) Do we solve the problem any other, more simple way?Thanks in advance for your replies!P.S. Are the functions here ACTUALLY written right? (All the periods, semi-colons, brackets etc. ?)
×
×
  • Create New...