Please provide more details on how to call refTagger.tag, A brief example would be good. I am using MVC and need to rescan part of the document when a partialview is loaded with new data that includes Bible references. I don't want to reload the whole page for performance reasons.
I modified my page to set tagAutomatically to false, but I get an error about noSearchTagNames being undefined when I execute the tag method. Also, I am not sure about the syntax for the parameter passed to the tag method. It looks like the Init of the settings fails if you have this setting.
my settings look like this:
var refTagger = {
settings: {
bibleVersion: "ESV",
noSearchTagNames: [],
roundCorners: true,
tagAutomatically: false,
customStyle: {
heading: {backgroundColor: "#d7b7ff",
color: "#7851A9",
fontFamily: "Arial, 'Helvetica Neue', Helvetica, sans-serif",
fontSize: "16px"
},
body: {
color: "#7851A9",
fontFamily: "Tahoma, Verdana, Segoe, sans-serif",
moreLink: {
color: "#a465b5"
}
}
}
}
};
Regards,
Dave