Page 1 of 1
image rotator tag causes javascript error
Posted: Fri Apr 27, 2007 1:20 pm
by jchaos
Hi, for some reason the image rotator tag is causing a javascript error. its worked fine on two sites, and has stopped working after a server transfer.
thanks
Re: image rotator tag causes javascript error
Posted: Fri Apr 27, 2007 1:30 pm
by RonnyK
jchaos,
what is the message you get. Something with rights on tmp or temp. After a server transfer you might want to check the rights on the folders.
Ronny
Re: image rotator tag causes javascript error
Posted: Fri Apr 27, 2007 1:49 pm
by jchaos
the error message says unspecified error. there is a line number, and location. depending on the page, the line number changes, but the charactor is always 4.
the line causing the error is:
from tag:
document.images.rot_img{$mod}.style.filter="blendTrans(duration={$speed_fade})"
document.images.rot_img{$mod}.filters.blendTrans.Apply()
from page:
document.images.rot_img4631fdf9a3b1c.style.filter="blendTrans(duration=4)"
document.images.rot_img4631fdf9a3b1c.filters.blendTrans.Apply()
thanks for any pointers...
Re: image rotator tag causes javascript error
Posted: Fri Apr 27, 2007 2:30 pm
by alby
jchaos wrote:
the error message says unspecified error. there is a line number, and location. depending on the page, the line number changes, but the charactor is always 4.
the line causing the error is:
from tag:
document.images.rot_img{$mod}.style.filter="blendTrans(duration={$speed_fade})"
document.images.rot_img{$mod}.filters.blendTrans.Apply()
Try with add a new page and add, to content, plugin call only (maybe other javascript collision?)
Alby
Re: image rotator tag causes javascript error
Posted: Fri Apr 27, 2007 3:15 pm
by jchaos
creating another page/template was a good idea, i hadnt thought to try it.
it didnt work though. the error is still there and unchanged. Char: 4
i'm going to try just the variables into the tag as opposed to the options at the top.