mohamed930
06-09-2008, 03:30 PM
1) Script Title: Textual tooltip II (fade into view)
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex5/linkinfo2.htm
3) Describe problem:
How can I make the tooltip in the center of the page? I've tryed to do several things to get it to do this; but none of them would work...
This is the peice of code where the text tooltip will show:
<script language="JavaScript1.2">
if (document.layers){
document.write('<ilayer name="nscontainer" width="100%" height="100">')
document.write('<layer name="fade1" width="100%" height="100">')
document.write('</layer></ilayer>')
}
else
document.write('<DIV ID="fade1"></DIV>')
</script>
And I've tryed to put this peice of code in a
<p align="center">SCRIPT</p> tag, but that also wouldn't work...
I've also tried to make the actual link align center.. e.g:
<p><A HREF="http://www.wsabstract.com" onMouseOver="fade_up('fade1','<FONT SIZE=4 FACE=Verdana Align=Center>Visit WA for comprehensive JavaScript tutorials and over 400+ free scripts!</FONT>','000000')" onMouseOut="fade_down('fade1')">Website Abstraction</A> (notice the align=center... I just guessed that! (ofcourse, i guessed wrong :()
But even that wouldn't work!
And now, after doing my best- I turn my head to the communtiy here:
Can anyone help?!
Thanks for all your help!
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex5/linkinfo2.htm
3) Describe problem:
How can I make the tooltip in the center of the page? I've tryed to do several things to get it to do this; but none of them would work...
This is the peice of code where the text tooltip will show:
<script language="JavaScript1.2">
if (document.layers){
document.write('<ilayer name="nscontainer" width="100%" height="100">')
document.write('<layer name="fade1" width="100%" height="100">')
document.write('</layer></ilayer>')
}
else
document.write('<DIV ID="fade1"></DIV>')
</script>
And I've tryed to put this peice of code in a
<p align="center">SCRIPT</p> tag, but that also wouldn't work...
I've also tried to make the actual link align center.. e.g:
<p><A HREF="http://www.wsabstract.com" onMouseOver="fade_up('fade1','<FONT SIZE=4 FACE=Verdana Align=Center>Visit WA for comprehensive JavaScript tutorials and over 400+ free scripts!</FONT>','000000')" onMouseOut="fade_down('fade1')">Website Abstraction</A> (notice the align=center... I just guessed that! (ofcourse, i guessed wrong :()
But even that wouldn't work!
And now, after doing my best- I turn my head to the communtiy here:
Can anyone help?!
Thanks for all your help!