russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Oct 21, 2010 19:06:14 GMT
Here we go then my turn to set you something Here is a snip from my ole' content slider dont worry about the missing chunk above im not counting that just correct the syntax.
Language: JS / jQuery Errors: 4
To make this fair. Only correct ONE error per post to let a few people get a look in.
function rotateText() { ctr+; if(ctr >= rotatingText.length) { ctr = 0 } /////////////////// texthold.innerHTML = rotatingText[ctr]; linkhold.innerHTML = rotatingL[ctr]; } function clickchange(num) { texthold.innerHTML = rotatingText[num]; linkhold.innerHTML = rotatingL[num]; } $(document).ready(function) { initRotateText(); $('#holdslide').mouseenter(function() { $('#darki').slideDown("slow"); }); ///fade out desc $('#holdslide').mouseleave(function() $('#darki').slideUp("slow"); }); });
Enjoy......... I'll add my slider to the code index after this has been filled.
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Oct 21, 2010 19:19:20 GMT
If I wasn't going away i wouldve done this! If they are all gone (the errors have been found) and I'm not back post the next one!
|
|
xcessive
Epic Poster
.[M:5000]
Posts: 526
|
Post by xcessive on Oct 21, 2010 23:58:53 GMT
ctr+;
Should be: ctr++;
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Oct 22, 2010 1:17:03 GMT
Yep that's one, three left to find
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Oct 24, 2010 19:17:35 GMT
Is about to go on a plane so I will when I get back maybe! Come on guys! Get those errors fixed!
|
|