java script macro-prob

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • java script macro-prob

    Hallo!
    Ich hab n kleines problem mit folgendem script und dessen link... Ich will alle links so haben das man das typische hänchen sehen kann wenn man darüber steht. So... Wo müsste ich das nun angeben? Und wie.

    Der link siet so aus:
    Code:
    <img src="gfx/alaprajz/a/A_ep_2em.gif" width="270" height="449" usemap="#link" border="0"> 
            <map name="link">
              <area shape="poly" coords="139,330,139,407,140,444,103,496,0,478,1,329,31,329,43,330,52,330"		
    		  			onmouseup="popup('gfx/alaprajz/a_lak/A26.jpg',400,700)">
              <area shape="poly" coords="127,269,142,269,194,269,194,330,53,329,53,269,94,269,111,269"  
    		  			onmouseup="popup('gfx/alaprajz/a_lak/A25.jpg',400,700)">
              <area shape="poly" coords="128,215,143,215,193,215,193,268,54,268,54,215,95,215,112,215"  
              			onmouseup="popup('gfx/alaprajz/a_lak/A24.jpg',400,700)">
    		  		  <area shape="poly" coords="200,-7,285,-7,270,41,270,96,105,96,105,41,105,0,136,-8"         
            			onmouseup="popup('gfx/alaprajz/a_lak/A21.jpg',400,700)">
             </map>
    Code:
    function popup(kep, ablakW, ablakH){
      var ujablak;
      ujablak = window.open('','','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,' + 'width=' + ablakW + ',height=' + ablakH);
      text  = '<HTML><HEAD><TITLE>Lakások</TITLE></HEAD>';
      text += '<BODY BGCOLOR="#000000" TEXT ="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">';
      text += '<IMG SRC="'+kep+'" WIDTH="'+ablakW+'" HEIGHT="'+ablakH+'" onMouseUp="self.close()">';
    // kell a kep utan egy bekezdesbe egy nem torheto space-t tenni, mert a Netscape jeleniti meg a kepet !!!
      text += '<P>&nbsp;</P></BODY></HTML>';
      ujablak.document.write(text);
      ujablak.document.close;
      ujablak.moveTo(20,20);
      ujablak.focus();
    }
    ______________________________
    <<Dinohead.fw.hu>>
    Hier findest du: Casemodds, Designs
    PHP-stuff und mehr.
    ______________________________
Lädt...
X