I'm currently using a javascript product called prototip
Their default setup is the following
<script type="text/javascript" language="javascript">
new Tip('test_style', 'Text for tooltip goes here', {
title: 'Title Goes Here',
style: 'protogrey'
});
</script>
I'm currently looking to add a table of sorts within my tooltip but for some reason when I add the table in to the text for the tooltip it will never display.
I have tried swapping the ' to " thinking it might be conflicting, I've also tried escaping the closing tags of the table to no avail. I just wanted to know with the current setup above if it would even be possible to do.
<script type="text/javascript" language="javascript">
new Tip('test_style', '<table><tr>
<td width="84">Test</td>
<td width="100">Test</td>
</tr></table>', {
title: 'Test',
style: 'protogrey'
});
</script>
Thanks
<table><tr><td width="84">....? JavaScript often has issues with strings going off to a new line.