Jump to content


Photo

CONVERTING JAVE TO HTML


  • Please log in to reply
1 reply to this topic

#1 Audin

Audin
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 30 July 2006 - 04:12 AM

how do i do it? i want this to be in HTML format:

<script language="JavaScript1.2">


var ns6=document.getElementById&&!document.all?1:0

var head="display:''"
var folder=''

function expandit(curobj){
folder=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style
if (folder.display=="none")
folder.display=""
else
folder.display="none"
}

//-->
</script>



thank you! :)

#2 alecjw

alecjw
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts
  • LocationHatfield, Herts, UK

Posted 07 August 2006 - 11:08 AM

You can't convert JS to HTML, they're two completely different things. JS is a scripting language, html is a markup language. Converting JS to HTML is like converting eating to food, which is impossible.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users