1) Script Title: switchcontent
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tchcontent.htm
3) Describe problem:
See: http://www.franklin.uga.edu/students.../cultrules.htm
The expandable content on the page was running fine, then another person in the office posted updates to an area higher up on the page and now the last expandable content does not expand. Everything in the code seems okay to me. All the other expandable sections are still working, and I'm not sure exactly what changes were made but I think the only thing they added was the obnoxious large red box at the top. Any insight?
Here's the code for good measure:
<ul>
<li>
<strong id="caepcontent12-title" class="handcursor">HOW CAN I MAKE SURE I HAVE GOTTEN CREDIT FOR ALL THE EVENTS I HAVE ATTENDED?</strong>
</li>
</ul>
<div id="caepcontent12" class="switchgroup1">
<blockquote>
a bunch of text that I didn't want to take up space copying
</blockquote>
</div>
<script type="text/javascript">
var bobexample=new switchcontent("switchgroup1", "div") //Limit scanning of switch contents to just "div" elements
bobexample.setColor('black', 'darkred')
bobexample.setPersist(true)
bobexample.collapsePrevious(true) //Only one content open at any given time
bobexample.init()
</script>



Reply With Quote




Bookmarks