ositogrande
10-16-2008, 03:53 AM
I am using javascript tooltip code in a webpage that needs many many tips.
Am using code like this:
<div id="balloon1" class="balloonstyle" style="width: 350px; background-color: lightyellow">This software will blah blah blah.....</div>
<div id="balloon2" class="balloonstyle" style="width: 350px; background-color: lightyellow">If you cklick here then....blah blah blah.....</div>
<div id="balloon3"........etc
My query is this is it possible to have all the code above in another file to unclutter the webpage?
Right now, in the actual cell somewhere below I make a call like this:
<td><a href="http://#" rel="balloon1>Software</a></div></td>
Hopefully I made myself clear if not I apologize but am new to javascript.
OG
Am using code like this:
<div id="balloon1" class="balloonstyle" style="width: 350px; background-color: lightyellow">This software will blah blah blah.....</div>
<div id="balloon2" class="balloonstyle" style="width: 350px; background-color: lightyellow">If you cklick here then....blah blah blah.....</div>
<div id="balloon3"........etc
My query is this is it possible to have all the code above in another file to unclutter the webpage?
Right now, in the actual cell somewhere below I make a call like this:
<td><a href="http://#" rel="balloon1>Software</a></div></td>
Hopefully I made myself clear if not I apologize but am new to javascript.
OG