PDA

View Full Version : Javascript crossobject has no properties



eskwire
04-01-2007, 05:43 PM
I am new to javascript and having some difficulties

You can see the page here:
http://www.site.3ozproductions.com/index.php?option=com_content&task=view&id=76&Itemid=147

I am setting up a manual scroller and receiving this error message.


this.crossobj has no properties
moveupp()
control("up")
onmouseover(mouseover clientX=0, clientY=0)
var topint = parseInt (this.crossobj.style.top)

I am able to view this error in firebug for firefox.

The code for the script came from here:
http://2ndmind.net/scw/


I feel that I have everything set correctly but the text will not scroll and I receive this error message every time I mouseover the up or down arrows.

Thanks in advance for helping me learn more about javascript!

jscheuer1
04-01-2007, 06:11 PM
Try it without the other script(s).

eskwire
04-01-2007, 06:20 PM
When I turn off the slideshow script all seems to work well.

Any ideas on what I can do to get these scripts to play nice together?

I appreciate you help!

jscheuer1
04-01-2007, 06:35 PM
It doesn't appear to be an onload conflict. This means that it is probably a problem where one script is redefining one or more of the variables, functions and/or elements used by the other script.

It might actually be easier to try using:

http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

for the slide show.

eskwire
04-01-2007, 06:53 PM
Thanks for the options! I was really hoping to use the existing slideshow since it can be controlled from the backend of a joomla site. But it is great to know of alternatives.

What would be involved in redoing the variables or functions in the text scrolling script?

I am not to experienced with javascript but I am willing to follow directions or donate to a person or their favorite project for a solution to this situation.

I am actually close to a solution on another script. Everything works fine in Firefox but not IE. I can post a new thread about this situation if you would like.


Thank you very much!