Quote:
Originally Posted by leftie
I have visited a forum where if you hover the cursor over a link in the navbar or username or new post it changes through about four different colors. Does any one know what this is, I have tried a search but i really don't where to start it so i have had no success.
Please help.
|
i'm a newbi here and dont know much about scripting but i'll try and help you. i use that style for my forum so all my links flash so from what i can work out this is how you do it:
go to your header template in your style manager
find
and below that paste this
Code:
<script language="JavaScript">
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<!-- content table -->
$spacer_open
$_phpinclude_output
<script language="JavaScript">
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<SCRIPT src="<A href="http://www.mjjlatino.net/foro/clientscript/rainbow.js"></SCRIPT">http://www.mjjlatino.net/foro/clientscript/rainbow.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function expandingWindow(website) {
var heightspeed = 2; // vertical scrolling speed (higher = slower)
var widthspeed = 7; // horizontal scrolling speed (higher = slower)
var leftdist = 0; // distance to left edge of window
var topdist = 0; // distance to top edge of window
if (document.all) {
var winwidth = window.screen.availWidth - leftdist;
var winheight = window.screen.availHeight - topdist;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist + ",width=1,height=1,scrollbars=yes");
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) {
sizer.resizeTo("1", sizeheight);
}
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) {
sizer.resizeTo(sizewidth, sizeheight);
}
sizer.location = website;
}
else
window.location = website;
}
// End -->
</script>
hope that works as i say i'm new to this, and your the first person i've tried to help!!
let me know how you get on