Hi,

I'm using the Single_Page_Website module (http://drupal.org/project/single_page_website) and find out that this is breaking Tipsy script.

Trying to know more about why, I installed the Theme developer module. If unfortunately, I'm too novice in order to understand what's happening, I noticed that Tipsy was woking after being selected with theme developer.

Could anyone help me to understand more about this issue and to find a fix?

Thanks in advance.

Comments

Ramonius’s picture

Did you found a solution yet?

I'm also using the Single Page Website module and Tipsy together, but without problems.
It works with every 'dynamic renedered' element I choose as a selector in the Tipsy configuration page, like the main menu etc.

The only thing Tipsy doesn't seem to work with so far are manual content element I enter myself.

Is this the same problem you are/were facing?

Ramonius’s picture

For adding tipsy into your content where the scrolling takes place, add this to your scroll.js:

$(".your_class").tipsy({gravity: 'nw', offset: 5, fade: true});

or

$("#your_id").tipsy({gravity: 'nw', offset: 5, fade: true});

(the last part represents the options for the tooltip)

Having to add this is a workaround that is necessary for a lot of additional JS functions. This should be fixed in the Single Page Website module in the future.

This only applies to the scrolling part in the content, it should already work in the other parts of your sections without adding this workaround.