![]() ![]() |
Hello guys.
First part doesn't causes any problem, but when I'm adding second part (10th line only) most of page's scripts fails (like drop-down menu, time counters etc.) whole script is:
What causes this problem?
|
![]() ![]() |
Are you kidding? Your script disables all the CSS |
![]() ![]() |
Yea dude, but it implements another stylesheet (I've used 100% same for testing) that WORKS. Problem is when I add 10th line, without that line it 100% works. |
![]() ![]() |
Try using Firebug to look at the modified page code after your script has run, is a good first step in troubleshooting. Or use getElementsByClassName and .style.width to make the change instead of innerHTML .replace as there's no chance of messing up the HTML then. |
![]() ![]() |
Using that way, it works. thanks |



