ScareCrowe
01-23-2006, 08:50 PM
Script: Switch Content
URL: http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
I have found an interesting issue with this script. When the collapsible content area contains an <input> tag with the name 'length', the script fails! It took me some time before I figured this one out! I completely gutted my page before I did, but naming the input tag 'length' was the culprit. I also tried just having the word length in there, but that was OK. It only seems to happen when I name the tag length. I even copied the code on the page and it worked great until I added the input tag.
So I hope this qualifies as a bug! If it does does that mean I get a cookie or something? I like chocolate chip, but a peanut butter cookie sounds good right now too.
Anywho, hopefully someone can respond to this and let me know what's up with this one.
--ScareCrowe
URL: http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
I have found an interesting issue with this script. When the collapsible content area contains an <input> tag with the name 'length', the script fails! It took me some time before I figured this one out! I completely gutted my page before I did, but naming the input tag 'length' was the culprit. I also tried just having the word length in there, but that was OK. It only seems to happen when I name the tag length. I even copied the code on the page and it worked great until I added the input tag.
So I hope this qualifies as a bug! If it does does that mean I get a cookie or something? I like chocolate chip, but a peanut butter cookie sounds good right now too.
Anywho, hopefully someone can respond to this and let me know what's up with this one.
--ScareCrowe