![Kaustubh](https://www.crazyengineers.com/img/avatar.jpg)
Member • Dec 17, 2011
Member • Dec 17, 2011
Member • Dec 17, 2011
Member • Dec 17, 2011
Member • Dec 18, 2011
Member • Dec 18, 2011
Administrator • Dec 18, 2011
Member • Dec 18, 2011
Member • Dec 18, 2011
Not a stupid question, but a right one. If you are going to use the FBML, you are not going to type JavaScript. Instead, you will be writing the FBML Syntax, which is in no way related to JavaScript. The JS API, then translates the content to the native JS for running! 😀 Hope this clears.The_Big_KWell, my question might be stupid: If it's a JS library, why is it called a 'markup' language?
It is a huge collection of good functions, which are ready to use. 😀 For instance, if you want to make a fade effect using JavaScript, in the (g)olden days, before jQuery (a JavaScript Library) came, we used to do this way:musicfreakmandysir what is js library ?
<script type="text/javascript"> var TimeToFade = 1000.0; function fade(eid) { var element = document.getElementById(eid); if(element == null) return; if(element.FadeState == null) { if(element.style.opacity == null || element.style.opacity == '' || element.style.opacity == '1') { element.FadeState = 2; } else { element.FadeState = -2; } } if(element.FadeState == 1 || element.FadeState == -1) { element.FadeState = element.FadeState == 1 ? -1 : 1; element.FadeTimeLeft = TimeToFade - element.FadeTimeLeft; } else { element.FadeState = element.FadeState == 2 ? -1 : 1; element.FadeTimeLeft = TimeToFade; setTimeout("animateFade(" + new Date().getTime() + ",'" + eid + "')", 33); } } </script>Whereas now, with the help of jQuery, a powerful JavaScript Library, you can achieve the same effect by:
<script type="text/javascript" src="https://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(element).fadeOut("slow"); </script>Did you understand the use of library?
Member • Dec 18, 2011
Member • Dec 18, 2011
Member • Dec 18, 2011
https://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm https://www.dannyg.com/ref/javavsjavascript.html https://en.wikipedia.org/wiki/JavaScript
Member • Dec 18, 2011
HTML5 extensively uses JavaScript, if you don't know! 😀musicfreakmandyone more thing if we use html5 then also we cant use java script isnt it????
Member • Dec 18, 2011
Member • Dec 18, 2011
Member • Dec 18, 2011
Applet has been stopped using since XHTML 1.1!musicfreakmandyok then we dont use applets in html5 which is basically developed using java language which is developed by sun......but html5 uses javascript which belongs to net scape.....????
Right! If you would like to add small content of post, please edit the post. 😀 Don't bump, Biggie might not like! 😀musicfreakmandyam i correct?