Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DssTrainer

    Hide DIV blocks outside of a specified DIV container

    ah.. that might be what i'm after.. tho i might do it with class instead of id.. Thanks! I'll give that a try and let you know.
  2. DssTrainer

    Hide DIV blocks outside of a specified DIV container

    That would be fine if that's what I was asking. But I wasn't asking for that. I can't change the id's because depending on whether or not they are loaded in the first parent, that will be independent of another function that loads the same children to another parent. Thats why when it's all said...
  3. DssTrainer

    Hide DIV blocks outside of a specified DIV container

    I am aware of that. Which is why I need javascript to hide one of them. Like maybe if (!childOf.Container("ParentA")) then hide
  4. DssTrainer

    Hide DIV blocks outside of a specified DIV container

    I have this code <div id="parentA"> <div id="child1"></div> <div id="child2"></div> </div> <div id="parentB"> <div id="child1"></div> <div id="child2"></div> </div> I'd like to make a javascript that hides the child1 and child2 inside the "ParentB" parent div, but doesn't hide them...

Part and Inventory Search

Back
Top