Results 1 to 5 of 5

Thread: Javascript crossobject has no properties

  1. #1
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Javascript crossobject has no properties

    I am new to javascript and having some difficulties

    You can see the page here:
    http://www.site.3ozproductions.com/i...=76&Itemid=147

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

    Code:
    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!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try it without the other script(s).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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/dynamici...tentslider.htm

    for the slide show.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •