Conflict? Bug? Can't find problem [SOLVED]

(Steve) #1

Bug / Conflict

It seems this problem is related when publishing to folder or some subtle difference that can not be found. It’s more a conflict with other jQuery animations and will sometimes be the LayerSlider animation that fails instead of the Hype animation. Maybe they are both competing for a “same named” property or element? I really can not figure this out as it seems each should be self-contained.

I’ve done my best to eliminate all possible differences and it’s difficult as the native .html file created from Hype works just fine. The parent wrappers (PHP files) are the same accept for their links to the Hype Resources.

** Fails ** Calendar_r2

Uncaught TypeError: Cannot read property ‘setAttribute’ of null
at Array.k (calendarr2_hype_generated_script.js?51799:30)
at HYPE-592.thin.min.js:106
at HYPE-592.thin.min.js:106
at HYPE-592.thin.min.js:106

Virtually the same but works without error:

** Works ** cal1 (627.3 KB) (626.9 KB)

(Mark Hunte) #2

Possibly you have pasted the hype script details into an existing div container. ‘cal1_hype_container’

It should be “calendarr2_hype_container”

(Steve) #3

Thanks Mark, the div ID was exactly the problem…