display:none in Mozilla and Phoenix

  • lachlanmullen
  • Novice
  • Novice
  • lachlanmullen
  • Posts: 21

Post 3+ Months Ago

okay, check out my page <a href="http://www.sparkwash.com/" target="_new">[sparkwash.com]</a> then tell me this (if you can help):

is there a way to have my expanding elements default to "display:block" when a non-IE browser acceses the page? right now my page is broken in NS and Opera and Mozilla. I am pretty sure it is a possible JavaScript fix, so i will tyr over there too.

please hlp :cry: .

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9193
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Yes I believe so. You would need to write some code in JavaScript, I think that would simply use and if statement to decide if its not one of the new browsers. If it is not a new browser than you would have it call that function that would immediately expand the block.

If that doesn't work then maybe what you can do is by default display everything expanded. Then what you would do is run some code that would only work with the newer browsers that would condense the directories you do not want expanded.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 23 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.