UNPKG

ds-algo-study

Version:

Just experimenting with publishing a package

33 lines (31 loc) 806 B
<!doctype html> <meta charset="utf8"> <html> <head> <style> body { width: 120%; margin: 0; padding: 0; } iframe { width: 24%; border-width: 0; } </style> <script src="../lib/jquery/jquery.js"></script> <script src="../lib/underscore/underscore.js"></script> <script> $(function(){ $.each(['functional', 'functional-shared', 'prototypal', 'pseudoclassical'], function(i, variant){ $('<iframe src="' + window.location.toString().replace('.html', 'Section.html?') + variant + '" />').appendTo(document.body); }); $(window).resize(function() { $('iframe').height($(this).height()); }).trigger('resize'); }); </script> </head> <body> </body> </html>