HAve modules installed and enabled: JQuery Update and JQuery hoverIntent. hoverIntent is quite simply not being run when I view source. I have taken to creating a block that embeds the hoverIntent JS file directly from the module folder, and this works fine.

If I'm missing a step in installation or usage, then it would be useful to have a hoverIntent page in Advanced Help.

CommentFileSizeAuthor
#1 hoverintent_js_init_5-3-10.patch625 bytesjpwarren00

Comments

jpwarren00’s picture

StatusFileSize
new625 bytes

There didn't seem to be a hook_init to load the javascript on every page. Try this patch, it worked for me.

a_c_m’s picture

Category: bug » feature
Priority: Critical » Normal

I think adding a settings page to have this option enabled or not is a better idea than including it on init(), as you might not want it active on EVERY page.

pomliane’s picture

Category: feature » bug
Priority: Normal » Critical

#1 did not solve the issue here.

recidive’s picture

Category: bug » support
Priority: Critical » Normal

I think developers are supposed to call hoverintent_add() from their custom code in order to load HoverIntent js files. Only the module maintainer can say if this is true or not, though.

Moving to support request.

a_c_m’s picture

Status: Active » Fixed

recidive is correct, this is a utility module and its expected the module that requires it will call hoverintent_add() when and where the JS is needed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.