faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 12 people (83%) answered Yes
Recently 3 of 4 people (75%) answered Yes

Entry

How do I delete a layer in NN4?

Apr 4th, 2008 20:43
ha mo, Iván Rivera, Guest,


You can't deleta a layer, but you can hide it so it will be invisible to
the user. Simply add
  document.layers['myLayer'].visibility='hide';
in your script to hide it ('myLayer' is the name of your layer in the
HTML code).
Conversely,
  document.layers['myLayer'].visibility='show';
will show your layer again.
This only works in NS4.x.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com