Changing Cufon.replace('h1')('h2')('h3')("h4")("h5")("h6")("pre")("abbr");
to the following should work:
Cufon.replace('h1')('h2')('h3')("h4")("h5")("h6")("pre")("abbr")('h1 a')('h2 a')('h3 a')('h4 a')('h5 a')('h6 a');
or alternately:
Cufon.replace('h1, h2, h3, h4, h5, h6, abbr, pre, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a');
also should work.
The selector a
will select all anchor elements, whereas the selector h1 a
will select all anchor elements contained within an h1 element. Google CSS selectors and specificity for more info.