external js prblem

Z

zhueliku

Guest
Is it possible to have docwrite this such of a code within a JS file?:
Code:
document.write(<tr><td onMouseover="dropdownmenu(this, event, menu1, '165px')" onMouseout="delayhidemenu()" align='left' valign='top' align='left' class='H'><a href=''>Home<\/a><\/tr><\/td>);
ive tried everything but i never give up being lazy :) but its not possible to have ' and " within a doc.write at the same time? when I use document.write("") I can allow ' within it but must end stuff like this <\/table>. When I have document.write('') It will allow " type written stuff however not any '...
Is it possible to put :
Code:
document.write(<tr><td onMouseover="dropdownmenu(this, event, menu1, '165px')" onMouseout="delayhidemenu()" align='left' 
valign='top' align='left' class='H'><a href=''>Home<\/a><\/tr><\/td>);
within a JS file or not or is there other alternatives? :nuts:
 
P

Persen

Guest
Code:
document.write("<tr><td onMouseover=\"dropdownmenu(this, event, menu1, '165px')\"
and so on
 
Z

zhueliku

Guest
:eek: WOW TY, I figured there was some way. Again, thanks :) works like a charm!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top