Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z ujawnianiem obiektu
Szakal
post
Post #1





Grupa: Zarejestrowani
Postów: 86
Pomógł: 0
Dołączył: 27.05.2004
Skąd: Zielona Góra

Ostrzeżenie: (0%)
-----


witam... Mam tabelkę:

  1. <table cellpadding=0 cellspacing=0><tr><td><input type=text border=0></td><td><input type=button onclick="MakeAvisible('fNames')"></td></tr></table>
  2.  
  3.  
  4. <table id='fNames' cellspacing=1 cellpadding=0 width=300 border=0 style="visibility: hidden; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid; position: absolute;">
  5. <tr>
  6. <td id="td1" onMouseOver="msON(this.id)" onMouseOut="msOut(this.id)"><font face=System id="td1f">Times New Roman</font></td></tr>
  7. <tr>
  8. <td id="td2" onMouseOver="msON(this.id)" onMouseOut="msOut(this.id)"><font face=System id="td2f">Arial</font></td></tr>
  9. <tr>
  10. <td id="td3" onMouseOver="msON(this.id)" onMouseOut="msOut(this.id)"><font face=System id="td3f">Arial Black</font></td></tr>
  11. <tr>
  12. <td id="td4" onMouseOver="msON(this.id)" onMouseOut="msOut(this.id)"><font face=System id="td4f">Arial Narrow</font></td></tr>
  13. <tr>
  14. <td id="td5" onMouseOver="msON(this.id)" onMouseOut="msOut(this.id)"><font face=System id="td5f">Verdana</font></td></tr></table>


chciałbym uwidocznić tę tabelkę robię to tym sposobem:

  1. <script language="javascript">
  2. function MakeAvisible(OBid){
  3. document.GetElementById(OBid).style.visibility = "visible";
  4. }


wg mnie wszystko jest OK ale explorer wyświetla błąd: "Obiekt nie obsługuje tej właściwości lub metody" WHYYYY?(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
dr_bonzo
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Przetestuj to pod opera -- ma lepszy debug Javascriptu nie IE.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 18.09.2025 - 19:14