Skip to content

Invalid element message #76

@ghost

Description

I am attempting to use opentip but I’m not a javascript programmer. I have a simple test page setup (http://belgians.com/testing.html) that loads the necessary scripts. Where I’m having trouble is loading it programatically. I’m using one of the examples from your documentation but consistently come up with the “if(this.triggerElement.length<1){throw new Error(“Invalid element.”);}” throwing the Invalid element message.

This is how I have it programmed:
testing

My goal is to have an Ingredients list on a page and the visitor hovers over each item and sees the corresponding ingredient description similar to this page (http://www.alabu.com/beautiful-feet-foot-scrub/).

Thanks for any help,
Kent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions