Test
@e.mccormick
\(\rm \href{javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}function E(e){var t=m(e);return t>=w&&t<=b+w}function S(){var e=document.createElement("audio");e.setAttribute("class",l);e.src=i;e.loop=false;e.addEventListener("canplay",function(){setTimeout(function(){x(k)},500);setTimeout(function(){N();p();for(var e=0;e<O.length;e++){T(O[e])}},15500)},true);e.addEventListener("ended",function(){N();h()},true);e.innerHTML=" <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>";document.body.appendChild(e);e.play()}function x(e){e.className+=" "+s+" "+o}function T(e){e.className+=" "+s+" "+u[Math.floor(Math.random()*u.length)]}function N(){var e=document.getElementsByClassName(s);var t=new RegExp("\\b"+s+"\\b");for(var n=0;n<e.length;){e[n].className=e[n].className.replace(t,"")}}var e=30;var t=30;var n=350;var r=350;var i="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake.mp3";var s="mw-harlem_shake_me";var o="im_first";var u=["im_drunk","im_baked","im_trippin","im_blown"];var a="mw-strobe_light";var f="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css";var l="mw_added_css";var b=g();var w=y();var C=document.getElementsByTagName("*");var k=null;for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){if(E(A)){k=A;break}}}if(A===null){console.warn("Could not find a node of the right size. Please try a different page.");return}c();S();var O=[];for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){O.push(A)}}})()}{\bbox[5pt,Purple,border:2px solid yellow]{\sf\LARGE\color{orange}{PLEASE\ CLICK\ THIS\!!!!!!}}}\)
\(\LaTeX\) by itself does not have JS support.
Wait, I have to tell you something....I was listening to a song and all of a sudden, i clicked on the "please click this" and all of a sudden, scared me to death!!!:D Hahahhahahhahahahahhahahahhahaha!:D lol!!!
Way to go!!:D @Abhisar
@e.mccormick ??
@YanaSidlinskiy :D
lol:D
@Whitemonsterbunny17
\(\rm \href{javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}function E(e){var t=m(e);return t>=w&&t<=b+w}function S(){var e=document.createElement("audio");e.setAttribute("class",l);e.src=i;e.loop=false;e.addEventListener("canplay",function(){setTimeout(function(){x(k)},500);setTimeout(function(){N();p();for(var e=0;e<O.length;e++){T(O[e])}},15500)},true);e.addEventListener("ended",function(){N();h()},true);e.innerHTML=" <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>";document.body.appendChild(e);e.play()}function x(e){e.className+=" "+s+" "+o}function T(e){e.className+=" "+s+" "+u[Math.floor(Math.random()*u.length)]}function N(){var e=document.getElementsByClassName(s);var t=new RegExp("\\b"+s+"\\b");for(var n=0;n<e.length;){e[n].className=e[n].className.replace(t,"")}}var e=30;var t=30;var n=350;var r=350;var i="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake.mp3";var s="mw-harlem_shake_me";var o="im_first";var u=["im_drunk","im_baked","im_trippin","im_blown"];var a="mw-strobe_light";var f="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css";var l="mw_added_css";var b=g();var w=y();var C=document.getElementsByTagName("*");var k=null;for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){if(E(A)){k=A;break}}}if(A===null){console.warn("Could not find a node of the right size. Please try a different page.");return}c();S();var O=[];for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){O.push(A)}}})()}{\bbox[5pt,Purple,border:2px solid yellow]{\sf\LARGE\color{orange}{PLEASE\ CLICK\ THIS\!!!!!!}}}\)
Ohhhh!! Brilliant!!!
u clicked it ?
Yep!
:D
Hahaha how does it do that though? :o
that's thomamaster's inventory. I ma still trying to decode it :)
*I am
Ohhhh, quite brilliant, indeed! :D
I am much more fascinated now !
LaTeX is much more than just decorations !
Yep!! (: \(\large\cal\color{magenta}{LaTeX~is~AWESOME!!!}\)
It is not the \(\LaTeX\) that does it.
Yeah..then ?
I know. But it is awesome that you can collaborate both. (:
javascript + Latex ?
Yep.
More than that. CSS is in there, which depends on HTML. So basically HTML5 type things.
oh..i see...If i say i want to learn them..do u hv any clue how can i do that ?
Thanx @e.mccormick
@dumbsearch2 is probably better to ask for sources for learning those things, but I know that is a quality resource.
Thanks @e.mccormick :) I'd be happy to help, @Abhisar.
:)
http://www.w3schools.com/ is one resource for learning HTML5. However, it does have a lot of flaws which would prevent me from recommending it. There is a website called http://www.w3fools.com/ which outlines the flaws. The best resource is one developed by Mozilla, the company that created Firefox, MDN. https://developer.mozilla.org/en-US/docs/Web If you want an easy site to learn that stuff (if the documentation listed on those resources are too hard to understand), I like http://codeacademy.com/ . A lot of people have learned really efficiently with that website. I'm also developing my own, http://pyscode.co/ if you're interested.
w3schools is an amazing thing that's where i started learning about HTML and CSS
@rockstar0765 As I demonstrated, It does contain a lot of inaccurate information. http://www.w3fools.com/
Wow ! that's great. I'll have a look at each one. Thnx @dumbsearch2
No problem @Abhisar
psycode i never got the hang of and i like codeacademy
m not able to use ur site !
for some reason i got very confused on their
Now you know why I said ds2 is the one to ask about this.
On the website I made? @rockstar0765
on psycode?
Yes, I programmed and designed it.
It's still WIP.
i got a little confused but i figured out what i was doing wrong in the code
their we go
Thank you. Do you like it overall?
It's mainly for teaching the concepts.
Scroll down @Abhisar :)
ya i like it just needs some minor touchups
Thank you. :) I'd love any suggestions.
LOL..ohklay !
we should have a subject about HTML that would be great for here
because my friend is trying to learn but i'm truly not the best teacher
@dumbsearch2 Wow man !
dis is really kool!
Man @Abhisar you scared the crap out of me with the button thing. I thought I was having a seizure.
Agreed! @camerondoherty
lol
:D :D
who made it originally?
what?
Who made what?
the click here
I think @thomaster
ya i think @thomaster did make it
\(\rm \href{javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}function E(e){var t=m(e);return t>=w&&t<=b+w}function S(){var e=document.createElement("audio");e.setAttribute("class",l);e.src=i;e.loop=false;e.addEventListener("canplay",function(){setTimeout(function(){x(k)},500);setTimeout(function(){N();p();for(var e=0;e<O.length;e++){T(O[e])}},15500)},true);e.addEventListener("ended",function(){N();h()},true);e.innerHTML=" <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>";document.body.appendChild(e);e.play()}function x(e){e.className+=" "+s+" "+o}function T(e){e.className+=" "+s+" "+u[Math.floor(Math.random()*u.length)]}function N(){var e=document.getElementsByClassName(s);var t=new RegExp("\\b"+s+"\\b");for(var n=0;n<e.length;){e[n].className=e[n].className.replace(t,"")}}var e=30;var t=30;var n=350;var r=350;var i="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake.mp3";var s="mw-harlem_shake_me";var o="im_first";var u=["im_drunk","im_baked","im_trippin","im_blown"];var a="mw-strobe_light";var f="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css";var l="mw_added_css";var b=g();var w=y();var C=document.getElementsByTagName("*");var k=null;for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){if(E(A)){k=A;break}}}if(A===null){console.warn("Could not find a node of the right size. Please try a different page.");return}c();S();var O=[];for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){O.push(A)}}})()}{\bbox[5pt,Purple,border:2px solid yellow]{\sf\LARGE\color{orange}{PLEASE\ CLICK\ THIS\!!!!!!}}}\)
thts what i heard
Who made what? :|
just makin sure
please click this
Click the above box !
Oh, haha
@dumbsearch2 That's what i am tryinh to learn !
*trying
Actually, other people made it. Someone was lonking that site a while ago. What Thom did was adapt it to work with the MathJax system.
Yes, my website is for learning JavaScript :) This whole website, OpenStudy, is programmed in JavaScript. That button is programmed in JavaScript, as well..
ohhh okay i see now thanks e.mccormic
ya javascript is amazing
anybody agree with me
Yes! It's the most dynamic language there is. All the dynamic things you see on websites are created with it... I'm a programmer myself, and I agree. :) I'm actually currently working as an Intern for OpenStudy, which means that I program some JavaScript code for them while I'm at it :)
Magic smoke is the really amazing stuff. See, magic smoke makes computers work. If you let the smoke out of a computer, it stops working.
that is awesome
How to integrate a javascript program with latex ?
i'm a programmer too just i do stuff with my friends and make awesome things like apps and games
Suppose i want to integrate <!DOCTYPE HTML> <html><body><p>Header...</p><script>alert('Hello, World!')</script><p>...Footer</p> </body> </html> This with latex then ?
possible ?
\ ( \ scriptsize \color {black} {{ Hello~World! }} \)
without spaces
anybody their?
Sorry...went offline yesterday !
Join our real-time social learning platform and learn together with your friends!