View Full Version : Switch content script help
fred2028
04-24-2009, 04:42 PM
1) Script Title: Switch content script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem: Hey, how would I make the [Open] and [Close] appear AFTER the expandable header?
ddadmin
04-24-2009, 07:43 PM
Try finding the below line inside the .js file:
this.headers[i].innerHTML='<span class="status"></span>'+this.headers[i].innerHTML //Add a span element to original HTML to store indicator
and changing it to:
this.headers[i].innerHTML=this.headers[i].innerHTML+'<span class="status"></span>' //Add a span element to original HTML to store indicator
fred2028
04-24-2009, 07:49 PM
Try finding the below line inside the .js file:
this.headers[i].innerHTML='<span class="status"></span>'+this.headers[i].innerHTML //Add a span element to original HTML to store indicator
and changing it to:
this.headers[i].innerHTML=this.headers[i].innerHTML+'<span class="status"></span>' //Add a span element to original HTML to store indicator
Thanks!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.