Closed (fixed)
Project:
Taxonomy Ticker
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2006 at 03:36 UTC
Updated:
19 Sep 2009 at 13:54 UTC
It does this on every page, not just pages with the ticker. I've posted a $200 bounty on this, along with a couple of other things, so hopefully that leads somewhere. I also mentioned that I really need the ticker to scroll horizontally, too.
Comments
Comment #1
mo6The message usually indicates some faulty javascript. Do you have an example of a page with the errors?
Comment #2
jake28 commentedI had to disable the module. It was causing other strange problems with css layout. I don't mind enabling it again if you contact me, but I'd prefer to link the page privately.
Comment #3
mo6The module includes the javascript code twice:
Try to change this to:
Comment #4
jake28 commentedMuch appreciated! You fixed it entirely. And I don't know how long I've been staring at that code...
On a side note, I'm learning javascript and should have the scrollLeft code pretty soon. I'll post back when I figure it out.
Issue closed. gjmjr has fixed the bug.
Comment #5
mo6As a bonus, I'd suggest to move the lines from
taxonomy_ticker_init()to the beginning oftaxonomy_ticker_contents()and to remove the first function. This way only pages which actually use the block will include the css en javascript. This reduces any conflicts in the future.What's that with the $200 bonus? ;)
Comment #6
mathieu commentedCommited to 4.7 and HEAD. Thanks! I'll test your suggestion about moving code to _contents() and commit this next week.
Comment #7
mathieu commented..if it's fixed, it's fixed. :)
Comment #8
(not verified) commentedComment #9
akhillesh bandaru commentedi too experience this problem tell me a solution
line:1
char:1
error:object expected
code:o
url:http://www.employment.tn.gov.in/pgt2008/LIST%20OF%20NOMINATION%20FOR%20M...
Comment #10
parvezhre commentedhow do i correct the error 'done, but with errors on page, i am tired of this. please assist
regards. if possible let me know the procedure to do it.
Comment #11
brisbanett commentedcan someone point me to a page that lists a variety of ways to stop this happening. Or explain why it happens.
Ive got the same problem.
If you would like to see how it occurs on my page visit - www.tabletennispost.com
please help I don't know how to programme