Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z ujawnianiem obiektu
Szakal
post 15.08.2006, 18:41:46
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?questionmark.gif?


--------------------
Pozdrawiam
(o) Igor Dirbach
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 05:38