Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var username = "DeadlySin";
- var links = {
- facebook: "https://www.facebook.com/Deadlysin0/",
- website: "http://deadlysintut.weebly.com/",
- }
- </script>
- <link href="https://fonts.googleapis.com/css?family=Poiret+One" rel="stylesheet">
- <style>
- .imvustylez_products_marquee{margin:0px auto; width: 960px; height: 180px; overflow: hidden;}
- .imvustylez_products_marquee [id$="_panel_header"] {display: none !important; font-size: 1px} .imvustylez_products_marquee [id$="_panel_body"] {line-height: 1px;}
- .imvustylez_products_marquee .productbox,.imvustylez_products_marquee .productbox img{width:100px !important;height:80px !important; border-radius: 5px;}
- #prods{
- position: absolute;
- bottom: 20px;
- left: calc(50vw - 480px);
- }
- #mediabtnsCont{
- background: #121212;
- width:280px;
- height: 28px;
- opacity: 1;
- position: absolute;
- float:left;
- z-index: 900;
- margin-left: 50px;
- margin-top: 13px;
- border-radius: 15px;
- transition: opacity .4s ease-out;
- -moz-transition: opacity .4s ease-out;
- -webkit-transition: opacity .4s ease-out;
- -o-transition: opacity .4s ease-out;
- }
- #mediabtnsCont:hover{
- opacity: 1;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- #mediabtnp {
- background: url(http://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_7Tr7FJN8Cu574473056.png);
- width: 28px;
- height: 28px;
- cursor: pointer;
- opacity: .4;
- float: left;
- position: relative;
- margin-right: 28px;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- #mediabtnp:hover{
- opacity: 1;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- #mediabtnp2 {
- background: url(http://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_7Tr7FJN8Cu574473056.png);
- width: 28px;
- height: 28px;
- cursor: pointer;
- opacity: .4;
- float: left;
- position: relative;
- margin-right: 28px;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- #mediabtnp2:hover{
- opacity: 1;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- #mediabtns {
- background: url(http://userimages-akm.imvu.com/userdata/11/70/33/56/userpics/Snap_7Tr7FJN8Cu574473056.png);
- width: 28px;
- height: 28px;
- z-index: 901;
- margin-right: 28px;
- float: left;
- cursor: pointer;
- position: relative;
- opacity: .4;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- #mediabtns:hover{
- opacity: 1;
- transition: opacity .4s ease-in;
- -moz-transition: opacity .4s ease-in;
- -webkit-transition: opacity .4s ease-in;
- -o-transition: opacity .4s ease-in;
- }
- .mediaPlayerContainer{
- height: 42px;
- position: relative;
- left: -25px;
- top: -15px;
- }
- #mediaPlayer{
- height: 42px;
- width: 950px;
- float: left;
- }
- #badges_panel{
- width: 150px !important;
- position: absolute !important;
- top: 50px !important;
- left:20px !important;
- }
- #aboutme_panel, #contact_panel, #dev_panel, #wishlist_panel, #visitors_panel,
- #messages_panel, #tagcloud_panel, #stickers_panel, #collect_panel,
- #room_panel, #rankings_panel, #cool_panel, #gallery_panel, #friends_panel,
- #streetteam_panel, #blog_panel, #video_panel_header, #music_panel, #rss_panel, #outfits_panel {
- display: none !important;
- }
- #rightColumn {
- display:none !important;
- }
- .imvustylez_products_marquee{margin:0px auto}
- .imvustylez_products_marquee [id$="_panel_header"] {display: none !important; font-size: 1px}
- .imvustylez_products_marquee [id$="_panel_body"] {line-height: 1px;} .imvustylez_products_marquee
- .productbox,
- .imvustylez_products_marquee
- .productbox img{width:100px !important;height:80px !important;}
- #headerbox { display: none !important; }
- #footerBanner { display: none !important; }
- #footer_style { display: none !important; }
- #footer_panel { display: none !important; }
- #ad_panel { display: none !important; }
- #dev_panel{display:none !important;}
- #imvuTopNav{display:none !important;}
- #ccpheader_leaderboard{display: none !important;}
- #url_panel_colRow, .imvucodes_net { display:none !important; }
- .paneltitle, .panelmenu, .imvucodes_net { display:none !important; }
- </style>
- <div id="contentArea" style="min-width: 960px; width: 100vw; position: absolute; top: 0px; left: 0px"></div>
- <div id="prods" style="display: none" class='imvustylez_products_marquee'>
- <div style='width:960px'>
- <script type="text/javascript" src="https://gaf210.imvustylez.net/newprodsbanner/filtered_dev_panel.js.php?dev_id=27917016&pn=new&q=25"></script>
- </div>
- </div>
- <script>
- function createElement(s){
- this.def = {
- width: (s.width ? s.width : "100%"),
- height: (s.height ? s.height : "500px"),
- background: (s.background ? s.background : "background-color: rgba(0,0,0,1)"),
- yPos: (s.yOff ? s.yOff : "top: 0px"),
- xPos: (s.xOff ? s.xOff : "left: 0px"),
- content: (s.content ? s.content : ''),
- align: (s.align ? s.align : "center"),
- zIndex: (s.zIndex ? s.zIndex : '1'),
- position: (s.position ? s.position : 'relative'),
- float: (s.float ? s.float : 'left'),
- id: (s.id ? s.id : 'div'),
- backgroundAttach: (s.backgroundAttachment ? s.backgroundAttachment : "initial"),
- backgroundPos: (s.backgroundPosition ? s.backgroundPosition : "initial"),
- backgroundRep: (s.backgroundRepeat ? s.backgroundRepeat : "initial"),
- backgroundSize: (s.backgroundSize ? s.backgroundSize : "initial"),
- }
- this.style = 'width: '+this.def.width
- +'; height: '+this.def.height
- +'; '+this.def.yPos
- +'; '+this.def.xPos
- +'; text-align: '+this.def.align
- +'; position: '+this.def.position
- +'; float: '+this.def.float
- +'; background-attachment: '+this.def.backgroundAttach
- +'; background-position: '+this.def.backgroundPos
- +'; background-repeat: '+this.def.backgroundRep
- +'; background-size: '+this.def.backgroundSize
- +'; '+this.def.background;
- this.template = `<div id='`+this.def.id+`' style='`+this.style+`'>
- `+this.def.content+`
- </div>`;
- this.init = function(){
- $('#contentArea').append(this.template);
- }
- }
- new createElement({
- height: 'calc(100vh - 150px)',
- id: 'home',
- background: 'background: radial-gradient(rgba(0,0,0,.4), rgba(255,255,255,.2))',
- content: `
- <div id="urect" style="background: rgba(54,54,54,.7); border-radius: 5px; width: 250px; height: 70px; position: absolute; top: calc(50% - 35px); left: calc(50% - 125px);">
- <div style="border-style: dotted; border-width: 5px; border-color: #f2f2f2; width: 230px; height: 50px; position: absolute; top: 5px; left: 5px;">
- <div id="userName" style="font-size: 40px; font-family: 'Poiret One'; font-weight: bold; color: #f2f2f2">
- `+username+`
- </div>
- </div>
- </div>
- `
- }).init();
- new createElement({
- height: '150px',
- id: 'custmesh',
- background: 'background: #363639',
- content: `
- <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(0,0,0,.4)">
- <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #f2f2f2; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
- <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: #f2f2f2">
- <center>
- Want a custom mesh? message me with your requests!
- </center>
- </div>
- </div>
- </div>
- `
- }).init();
- new createElement({
- height: '150px',
- id: 'credit',
- background: 'background-image: url(http://imvu.riedesign.tk/Homepages/Rieno/Parallax/foliage.jpg)',
- backgroundRepeat: 'no-repeat',
- backgroundSize: 'cover',
- backgroundPosition: 'center',
- backgroundAttachment: 'fixed',
- content: `
- <div style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: rgba(0,0,0,.4)">
- <div style="border-style: dashed none dashed none; border-width: 5px; border-color: #f2f2f2; width: 100%; height: 140px; position: absolute; top: 0px; left: 0px">
- <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: #f2f2f2">
- <center>
- Homepage Code and Design By <a href="http://avatars.imvu.com/Rieno" style="text-decoration: none; color: #FFF">®ieno</a>
- </center>
- </div>
- </div>
- </div>
- `
- }).init();
- new createElement({
- height: '35px',
- position: 'fixed',
- background: 'background: #363639',
- content: `
- <center style="font-family: 'Poiret One'; color: #FFF">
- <div style="margin-top: 10px">
- <a target="_new" href="`+links.facebook+`" style="text-decoration: none; color: #FFF">Facebook</a> | <a target="_new" href="`+links.website+`" style="text-decoration: none; color: #FFF">Mesh Tutorials</a> | <a href="javascript:void(0)" onclick="IMVU.messagePopupShow({force_recipient_id:27917016}); return false;" style="text-decoration: none; color: #FFF">Message</a>
- </div>
- </center>
- <div id="mediabtnsCont" class="footCTRL" style="background: rgba(0,0,0,0); position: absolute; right: 5px; bottom: 2px; display: block;">
- <div style="height: 28px; width: 42px; float: left; position: relative;"> </div>
- <div id="mediabtns" onclick="player.previousVideo()"></div>
- <div id="mediabtnp" onclick="switchplaystate()"></div>
- <div style="background-position: -56px" id="mediabtns" onclick="player.nextVideo()"></div>
- <div style="background-position: -84px" id="mediabtns" onclick="setVolume()"></div>
- </div>
- <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;">
- <marquee id="songTitle" style="font-family: 'Poiret One'; width: 250px" scrollamount='1' direction='left' behavior='scroll'>
- </marquee>
- </div>
- `
- }).init();
- $(document).ready(function(){
- lAlign()
- setTimeout(function(){
- $('#contentArea').fadeOut('slow', function(){
- $('#contentArea').fadeIn('slow');
- $('body').prepend('<iframe onload="onYouTubePlayerAPIReady()" id="video" style="position: fixed; z-index: -1 !important; width: 100vw; height: 200vh; top: calc(50% - 100vh); left: 0px; filter: blur(1px) saturate(120%) brightness(110%) contrast(105%) grayscale(15%); overflow: hidden !important;" src="//www.youtube.com/embed/videoseries?list=PLnjmKq713yuLW9AsnW6eV9Q65uMEHWWG_&enablejsapi=1&html5=1&autoplay=1" frameboarder="0" allowfullscreen></iframe>');
- $('#home').append($('#prods'));
- document.getElementById('prods').style.display = "block";
- $('#custmesh').append($('#badges_panel'));
- })
- }, 250)
- })
- // YOUTUBE PLAYER API AND SETTINGS
- if (!window['YT']) {var YT = {loading: 0,loaded: 0};}if (!window['YTConfig']) {var YTConfig = {'host': 'http://www.youtube.com'};}if (!YT.loading) {YT.loading = 1;(function(){var l = [];YT.ready = function(f) {if (YT.loaded) {f();} else {l.push(f);}};window.onYTReady = function() {YT.loaded = 1;for (var i = 0; i < l.length; i++) {try {l[i]();} catch (e) {}}};YT.setConfig = function(c) {for (var k in c) {if (c.hasOwnProperty(k)) {YTConfig[k] = c[k];}}};var a = document.createElement('script');a.type = 'text/javascript';a.id = 'www-widgetapi-script';a.src = 'https:' + '//s.ytimg.com/yts/jsbin/www-widgetapi-vfl1Omgyb/www-widgetapi.js';a.async = true;var b = document.getElementsByTagName('script')[0];b.parentNode.insertBefore(a, b);})();}
- var player;
- function onYouTubePlayerAPIReady() {
- player = new YT.Player('video', {
- events: {
- 'onReady': onPlayerReady,
- 'onStateChange': onPlayerStateChange
- }
- });
- }
- function onPlayerReady(event) {
- player.playVideo();
- }
- function onPlayerStateChange(event) {
- if ( player ) {
- if ( player.getPlayerState() != 2 ) {
- document.getElementById( "songTitle" ).innerText = player.getVideoData().title;
- document.getElementById('mediabtnp').style = "background-position: -112px 0px";
- } else {
- document.getElementById( "songTitle" ).innerText = 'Press Play ►';
- document.getElementById('mediabtnp').style = "background-position: -28px 0px";
- }
- }
- }
- function switchplaystate(){
- (player.getPlayerState() == 1 ? player.pauseVideo() : player.playVideo());
- }
- function setVolume(){
- if(player.getVolume() >=76 && player.getVolume() <= 100){
- player.setVolume(75);
- }else if(player.getVolume() >=51 && player.getVolume() <= 75){
- player.setVolume(50);
- }else if(player.getVolume() >=26 && player.getVolume() <= 50){
- player.setVolume(25);
- }if(player.getVolume() >=16 && player.getVolume() <= 25){
- player.setVolume(15);
- }if(player.getVolume() >=1 && player.getVolume() <= 15){
- player.setVolume(0);
- }if(player.getVolume() == 0){
- player.setVolume(100);
- }
- }
- function lAlign(){
- if(document.getElementById('url_panel')){
- document.getElementById('url_panel').style = "left: 0px; top: 0px; width: 100wv !important;"
- document.getElementById('imvuContent').align = "left";
- var links = document.getElementsByTagName("a");
- for(var i=0;i<links.length;i++)
- {
- if(links[i].href)
- {
- links[i].style.color = '#FFF';
- }
- }
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement