W
wesley_snipes1
Hello. Anyone feel free to help me as it would be greatly appreciated.
I am attempting to dynamically create tooltips using the likes of
CoolTips, OverLib or anything else out there that will do. I have been
unable to get code like this to go:
<script type="text/javascript">
document.write('<a href="javascript:;" onMouseOver="return
coolTip('CSSCLASS,TEXTFONTCLASS,\'fontClass\',FGCLASS,\'fgClass\',
BGCLASS,\'bgClass\',STICKY,CAPTIONFONTCLASS,\'capfontClass\',
CLOSEFONTCLASS, \'capfontClass\', CAPTION,\'<I>CSSCLASS</I> Example
#1\', SHADOW', WIDTH, 400, WRAP,
CSSCLASS,TEXTFONTCLASS,'fontClass',FGCLASS,'fgClass',
BGCLASS,'bgClass',STICKY,CAPTIONFONTCLASS,'capfontClass',
CLOSEFONTCLASS, 'capfontClass', CAPTION,'<I>HEADING</I> More Heading',
SHADOW);" onMouseOut="nd();">example</a> uses the following style rules
in the HEAD section:');
</script>
Without using document.write, the code works flawlessly. I simply need
to create this code on the fly in the .html pages where I can place the
'Tooltips' with varying text in numerous places in the page.
Thanks in Advance!!!!!!!!!!
I am attempting to dynamically create tooltips using the likes of
CoolTips, OverLib or anything else out there that will do. I have been
unable to get code like this to go:
<script type="text/javascript">
document.write('<a href="javascript:;" onMouseOver="return
coolTip('CSSCLASS,TEXTFONTCLASS,\'fontClass\',FGCLASS,\'fgClass\',
BGCLASS,\'bgClass\',STICKY,CAPTIONFONTCLASS,\'capfontClass\',
CLOSEFONTCLASS, \'capfontClass\', CAPTION,\'<I>CSSCLASS</I> Example
#1\', SHADOW', WIDTH, 400, WRAP,
CSSCLASS,TEXTFONTCLASS,'fontClass',FGCLASS,'fgClass',
BGCLASS,'bgClass',STICKY,CAPTIONFONTCLASS,'capfontClass',
CLOSEFONTCLASS, 'capfontClass', CAPTION,'<I>HEADING</I> More Heading',
SHADOW);" onMouseOut="nd();">example</a> uses the following style rules
in the HEAD section:');
</script>
Without using document.write, the code works flawlessly. I simply need
to create this code on the fly in the .html pages where I can place the
'Tooltips' with varying text in numerous places in the page.
Thanks in Advance!!!!!!!!!!