Advertisement
ndfjay

Rieno Test

Aug 25th, 2017
2,248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('head').append("<link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css?family=Poiret+One'>");
  2. $('body').append(`<style>
  3.   .imvustylez_products_marquee{margin:0px auto; width: 960px; height: 180px; overflow: hidden;}
  4.         .imvustylez_products_marquee [id$="_panel_header"] {display: none !important; font-size: 1px} .imvustylez_products_marquee [id$="_panel_body"] {line-height: 1px;}
  5.         .imvustylez_products_marquee .productbox,.imvustylez_products_marquee .productbox img{width:100px !important;height:80px !important; border-radius: 5px;}
  6.   #prods{
  7.     position: absolute;
  8.     bottom: 50px;
  9.     left: calc(50vw - 480px);
  10.   }
  11.  
  12.  
  13.     @-webkit-keyframes hue {
  14.       0%  { -webkit-filter: hue-rotate(0deg); }
  15.       100% { -webkit-filter: hue-rotate(360deg); }
  16.     }
  17.  
  18.     #mediabtnsCont{
  19.     background: #121212;
  20.     width:280px;
  21.     height: 28px;
  22.     opacity: 1;
  23.     position: absolute;
  24.     float:left;
  25.     z-index: 900;
  26.     margin-left: 50px;
  27.     margin-top: 13px;
  28.     border-radius: 15px;
  29.     transition: opacity .4s ease-out;
  30.     -moz-transition: opacity .4s ease-out;
  31.     -webkit-transition: opacity .4s ease-out;
  32.     -o-transition: opacity .4s ease-out;
  33. }
  34.  
  35. #mediabtnsCont:hover{
  36.     opacity: 1;
  37.     transition: opacity .4s ease-in;
  38.     -moz-transition: opacity .4s ease-in;
  39.     -webkit-transition: opacity .4s ease-in;
  40.     -o-transition: opacity .4s ease-in;
  41. }
  42.  
  43. #mediabtnp {
  44.     background: url(https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_7Tr7FJN8Cu574473056.png);
  45.     width: 28px;
  46.     height: 28px;
  47.     cursor: pointer;
  48.     opacity: .4;
  49.     float: left;
  50.     position: relative;
  51.     margin-right: 28px;
  52.     transition: opacity .4s ease-in;
  53.     -moz-transition: opacity .4s ease-in;
  54.     -webkit-transition: opacity .4s ease-in;
  55.     -o-transition: opacity .4s ease-in;
  56. }
  57.  
  58. #mediabtnp:hover{
  59.     opacity: 1;
  60.     transition: opacity .4s ease-in;
  61.     -moz-transition: opacity .4s ease-in;
  62.     -webkit-transition: opacity .4s ease-in;
  63.     -o-transition: opacity .4s ease-in;
  64. }
  65.  
  66. #mediabtnp2 {
  67.     background: url(https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_7Tr7FJN8Cu574473056.png);
  68.     width: 28px;
  69.     height: 28px;
  70.     cursor: pointer;
  71.     opacity: .4;
  72.     float: left;
  73.     position: relative;
  74.     margin-right: 28px;
  75.     transition: opacity .4s ease-in;
  76.     -moz-transition: opacity .4s ease-in;
  77.     -webkit-transition: opacity .4s ease-in;
  78.     -o-transition: opacity .4s ease-in;
  79. }
  80.  
  81. #mediabtnp2:hover{
  82.     opacity: 1;
  83.     transition: opacity .4s ease-in;
  84.     -moz-transition: opacity .4s ease-in;
  85.     -webkit-transition: opacity .4s ease-in;
  86.     -o-transition: opacity .4s ease-in;
  87. }
  88.  
  89. #mediabtns {
  90.     background: url(https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_7Tr7FJN8Cu574473056.png);
  91.     width: 28px;
  92.     height: 28px;
  93.     z-index: 901;
  94.     margin-right: 28px;
  95.     float: left;
  96.     cursor: pointer;
  97.     position: relative;
  98.     opacity: .4;
  99.     transition: opacity .4s ease-in;
  100.     -moz-transition: opacity .4s ease-in;
  101.     -webkit-transition: opacity .4s ease-in;
  102.     -o-transition: opacity .4s ease-in;
  103. }
  104.  
  105. #mediabtns:hover{
  106.     opacity: 1;
  107.     transition: opacity .4s ease-in;
  108.     -moz-transition: opacity .4s ease-in;
  109.     -webkit-transition: opacity .4s ease-in;
  110.     -o-transition: opacity .4s ease-in;
  111. }
  112. .mediaPlayerContainer{
  113.   height: 42px;
  114.   position: relative;
  115.   left: -25px;
  116.   top: -15px;
  117. }
  118. #mediaPlayer{
  119.   height: 42px;
  120.   width: 950px;
  121.   float: left;
  122. }
  123.     #visitors_panel{
  124.         width: 500px !important;
  125.         position: absolute !important;
  126.         top: -25px !important;
  127.         left:calc(50% - 250px) !important;
  128.         overflow-x: hidden !important;
  129.         overflow-y: hidden !important;
  130.         height: 150px !important;
  131.     }
  132.     #badges_panel{
  133.         width: 150px !important;
  134.         position: absolute !important;
  135.         top: 45px !important;
  136.         left:calc(50% - 75px) !important;
  137.         pointer-events:all;
  138.     }
  139.    #aboutme_panel, #contact_panel, #dev_panel, #wishlist_panel,
  140.    #messages_panel, #tagcloud_panel, #stickers_panel, #collect_panel,
  141.    #room_panel, #rankings_panel, #cool_panel, #gallery_panel, #friends_panel,
  142.    #streetteam_panel, #blog_panel, #video_panel_header, #music_panel, #rss_panel, #outfits_panel {
  143.       display: none !important;
  144.    }
  145.    #rightColumn {
  146.       display:none !important;
  147.    }
  148.  .imvustylez_products_marquee{margin:0px auto}
  149.  .imvustylez_products_marquee [id$="_panel_header"] {display: none !important; font-size: 1px}
  150.  .imvustylez_products_marquee [id$="_panel_body"] {line-height: 1px;} .imvustylez_products_marquee
  151.  .productbox,
  152.  .imvustylez_products_marquee
  153.  .productbox img{width:100px !important;height:80px !important;}
  154.  #headerbox { display: none !important; }
  155.   #footerBanner { display: none !important; }
  156.   #footer_style { display: none !important; }
  157.   #footer_panel { display: none !important; }
  158.   #ad_panel { display: none !important; }
  159.   #dev_panel{display:none !important;}
  160.   #imvuTopNav{display:none !important;}
  161.   #ccpheader_leaderboard{display: none !important;}
  162. #url_panel_colRow, .imvucodes_net { display:none !important; }
  163. .paneltitle, .panelmenu, .imvucodes_net { display:none !important; }
  164. </style>`);
  165. $('#url_panel_extra_html_show').append(
  166.     '<div id="contentArea" style="min-width: 960px; width: 100vw; position: absolute; top: 0px; left: 0px"></div>'
  167. );
  168.  
  169. var loveName = 'LadyLaura3';
  170. var lovetext = 'Oh but of course, Princess.';
  171. var hasLove = loveName ? true : false;
  172. //var pages = [];
  173.  
  174. var spec = false;
  175. function createElement(s) {
  176.     this.def = {
  177.         width: s.width ? s.width : '100%',
  178.         height: s.height ? s.height : '500px',
  179.         background: s.background ? s.background : 'background-color: rgba(0,0,0,1)',
  180.         yPos: s.yOff ? s.yOff : 'top: 0px',
  181.         xPos: s.xOff ? s.xOff : 'left: 0px',
  182.         content: s.content ? s.content : '',
  183.         align: s.align ? s.align : 'center',
  184.         zIndex: s.zIndex ? s.zIndex : '1',
  185.         position: s.position ? s.position : 'relative',
  186.         float: s.float ? s.float : 'left',
  187.         id: s.id ? s.id : 'div',
  188.         backgroundAttach: s.backgroundAttachment ? s.backgroundAttachment : 'initial',
  189.         backgroundPos: s.backgroundPosition ? s.backgroundPosition : 'initial',
  190.         backgroundRep: s.backgroundRepeat ? s.backgroundRepeat : 'initial',
  191.         backgroundSize: s.backgroundSize ? s.backgroundSize : 'initial',
  192.         blendMode: s.blendMode ? s.blendMode : 'initial'
  193.     };
  194.  
  195.     this.style =
  196.         'width: ' +
  197.         this.def.width +
  198.         '; height: ' +
  199.         this.def.height +
  200.         '; ' +
  201.         this.def.yPos +
  202.         '; ' +
  203.         this.def.xPos +
  204.         '; text-align: ' +
  205.         this.def.align +
  206.         '; position: ' +
  207.         this.def.position +
  208.         '; float: ' +
  209.         this.def.float +
  210.         '; background-attachment: ' +
  211.         this.def.backgroundAttach +
  212.         '; background-position: ' +
  213.         this.def.backgroundPos +
  214.         '; background-repeat: ' +
  215.         this.def.backgroundRep +
  216.         '; background-size: ' +
  217.         this.def.backgroundSize +
  218.         '; mix-blend-mode: ' +
  219.         this.def.blendMode +
  220.         '; ' +
  221.         this.def.background;
  222.  
  223.     this.template =
  224.         `<div id='` +
  225.         this.def.id +
  226.         `' style='` +
  227.         this.style +
  228.         `'>
  229.     ` +
  230.         this.def.content +
  231.         `
  232.     </div>`;
  233.  
  234.     this.init = function() {
  235.         $('#contentArea').append(this.template);
  236.     };
  237. }
  238.  
  239. function genFriends(s) {
  240.     this.friends = s.friends ? s.friends : [];
  241.     this.styleDef = {
  242.         scale: s.scale ? s.scale : '1',
  243.         radius: s.radius ? s.radius : '0px',
  244.         spacing: s.spacing ? s.spacing : '5px',
  245.         overlay: s.overlay ? s.overlay : '#000',
  246.         opacity: s.opacity ? s.opacity : '0',
  247.         color: s.color ? s.color : '#fff',
  248.         font: s.font ? s.font : 'Poiret One'
  249.     };
  250.     this.CSSStyle =
  251.         `
  252.     <style>
  253.     #fpic{
  254.         width: 100%;
  255.         height: 100%;
  256.         font-family: '` +
  257.         this.styleDef.font +
  258.         `';
  259.         color: ` +
  260.         this.styleDef.color +
  261.         `;
  262.         text-alin: center;
  263.         background: ` +
  264.         this.styleDef.overlay +
  265.         `;
  266.         border-radius: ` +
  267.         this.styleDef.radius +
  268.         `;
  269.         opacity: 0;
  270.         transition: opacity .4s ease-in;
  271.         -moz-transition: opacity .4s ease-in;
  272.         -webkit-transition: opacity .4s ease-in;
  273.         -o-transition: opacity .4s ease-in;
  274.         cursor: context-menu;
  275.     }
  276.     #fpic:hover{
  277.         opacity: ` +
  278.         this.styleDef.opacity +
  279.         `;
  280.         transition: opacity .4s ease-in;
  281.         -moz-transition: opacity .4s ease-in;
  282.         -webkit-transition: opacity .4s ease-in;
  283.         -o-transition: opacity .4s ease-in;
  284.     }
  285.     </style>`;
  286.     this.template = ``;
  287.  
  288.     this.friends.forEach(function(val, index, arr) {
  289.         this.style =
  290.             'background-size: cover; background-repeat: no-repeat; background-image: url(https://www.imvu.com/catalog/web_av_pic.php?av=' +
  291.             val +
  292.             '); width: calc(160px * ' +
  293.             this.styleDef.scale +
  294.             '); height: calc(220px * ' +
  295.             this.styleDef.scale +
  296.             '); border-radius: ' +
  297.             this.styleDef.radius +
  298.             '; margin-left: ' +
  299.             this.styleDef.spacing +
  300.             '; margin-bottom: ' +
  301.             this.styleDef.spacing +
  302.             '; float: left';
  303.         this.template =
  304.             this.template +
  305.             `
  306.                 <div style="` +
  307.             this.style +
  308.             `">
  309.                     <div id="fpic">
  310.                         <div style="position: relative; top: calc(50% - 15px);">` +
  311.             val +
  312.             `</div>
  313.                     </div>
  314.                 </div>`;
  315.     });
  316.     return this.CSSStyle + this.template;
  317. }
  318.  
  319. new createElement({
  320.     height: '100vh; pointer-events:none',
  321.     id: 'home',
  322.     background: 'background: rgba(255,255,255,.2)',
  323.     content: `
  324.         <div id="urect" style="pointer-events:none; background: rgba(54,54,54,.5); border-radius: 5px; width: 250px; height: 70px; position: absolute; top: calc(50% - 35px); left: calc(50% - 125px);">
  325.             <div style="pointer-events:all; border-style: dashed solid dashed solid; border-width: 5px; border-color: #f2f2f2; width: 230px; height: 50px; position: absolute; top: 5px; left: 5px;">
  326.                 <div id="userName" style="pointer-events:all; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #f2f2f2">
  327.                     ®ieno
  328.                 </div>
  329.             </div>
  330.        
  331.         </div>
  332.     `
  333. }).init();
  334.  
  335. if (hasLove) {
  336.     new createElement({
  337.         height: '150px',
  338.         background:
  339.             'background-image: url(https://imvu.riedesign.tk/images/nature.jpg)',
  340.         backgroundRepeat: 'no-repeat',
  341.         backgroundSize: 'cover',
  342.         backgroundPosition: 'center',
  343.         backgroundAttachment: 'fixed',
  344.         content: `
  345.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.8);">
  346.     <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #FFF; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
  347.  
  348.         <div style="position: absolute; top: calc(50% - 20px); width: 100%; left: 0px; height: 40px; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #363636">
  349.             <center>
  350.             ♥ Thy Princess♥
  351.             </center>
  352.         </div>
  353.     </div>
  354.     </div>
  355.     `
  356.     }).init();
  357.  
  358.     new createElement({
  359.         height: '550px',
  360.         background:
  361.             'background-image: url(https://imvu.riedesign.tk/images/nature.jpg)',
  362.         backgroundRepeat: 'no-repeat',
  363.         backgroundSize: 'cover',
  364.         backgroundPosition: 'center',
  365.         backgroundAttachment: 'fixed',
  366.         id: 'wtf',
  367.         content:
  368.             `
  369.     <div style="width: 100%; height: 100%; background: rgba(255,255,255,0.6); position: absolute; top: 0px; left: 0px;">
  370.         <div style="border-radius: 5px; width: calc(160px * 2); height: calc(220px * 2); background-image: url(https://www.imvu.com/catalog/web_av_pic.php?av=` +
  371.             loveName +
  372.             `); background-size: cover; position: absolute; top: calc(50% - calc(calc(220px * 2) / 2)); left: 50px">
  373.         </div>
  374.  
  375.         <div style="width: 450px; height: 250px; font-family: 'Poiret One'; font-size: 20px; color: #363639; position: absolute; right: 10%; font-weight: bolder; top: calc(50% - 125px)">
  376.             <p style="font-family: 'Poiret One'; color: #363639">
  377.                 ${lovetext}
  378.             </p>
  379.         </div>
  380.     </div>`
  381.     }).init();
  382. }
  383. new createElement({
  384.     height: '150px',
  385.     background:
  386.         'background-image: url(https://goldwallpapers.com/uploads/posts/iphone-hipster-wallpaper/iphone_hipster_wallpaper_021.jpg)',
  387.     backgroundRepeat: 'no-repeat',
  388.     backgroundSize: 'cover',
  389.     backgroundPosition: 'center',
  390.     backgroundAttachment: 'fixed',
  391.     content: `
  392.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.8);">
  393.     <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #FFF; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
  394.  
  395.         <div style="position: absolute; top: calc(50% - 20px); width: 100%; left: 0px; height: 40px; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #363636">
  396.             <center>
  397.             Who Am I?
  398.             </center>
  399.         </div>
  400.     </div>
  401.     </div>
  402.     `
  403. }).init();
  404.  
  405. new createElement({
  406.     height: '650px',
  407.     id: 'about',
  408.     background:
  409.         'background-image: url(https://goldwallpapers.com/uploads/posts/iphone-hipster-wallpaper/iphone_hipster_wallpaper_021.jpg)',
  410.     backgroundRepeat: 'no-repeat',
  411.     backgroundSize: 'cover',
  412.     backgroundPosition: 'center',
  413.     backgroundAttachment: 'fixed',
  414.     content:
  415.         `
  416.     <style>
  417.     #cnt{
  418.         width: 240px;
  419.         float: left;
  420.         text-align: center;
  421.         font-family: 'Poiret One';
  422.         color: #363639;
  423.         font-weight: bolder;
  424.     }
  425.     </style>
  426.     <div style="width: 100%; height: 100%; background: rgba(255,255,255,.6); position: absolute; top: 0px; left: 0px;">
  427.     <div style="width: 960px; height: 250px; position: absolute; top: calc(25% - 125px); left: calc(50% - 480px)">
  428.  
  429.         <div id="cnt">
  430.         <h1 style="font-family: 'Poiret One'">Interests</h1>
  431.         - Web Design<br/>
  432.         - Neon Product Creation<br/>
  433.         - All music<br/>
  434.         - PC Gaming<br/>
  435.         - Articulate Conversations<br/>
  436.         </div>
  437.         <div id="cnt">
  438.         <h1 style="font-family: 'Poiret One'">Personal</h1>
  439.         - Name: Cody<br/>
  440.         - Age: 26<br/>
  441.         - Location: Leeds, England<br/>
  442.         - Profession: Owner of RieDesign<br/>
  443.         ${(hasLove ? "Taken By - "+loveName: '')}
  444.         '<br/>'
  445.         </div>
  446.         <div id="cnt">
  447.         <h1 style="font-family: 'Poiret One'">Rooms</h1>
  448.         - ® | RieDesign<br/>
  449.         - .:: Lockdown ::.<br/>
  450.         - Petrichor<br/>
  451.         </div>
  452.         <div id="cnt">
  453.         <h1 style="font-family: 'Poiret One'">Pricing</h1>
  454.         - Homepage: $30 or 35k<br/>
  455.         - Neon Product: 2.5k per item ( 15k per private custom )<br/>
  456.         </div>
  457.     </div>
  458.     </div>`
  459. }).init();
  460.  
  461. new createElement({
  462.     height: '150px',
  463.     background: 'background-image: url(https://data.whicdn.com/images/62959604/original.jpg)',
  464.     backgroundRepeat: 'no-repeat',
  465.     backgroundSize: 'cover',
  466.     backgroundPosition: 'center',
  467.     backgroundAttachment: 'fixed',
  468.     content: `
  469.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.8);">
  470.     <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #FFF; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
  471.  
  472.         <div style="position: absolute; top: calc(50% - 20px); width: 100%; left: 0px; height: 40px; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #363636">
  473.             <center>
  474.             Who do I know?
  475.             </center>
  476.         </div>
  477.     </div>
  478.     </div>
  479.     `
  480. }).init();
  481.  
  482. new createElement({
  483.     height: '500px',
  484.     id: 'friends',
  485.     background: 'background-image: url(https://data.whicdn.com/images/62959604/original.jpg)',
  486.     backgroundRepeat: 'no-repeat',
  487.     backgroundSize: 'cover',
  488.     backgroundPosition: 'center',
  489.     backgroundAttachment: 'fixed',
  490.     content:
  491.         `<div style="width: 100%; height: 100%; background: rgba(255,255,255,.6); position: absolute; top: 0px; left: 0px;">
  492.  
  493.     <style>
  494.     #cnt2{
  495.         width: 100vw;
  496.         text-align: center;
  497.         font-family: 'Poiret One';
  498.         overflow-x: hidden;
  499.         overflow-y: auto;
  500.         position: absolute;
  501.         top: 125px;
  502.     }
  503.     </style>
  504.     <center>
  505.         <div id="cnt2">
  506.         ` +
  507.         genFriends({
  508.             friends: [
  509.                 loveName ? loveName : 'Xelvar',
  510.                 'Begged',
  511.                 'Lucidity',
  512.                 'SenseiLuke',
  513.                 'Anry',
  514.                 'Lura',
  515.                 'DeadlySin',
  516.                 'Pixemath'
  517.             ],
  518.             scale: '0.75',
  519.             spacing: '10px',
  520.             radius: '15px',
  521.             opacity: '.85',
  522.             overlay: '#000'
  523.         }) +
  524.         `
  525.         </div>
  526.     </center>
  527.  
  528.     </div>`
  529. }).init();
  530.  
  531. new createElement({
  532.     height: '150px',
  533.     background:
  534.         'background-image: url(https://wallpapertag.com/wallpaper/full/7/e/f/254744-free-background-tumblr-hipster-1920x1200-desktop.jpg)',
  535.     backgroundRepeat: 'no-repeat',
  536.     backgroundSize: 'cover',
  537.     backgroundPosition: 'center',
  538.     backgroundAttachment: 'fixed',
  539.     content: `
  540.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.8);">
  541.     <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #FFF; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
  542.  
  543.         <div style="position: absolute; top: calc(50% - 20px); width: 100%; left: 0px; height: 40px; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #363636">
  544.             <center>
  545.             Layouts by me
  546.             </center>
  547.         </div>
  548.     </div>
  549.     </div>
  550.     `
  551. }).init();
  552.  
  553. new createElement({
  554.     height: '700px',
  555.     background:
  556.         'background-image: url(https://wallpapertag.com/wallpaper/full/7/e/f/254744-free-background-tumblr-hipster-1920x1200-desktop.jpg)',
  557.     backgroundRepeat: 'no-repeat',
  558.     backgroundSize: 'cover',
  559.     backgroundPosition: 'center',
  560.     backgroundAttachment: 'fixed',
  561.     content: `
  562.     <div style="width: 100%; height: 100%; background: rgba(255,255,255,.6); position: absolute; top: 0px; left: 0px;">
  563.        
  564.         <div style="height: 410px; position: absolute; top: calc(50% - 205px); width: 100%; white-space: nowrap !important; overflow: auto">
  565.           <a target="_new" href="https://avatars.imvu.com/DeadlySin"><img height= 400 style="" src="https://imvu.riedesign.tk/Homepages/DeadlySin/deadlysin.png" title="DeadlySin Homepage" /></a>
  566.  
  567.           <a target="_new" href="https://avatars.imvu.com/Ghored"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_vok7nPGWRY1266589541.png" title="Ghored Homepage" /></a>
  568.  
  569.           <a target="_new" href="https://avatars.imvu.com/diov"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_rKyNWCOsdO1871744664.png" title="Diov Homepage" /></a>
  570.  
  571.           <a target="_new" href="https://avatars.imvu.com/anry"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_IPVBvGJJlN1476045789.png" title="Anry Homepage" /></a>
  572.  
  573.           <a target="_new" href="https://avatars.imvu.com/rieno"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_bAP0dR3Dqj163984236.png" title="Rieno Homepage" /></a>
  574.  
  575.           <a href="javascript(0)"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_YJ1f3gpQHC861927288.png" title="Techno" /></a>
  576.  
  577.           <a href="javascript(0)"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_wpzmDAGHqG801985421.png" title="x-hold" /></a>
  578.  
  579.           <a href="javascript(0)"><img height= 400 style="" src="https://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_keDyO0gXTh667951722.png" title="Pokedex" /></a>
  580.          
  581.           </div>
  582.  
  583.     </div>`
  584. }).init();
  585.  
  586. new createElement({
  587.     height: '150px',
  588.     background: 'background-image: url(https://www.picamon.com/wp-content/uploads/2015/07/Hipster-Backgrounds.jpg)',
  589.     backgroundRepeat: 'no-repeat',
  590.     backgroundSize: 'cover',
  591.     backgroundPosition: 'center',
  592.     backgroundAttachment: 'fixed',
  593.     content: `
  594.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.8);">
  595.     <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #FFF; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
  596.  
  597.         <div style="position: absolute; top: calc(50% - 20px); width: 100%; left: 0px; height: 40px; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #363636">
  598.             <center>
  599.             Support me with my Banner
  600.             </center>
  601.         </div>
  602.     </div>
  603.     </div>
  604.     `
  605. }).init();
  606.  
  607. new createElement({
  608.     height: '100vh',
  609.     background: 'background-image: url(https://www.picamon.com/wp-content/uploads/2015/07/Hipster-Backgrounds.jpg)',
  610.     backgroundRepeat: 'no-repeat',
  611.     backgroundSize: 'cover',
  612.     backgroundPosition: 'center',
  613.     backgroundAttachment: 'fixed',
  614.     content: `
  615.     <style>
  616.     .rienoBanner{
  617.     margin-left: calc(50vw - 225px);
  618.     width: 450px;
  619.     height: 450px;
  620.     -webkit-animation: hue 60s linear infinite;
  621.     background-image: url(https://imvu.riedesign.tk/IMVUShop/BannerLogo.png);
  622.     background-size: cover;
  623.     margin-bottom: 15px;
  624.     opacity: 1;
  625.     }
  626.     </style>
  627.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.6)">
  628.     <center>
  629.  
  630.         <div id="cnt2">
  631.         <a href="https://www.imvu.com/shop/web_search.php?manufacturers_id=11703356&r=acw"><div class="rienoBanner"></div></a>
  632.         <input type="textArea" readonly="true" onclick="this.select(); document.execCommand('copy')" value="<!-- Rienos Banner --> <style> .rienoBanner{width: 250px; height: 250px; -webkit-animation: hue 60s linear infinite;} @-webkit-keyframes hue {0% { -webkit-filter: hue-rotate(0deg); } 100%{-webkit-filter: hue-rotate(360deg);} opacity: .5;} .rienoBanner:hover{opacity: 1;}</style> <a href='https://www.imvu.com/shop/web_search.php?manufacturers_id=11703356&r=acw' ><img src='https://imvu.riedesign.tk/IMVUShop/BannerLogo.png' class='rienoBanner' /></a>" />
  633.         </div>
  634.     </center>
  635.     </div>`
  636. }).init();
  637.  
  638. new createElement({
  639.     height: '150px',
  640.     background: 'background-image: url(https://www.picamon.com/wp-content/uploads/2015/07/Hipster-Backgrounds.jpg)',
  641.     backgroundRepeat: 'no-repeat',
  642.     backgroundSize: 'cover',
  643.     backgroundPosition: 'center',
  644.     backgroundAttachment: 'fixed',
  645.     content: `
  646.     <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(255,255,255,.8);">
  647.     <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #FFF; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
  648.  
  649.         <div style="position: absolute; top: calc(50% - 20px); width: 100%; left: 0px; height: 40px; font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #363636">
  650.             <center>
  651.             ®ieno
  652.             </center>
  653.         </div>
  654.     </div>
  655.     </div>
  656.     `
  657. }).init();
  658.  
  659. new createElement({
  660.     height: '100vh',
  661.     background: 'background: rgba(255,255,255,.2)',
  662.     content: `
  663.         <div id="urect" style="background: rgba(54,54,54,.5); border-radius: 5px; width: 850px; height: 70px; position: absolute; top: calc(50% - 35px); left: calc(50% - 425px);">
  664.             <div style="border-style: dashed solid dashed solid; border-width: 5px; border-color: #f2f2f2; width: 830px; height: 50px; position: absolute; top: 5px; left: 5px;">
  665.                 <div id="userName" style="font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #f2f2f2">
  666.                     Homepage designed by ®ieno
  667.                 </div>
  668.             </div>
  669.        
  670.         </div>
  671.     `
  672. }).init();
  673.  
  674. new createElement({
  675.     height: '35px',
  676.     position: 'fixed',
  677.     background: 'background: #363639',
  678.     content: `
  679.     <center style="font-family: 'Poiret One'; color: #FFF">
  680.     <div style="margin-top: 10px">
  681.     Code and design by Rieno | Copyright 2017 Monitored
  682.     </div>
  683.     </center>
  684.  
  685.                 <div id="mediabtnsCont" class="footCTRL" style="background: rgba(0,0,0,0); position: absolute; right: 5px; bottom: 2px; display: block;">
  686.                       <div style="height: 28px; width: 42px; float: left; position: relative;"> </div>
  687.                       <div id="mediabtns" onclick="player.previousVideo()"></div>
  688.                       <div id="mediabtnp" onclick="switchplaystate()"></div>
  689.                       <div style="background-position: -56px" id="mediabtns" onclick="player.nextVideo()"></div>
  690.                       <div style="background-position: -84px" id="mediabtns" onclick="setVolume()"></div>
  691.                 </div>
  692.  
  693.                 <div id="footerTitle" style="display: block; position: absolute; bottom: 7px; left: 15px; max-height:20px; width: 250px; z-index: 11; color: #FFF; font-size: 12px; text-align: center; overflow-x: hidden; overflow-y: hidden;">
  694.                     <marquee id="songTitle" style="font-family: 'Poiret One'; width: 250px" scrollamount='1' direction='left' behavior='scroll'>
  695.                     </marquee>
  696.                 </div>
  697.     `
  698. }).init();
  699.  
  700. var modes = [
  701.     'initial',
  702.     'normal',
  703.     'multiply',
  704.     'screen',
  705.     'overlay',
  706.     'darken',
  707.     'lighten',
  708.     'color-dodge',
  709.     'color-burn',
  710.     'hard-light',
  711.     'soft-light',
  712.     'difference',
  713.     'exclusion',
  714.     'hue',
  715.     'saturation',
  716.     'color',
  717.     'luminosity'
  718. ];
  719.  
  720. $(document).ready(function() {
  721.     lAlign();
  722.     setTimeout(function() {
  723.         $('#contentArea').fadeOut('slow', function() {
  724.             //document.getElementById('contentArea').innerHTML = '';
  725.             //pages.forEach(function(val, index, arr){
  726.             //  pages[index].init();
  727.             //});
  728.             $('#contentArea').fadeIn('slow');
  729.             $('#contentArea').prepend(
  730.                 '<div background: #FFF; style="position: fixed; width: 100vw; height: 200vh; top: calc(50% - 100vh); left: 0px"><iframe onload="onYouTubePlayerAPIReady();" id="video" style="width: 100vw; height: 200vh; top: 0px; left: 0px; overflow: hidden;" src="//www.youtube.com/embed/videoseries?list=PLYwZKyzJDSbzQuEwQPgEnY2zqwuZl9y8w&enablejsapi=1&html5=1&autoplay=1" frameborder="0" allowfullscreen></iframe></div><div id="vidOverlay" style="position: fixed; top: 0px ;left: 0px; width: 100vw; height: 100vh; background: #FFF; mix-blend-mode: overlay; pointer-events:none;"></div>'
  731.             );
  732.             $('#about').append($('#prods'));
  733.             //$('#recent').append($('#visitors_panel'));
  734.             $('#urect').append($('#badges_panel'));
  735.             document.getElementById('prods').style.display = 'block';
  736.         });
  737.     }, 250);
  738.  
  739.     if (!window['YT']) {
  740.         var YT = { loading: 0, loaded: 0 };
  741.     }
  742.     if (!window['YTConfig']) {
  743.         var YTConfig = { host: 'https://www.youtube.com' };
  744.     }
  745.     if (!YT.loading) {
  746.         YT.loading = 1;
  747.         (function() {
  748.             var l = [];
  749.             YT.ready = function(f) {
  750.                 if (YT.loaded) {
  751.                     f();
  752.                 } else {
  753.                     l.push(f);
  754.                 }
  755.             };
  756.             window.onYTReady = function() {
  757.                 YT.loaded = 1;
  758.                 for (var i = 0; i < l.length; i++) {
  759.                     try {
  760.                         l[i]();
  761.                     } catch (e) {}
  762.                 }
  763.             };
  764.             YT.setConfig = function(c) {
  765.                 for (var k in c) {
  766.                     if (c.hasOwnProperty(k)) {
  767.                         YTConfig[k] = c[k];
  768.                     }
  769.                 }
  770.             };
  771.             var a = document.createElement('script');
  772.             a.type = 'text/javascript';
  773.             a.id = 'www-widgetapi-script';
  774.             a.src = 'https:' + '//s.ytimg.com/yts/jsbin/www-widgetapi-vfl1Omgyb/www-widgetapi.js';
  775.             a.async = true;
  776.             var b = document.getElementsByTagName('script')[0];
  777.             b.parentNode.insertBefore(a, b);
  778.         })();
  779.     }
  780. });
  781. var player;
  782. function onYouTubePlayerAPIReady() {
  783.     player = new YT.Player('video', {
  784.         events: {
  785.             onReady: onPlayerReady,
  786.             onStateChange: onPlayerStateChange
  787.         }
  788.     });
  789. }
  790.  
  791. function onPlayerReady(event) {}
  792.  
  793. function onPlayerStateChange(event) {
  794.     if (player) {
  795.         if (player.getPlayerState() != 2) {
  796.             document.getElementById('songTitle').innerText = player.getVideoData().title;
  797.             document.getElementById('mediabtnp').style = 'background-position: -112px 0px';
  798.         } else {
  799.             document.getElementById('songTitle').innerText = 'Press Play ►';
  800.             document.getElementById('mediabtnp').style = 'background-position: -28px 0px';
  801.         }
  802.     }
  803. }
  804.  
  805. function switchplaystate() {
  806.     player.getPlayerState() == 1 ? player.pauseVideo() : player.playVideo();
  807. }
  808.  
  809. function setVolume() {
  810.     if (player.getVolume() >= 76 && player.getVolume() <= 100) {
  811.         player.setVolume(75);
  812.     } else if (player.getVolume() >= 51 && player.getVolume() <= 75) {
  813.         player.setVolume(50);
  814.     } else if (player.getVolume() >= 26 && player.getVolume() <= 50) {
  815.         player.setVolume(25);
  816.     }
  817.     if (player.getVolume() >= 16 && player.getVolume() <= 25) {
  818.         player.setVolume(15);
  819.     }
  820.     if (player.getVolume() >= 1 && player.getVolume() <= 15) {
  821.         player.setVolume(0);
  822.     }
  823.     if (player.getVolume() == 0) {
  824.         player.setVolume(100);
  825.     }
  826. }
  827.  
  828. function lAlign() {
  829.     if (document.getElementById('url_panel')) {
  830.         document.getElementById('url_panel').style = 'left: 0px; top: 0px; width: 100wv !important;';
  831.         document.getElementById('imvuContent').align = 'left';
  832.         var links = document.getElementsByTagName('a');
  833.         for (var i = 0; i < links.length; i++) {
  834.             if (links[i].href) {
  835.                 links[i].style.color = '#FFF';
  836.             }
  837.         }
  838.     }
  839. }
  840.  
  841. function changeTitle(divID, divTitle) {
  842.     document.getElementById(divID).innerHTML = divTitle;
  843. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement