'+pages+''); $('.stream > div:odd').addClass('bgr_color'); updateHeight('#history'); }); window.activateTabArea = ensure(function(tab, areas){ var parsed = false; var parts = (areas || '').split('/'); window.fsonload = $.inArray('fs', parts) >= 0; if(fsonload){ parts.splice(parts.indexOf('fs'), 1); } var replayMode = false; if($.inArray('replay', parts)>=0){ replayMode = 'replay'; } var noSoundMode = false; if($.inArray('nosound', parts)>=0){ noSoundMode = 'nosound'; } if($.inArray('ns', parts)>=0){ noSoundMode = 'ns'; } var previewMode = null; if($.inArray('p', parts)>=0){ previewMode = 'p'; } if($.inArray('preview', parts)>=0){ previewMode = 'preview'; } if($.inArray('repeat', parts)>=0){ replayMode = 'repeat'; } if($.inArray('r', parts)>=0 || $.inArray('ro', parts)>=0){ replayMode = 'r'; } if(replayMode){ parts.splice(parts.indexOf(replayMode), 1); } if(noSoundMode){ parts.splice(parts.indexOf(noSoundMode), 1); } if(previewMode){ parts.splice(parts.indexOf(previewMode), 1); } if(previewMode){ if(!parts.length){ parts = ['1-14', '999:59']; } } var area = parts[0]; if(tab == 'history' && false){ var page = parseInt(area || '1') || 1; $.ajax({ url: 'https://login.wn.com/recent/json/?pp='+history_pp+'&skip='+history_pp*(page-1), dataType: 'jsonp', success: function(response){ $ensure(function(){ renderHistory(response, page); }); } }); return true; } if(tab == 'global_history' && false){ var page = parseInt(area || '1') || 1; globalHistory.fetchStream(page, '', function(){ updateHeight('#global_history'); }); return true; } if(tab == 'my_playlists' && false){ var page = parseInt(area || '1') || 1; myPlaylists.fetchStream(page, '', function(){ updateHeight('#my_playlists'); }); return true; } if(tab == 'my_videos' && false){ var page = parseInt(area || '1') || 1; myVideos.fetchStream(page, '', function(){ updateHeight('#my_videos'); }); return true; } if(tab == 'related_sites' && areas && matchPosition(areas)){ var seconds = parsePosition(areas); scrollRelated(seconds); return false; } if(matchPosition(area) || matchAction(area)){ parts.unshift('1'); area = parts[0]; } if(tab == 'expand' && area && area.match(/\d+/)) { var num = parseInt(area); if(num < 100){ //FIX ME. Load news page with ajax here } else if(num > 1900){ //FIX ME. Load timeline page with ajax here } } else if(tab.match(/^playlist\d+$/)){ var playerId = parseInt(tab.substring(8)); var vp = videoplayers[playerId]; window.descriptionsholder = $('.descriptionsplace'); if(!vp) return; // why? no player? if(replayMode){ $('.replaycurrent'+playerId).attr('checked', true); vp.setReplayCurrent(true); } var playQueue = []; window.playQueue = playQueue; var playQueuePosition = 0; var playShouldStart = null; var playShouldStop = null; var parseList = function(x){ var items = x.split(/;|,/g); var results = []; for (i in items){ try{ var action = parseAction(vp, items[i]); if(!action.video){ if(window.console && console.log) console.log("Warning: No video for queued entry: " + items[i]); }else{ results.push(action); } }catch(e){ if(window.console && console.log) console.log("Warning: Can''t parse queue entry: " + items[i]); } } return results; }; var scrollToPlaylistPosition = function(vp){ var ppos = vp.getPlaylistPosition(); var el = vp.playlistContainer.find('>li').eq(ppos); var par = el.closest('.playlist_scrollarea'); par.scrollTop(el.offset().top-par.height()/2); } var updateVolumeState = function(){ if(noSoundMode){ if(noSoundMode == 'turn-on'){ clog("Sound is on, vsid="+vp.vsid); vp.setVolumeUnMute(); noSoundMode = false; }else{ clog("Sound is off, vsid="+vp.vsid); vp.setVolumeMute(); noSoundMode = 'turn-on'; } } } var playQueueUpdate = function(){ var playPosition = playQueue[playQueuePosition]; vp.playFromPlaylist(playPosition.video); scrollToPlaylistPosition(vp); playShouldStart = playPosition.start; playShouldStop = playPosition.stop; }; var playQueueAdvancePosition = function(){ clog("Advancing play position..."); playQueuePosition ++; while(playQueuePosition < playQueue.length && !playQueue[playQueuePosition].video){ playQueuePosition ++; } if(playQueuePosition < playQueue.length){ playQueueUpdate(); }else if(vp.getReplayCurrent()){ playQueuePosition = 0; playQueueUpdate(); vp.seekTo(playShouldStart); vp.playVideo(); }else{ vp.pauseVideo(); playShouldStop = null; playShouldStart = null; } }; function loadMoreVideos(playerId, vp, start, finish, callback){ var playlistInfo = playlists[playerId-1]; if(playlistInfo.loading >= finish) return; playlistInfo.loading = finish; $.ajax({ url: '/api/upge/cheetah-photo-search/query_videos2', dataType: 'json', data: { query: playlistInfo.query, orderby: playlistInfo.orderby, start: start, count: finish-start }, success: function(response){ var pl = vp.getPlaylist().slice(0); pl.push.apply(pl, response); vp.setPlaylist(pl); callback(); } }); } if(parts.length == 1 && matchDash(parts[0])){ var pl = vp.getActualPlaylist(); var vids = parseDash(parts[0]); parts = []; for(var i = 0; i < vids.length; i++){ playQueue.push({ 'video': pl[vids[i]-1], 'start': 0, 'stop': null }) } if(vids.length){ if(vids[vids.length-1]-1>=pl.length){ loadMoreVideos(playerId, vp, pl.length, vids[vids.length-1], function(){ if(fsonload){ activateTabArea(tab, parts[0]+'/fs'); }else{ activateTabArea(tab, parts[0]); } var pls = vp.getPlaylist(); vp.playFromPlaylist(pls[pls.length-1]); vp.playVideo(); scrollToPlaylistPosition(vp); }); return true; } } if(playQueue){ playQueueUpdate(); vp.playVideo(); parsed = true; playShouldStart = 0; } } if(previewMode){ var vids = []; var dur = 0; var pl = vp.getActualPlaylist(); area = parts[0]; if(parts.length == 1 && matchPosition(parts[0])){ vids = parseDash('1-'+pl.length); dur = parsePosition(parts[0]); parts = []; }else if(parts.length == 1 && matchDash(parts[0])){ vids = parseDash(parts[0]); dur = parsePosition("999:59"); parts = []; } if(parts.length == 2 && matchDash(parts[0]) && matchPosition(parts[1])){ vids = parseDash(parts[0]); dur = parsePosition(parts[1]); parts = []; } for(var i = 0; i < vids.length; i++){ playQueue.push({ 'video': pl[vids[i]-1], 'start': 0, 'stop': dur }) } if(playQueue){ playQueueUpdate(); vp.playVideo(); parsed = true; } } if(parts.length>1){ for(var i = 0; i < parts.length; i++){ var sel = findMatchingVideo(vp, parts[i]); if(sel){ playQueue.push({ 'video': sel, 'start': 0, 'stop': null }) } } if(playQueue){ playQueueUpdate(); vp.playVideo(); parsed = true; } }else if(area){ var sel = findMatchingVideo(vp, area); if(sel){ vp.playFromPlaylist(sel); playShouldStart = 0; parsed = true; } } if(fsonload || replayMode){ playShouldStart = 0; } if(document.location.search.match('at=|queue=')){ var opts = document.location.search.replace(/^\?/,'').split(/&/g); for(var o in opts){ if(opts[o].match(/^at=(\d+:)?(\d+:)?\d+$/)){ playShouldStart = parsePosition(opts[o].substr(3)) } if(opts[o].match(/^queue=/)){ playQueue = parseList(opts[o].substr(6)); if(playQueue){ playQueuePosition = 0; playQueueUpdate(); } } } } if(matchPosition(parts[1])){ playShouldStart = parsePosition(parts[1]); parsed = true; } if(matchAction(parts[1])){ var action = parseAction(vp, area+'/'+parts[1]); playShouldStart = action.start; playShouldStop = action.stop; parsed = true; } if(playShouldStart !== null && !playQueue.length){ playQueue.push({ video: vp.getCurrentVideo(), start: playShouldStart, stop: playShouldStop }); } if(playShouldStart != null){ setInterval(function(){ if(playShouldStop && vp.currentPlayer && vp.currentPlayer.getCurrentTime() > playShouldStop){ playShouldStop = null; if(vp.getCurrentVideo() == playQueue[playQueuePosition].video){ playQueueAdvancePosition(); }else{ playShouldStart = null; } } }, 500); vp.playerContainer.bind('videoplayer.player.statechange', function(e, state){ if(state == 'ended'){ // advance to the next video playQueueAdvancePosition(); } }); vp.playerContainer.bind('videoplayer.player.readychange', function(e, state){ if(state){ updateVolumeState(); if(playShouldStart !== null){ vp.seekTo(playShouldStart); playShouldStart = null; }else{ playShouldStop = null; // someone started other video, stop playing from playQueue } } if(fsonload) { triggerFullscreen(playerId); fsonload = false; } }); } } else if(tab.match(/^wiki\d+$/)){ if(firstTimeActivate){ load_wiki($('#'+tab), function(){ if(area){ var areaNode = $('#'+area); if(areaNode.length>0){ $('html, body').scrollTop(areaNode.offset().top + 10); return true; } } }); } } return parsed; }) window.activateTab = ensure(function(tab, area){ window.activeArea = null; if(tab == 'import_videos'){ if(area){ import_videos(area); }else{ start_import(); } return true; } if(tab == 'chat'){ update_chat_position($('.chat').eq(0)); window.activeArea = 'chat'; jQuery('.tabtrigger').offscreentabs('activateTab', 'chat'); return true; } if(tab in rev_names){ tab = rev_names[tab]; } if(tab.match(':')){ return false; } var sup = $('ul li a[id=#'+tab+']'); if(sup && sup.length>0){ window.activeArea = area; sup.first().click(); if(!window.activateTabArea(tab, area)){ window.activeArea = null; } window.activeArea = null; return true; }else{ var have_tabs = $('#playlist_menu li').length; if(tab.match(/^playlists?\d+$/)){ var to_add = +tab.substring(8).replace(/^s/,'')-have_tabs; if(to_add>0 && have_tabs){ add_more_videos(to_add); return true; } } } return false; }); window.currentPath = ensure(function(){ return window.lastHistory.replace(basepath, '').split('?')[0]; }); window.main_tab = window.main_tab || 'videos'; window.addHistory = ensure(function(path){ if(window.console && console.log) console.log("Adding to history: "+path); if(window.history && history.replaceState && document.location.hostname.match(/^(youtube\.)?(\w{2,3}\.)?wn\.com$/)){ if(path == main_tab || path == main_tab+'/' || path == '' || path == '/') { path = basepath; } else if( path.match('^'+main_tab+'/') ){ path = basepath + '/' + path.replace(main_tab+'/', '').replace('--','/'); } else { path = basepath + '/' + path.replace('--','/'); } if(document.location.search){ path += document.location.search; } if(window.lastHistory) { history.pushState(null, null, path); } else if(window.lastHistory != path){ history.replaceState(null, null, path); window.lastHistory = path; } } else{ path = path.replace('--','/'); if(path == main_tab || path == main_tab+'/' || path == '' || path == '/') { path = ''; } if(window.lastHistory != '/'+path){ window.location.hash = path? '/'+path : ''; window.lastHistory = '/'+path; } } }); $('.tabtrigger li a').live('click', ensure(function() { var tab = $(this).attr('id'); if(tab.substring(0,1) == '#'){ var name = tab.substring(1); if(name in menu_names){ name = menu_names[name][0]; } realTab = rev_names[name]; $('#'+realTab).show(); if(window.console && console.log) console.log("Triggering tab: "+name+(window.activeArea?" activeArea="+window.activeArea:'')); var path = name; if(window.activeArea){ path = path + '/' + window.activeArea; } if(tab.match(/#playlist\d+/) || tab.match(/#details\d+/)){ $('.multiple-playlists').show(); $('.related_playlist').show(); $('.longest_videos_playlist').show(); }else { $('.multiple-playlists').hide(); $('.related_playlist').hide(); $('.longest_videos_playlist').hide(); } // start the related script only when the tab is on screen showing if (tab.match(/related_sites/)) { if (mc) { mc.startCredits(); } } window.activeTab = realTab; addHistory(path); setTimeout(ensure(function(){ if(tab.match(/language--/)){ $('.tabtrigger').offscreentabs('activateTab', 'language'); } if(tab.match(/weather/)) { $('.tabtrigger').offscreentabs('activateTab', 'weather'); loadContinent(); } updateMenus(tab); updateHeight(); }), 10); } return false; })); }); -->

'); } else { var query = elem.find('.keywords').html(); $.ajax({ context: elem, url: 'https://wn.com/api/upge/cheetah-search-adv/video', cache: true, data: { 'query': query }, dataType: 'jsonp', success: function(text) { if (text.length > 0) { video_id = text[0].id; elem.find('.player').html(''); } } }); } } var stopAllYouTubeVideos = function() { var iframes = document.querySelectorAll('iframe'); Array.prototype.forEach.call(iframes, function(iframe) { iframe.contentWindow.postMessage(JSON.stringify({ event: 'command', func: 'pauseVideo' }), '*'); }); } jQuery(function() { jQuery(".playVideo").live("click", function() { if(!$(this).hasClass("played")){ stopAllYouTubeVideos(); var elem = $(this); setTimeout(function(){ mouseOverMe(elem); }, 1000); } }); jQuery(".description_box .expandContent").live("click", function() { elem = $(this).parent().parent().parent().find('.descContent'); if(elem.height() > 51) { elem.css('height', '44px'); $(this).html('Show More '); }else{ elem.css('height', 'auto'); $(this).html('Hide '); } }); jQuery('.interview-play-off').click(function() { $(".interview-play-off").hide(); $(".interview-play").show(); $(".videoplayer-control-pause").click(); }); jQuery(".video-desc .show_author_videos").live("click", function() { query = $(this).attr('title'); container = $(this).parent().parent().parent().find('.video-author-thumbs'); $(this).parent().parent().parent().find('.video-author-thumbs').css('height', '220px'); jQuery.ajax({ url: '/api/upge/cheetah-photo-search/videoresults', data: {'query': query}, success: function(text) { if(!text) { text = i18n("No results"); } container.html(jQuery(text)); } }); }); }); // -->

Latest News for: joaquín sorolla

Edit

A Spanish drunkard, exploding punks and a Renaissance showdown – the week in art

AOL 08 Nov 2024
The Great Mughals ... The Drunkard, Zarauz by Joaquín Sorolla, 1910 ... As you look back at Sorolla’s drinker, holding his blurred gaze, the slopped melting manner of the paint sucks you into his perspective and the canvas itself takes on a drunken sway ... .
Edit

Hitachi Rail to Transform Valencia’s Rail Infrastructure with Digital Signalling

Railway Supply 31 Oct 2024
This ambitious project will primarily modernize Valencia’s Access Channel, specifically targeting approach tracks to València Nord and València Joaquín Sorolla stations.
Edit

Norton Museum of Art's 2024-25 season to begin with art of boxing, Spanish painter

Palm Beach Daily News 18 Oct 2024
Called a "master of light" by impressionist Claude Monet, Spanish painter Joaquín Sorolla y Bastida balances realism and modernism in his portrayals of life and landscapes in the Mediterranean.
Edit

From ‘La Máquina’ to ‘Reina Roja,’ here are 12 Spanish-language TV series worth watching

The Los Angeles Times 09 Oct 2024
Starring Renata Vaca, Joaquín Cosio ... As the Joaquín Sorolla public hospital faces more budgetary cuts that keep its doctors and nurses at their wits’ end, a presidential visit looks to upend its fate.
Edit

Netflix has an intense new hospital drama that some like better than Grey’s Anatomy

BGR 09 Sep 2024
"Joaquín Sorolla is much more than a public hospital in Valencia where lives are saved on a daily basis," reads Netflix's synopsis of the Spanish series.
Edit

Is There a Breathless Episode 9 Release Date or Has It Ended?

Coming Soon 30 Aug 2024
Photo Credit. @Netflix/YouTube ... This left many asking. Will there be more episodes, a Breathless Part 2, or is it over?. Here’s all you want to know about Breathless ... Breathless is about Joaquín Sorolla Hospital in Valencia ... .
Edit

What's on? Top 10 TV and streaming tips for Friday

RTE 30 Aug 2024
. Pick of the Day. Kinds of Kindness, Disney+ ... Please review their details and accept them to load the content.Manage Preferences ... Don’t Miss ... Joaquín Sorolla is much more than a public hospital in Valencia where lives are saved on a daily basis ... Sport ... .
Edit

The Best Art Galleries and Museums in Málaga, Spain

New York Observer 03 Aug 2024
Some of the most notable names on show include Joaquín Sorolla y Bastida, known for his expressive portraits and vibrant landscapes, Ignacio Zuloaga, whose art is heavily influenced by traditional ...
Edit

‘Pillars, pergolas, palms and pines’: readers’ favourite gardens in Europe

The Observer 31 May 2024
Lake Como scented with citrus and herbs ... And there’s a bar. Perfect happiness ... - ... The gardens of the Museo Sorolla were a delightful find in the north of Madrid. The museum was the home of artist Joaquín Sorolla y Bastida – who also designed the gardens ... .
Edit

From designer-loving Meghan Markle

The Daily Mail 26 May 2024
Queen Letizia of Spain ... Duchess of Edinburgh ... Princess Beatrice ... Above ... She choose to wear this brand for the Joaquín Sorolla exhibition in Copenhagen in 2023, where she upcycled a £95.99 green floral midi dress which was customised into a skirt ... .
Edit

Prado museum exhibits hard labour of Spaniards in new show

The Times/The Sunday Times 20 May 2024
Art and Social Change in Spain (1885-1910), which will run until September 22, will display some of the great names in Spanish art, including Pablo Picasso, Joaquín Sorolla and Juan Gris ... Miguel Falomir, the Prado director, said ... World ... .
Edit

A foodie weekend in Madrid: how to eat and drink like a local

AOL 31 Mar 2024
Once you understand this, Madrid really starts to make sense ... But the real joy is the Sorolla Museum, the former home and exquisite garden of Joaquín Sorolla, kept much as it was when he lived there and filled with dozens of his works ... .
Edit

Peninsula art scene

The Daily Journal - San Mateo 03 Feb 2024
Portola Art Gallery in Menlo Park presents Scott Johnson’s “A Connection to Nature.” ... His historical inspiration comes from artists such as John Singer Sargent, Issac Levitan, Joaquín Sorolla and Ivan Shishkin ... Monday to Saturday from Feb. 1-29 ... Feb. 24 ... .
Edit

Yves Saint Laurent Held His 1959 Dior Fashion Show at This Palace – And You ...

Rooster GNN 14 Jan 2024
Paintings by Joaquín Sorolla, Federico de Madrazo, Franz Xaver Winterhalter, or Ignacio Zuloaga, are exhibited alongside the family’s most precious haute couture treasures ... (1907) by Joaquín Sorolla .
Edit

/>

×

Loading...'); var query = jQuery('.radio_query').val(); jQuery.ajax({ data: { query: query }, url: '/api/upge/cheetah-photo-search/radio', success: function(text) { jQuery('.radio-search-results').html(jQuery(text)); updateHeight(); $('#RadioSearchTable').tablesorter(); $('#RadioSearchTable').trigger("update"); } }); return false; // do not submit the form }); $(".search-tools-btn").click(function () { header = $(this); content = $(".search-tools-content"); if(content.is(':visible')) { content.hide('slow'); header.html('Tools '); }else{ content.show('slow'); header.html('Hide '); } }); });

' + data.showname +'
' + data.added + '
duration: ' + data.duration + '
'); }else{ $('.podcast-results').append('
' + data.showname +'
' + data.added + '
duration: ' + data.duration + '
'); } $(".podcast-item img").error(function () { $(this).unbind("error").attr("src", "//ecdn7.wn.com/or/assets/assets/avp/img/podcast.jpg"); }); updateHeight(); }); }); } function load_fs_video(element) { $('.news-item').find('.photo').show('slow'); $('.news-item').find('.player').html(''); $('.news-item').find('.player-container').hide(''); var query = $(element).attr('id'); $(element).parent().hide(); $(element).parent().parent().find('.close-player.news').show(); $(element).parent().parent().find('.player-container').show().animate({ 'width' : '100%' }, "slow").animate({ 'height' : '100%' }, "slow").css('position', 'fixed').css('top', '0px').css('bottom', '0px').css('left', '0px').css('right', '0px'); var container = $(element).parent().parent().find('.player').show(); jQuery.ajax({ url: 'https://upge.wn.com/api/upge/cheetah-photo-search/article_video', data: { 'q': query }, dataType: 'jsonp', success: function(text) { container.html(text); container.animate({ 'width' : '100%' }, "slow").animate({ 'paddingBottom' : '56.25%' }, "slow").css('top', '50px').html(''); $('body,html').animate({ scrollTop: 0}, 800); } }); } function load_video_details(query, id){ jQuery('#details'+id).find('.moreDetails').html('

'); jQuery.ajax({ url: '/api/upge/cheetah-photo-search/video_details02', data: {'query': query, 'vsid': id }, success: function(text){ jQuery('#details'+id).find('.moreDetails').html(jQuery(text)); jQuery('.rslides-box-details').hide(); updateHeight(); } }); } // -->
'); $(element).addClass('active'); } function buttons_close(element){ $(element).parent().hide(); } function open_in_new_tab(url) { window.open(url, '_blank'); window.focus(); } function lyrics_videos() { jQuery('.lyrics_items li.item_video').each(function(index) { query = jQuery(this).attr('id'); artist = jQuery(this).attr('data-value'); new_query = query + ' ' + artist var html_box = jQuery(this).find('.video'); jQuery.ajax({ url: 'https://wn.com/api/upge/cheetah-photo-search/query_video01', data: { 'query': new_query, 'artist': artist }, dataType: 'jsonp', success: function(text) { html_box.html(text); updateHeight(); } }); }); } function triggerLyricsPlayer(element, video_id){ loading_obj = jQuery('.video-thumb') if (loading_obj.hasClass('player-open')) { loading_obj.find('img').show(); loading_obj.find('.play-icon').show(); loading_obj.parent().find('.title').show(); loading_obj.find('.player').html(''); loading_obj.animate({ width: "200px" }).animate({ height: "110px" }); loading_obj.removeClass('player-open'); } $(element).parent().addClass('player-open'); $(element).next('img').hide(); $(element).parent().find('.play-icon').hide(); $(element).parent().parent().find('.hide').hide(); $(element).parent().animate({ width: "640px" }).animate({ height: "390px" }); $(element).parent().find('.player').html(''); updateHeight(); } function addVideos(element, query){ html_box = $(element).parent().find('.added_videos').show(); jQuery.ajax({ url: 'https://wn.com/api/upge/cheetah-photo-search/video_suggest', data: { 'query': query, 'num': '4' }, dataType: 'jsonp', success: function(text) { $(element).hide(); html_box.html(text); } }); } function stopDetailsPlayer(){ loading_obj = jQuery('.video-thumb') if (loading_obj.hasClass('player-open')) { loading_obj.find('img').show(); loading_obj.find('.play-icon').show(); loading_obj.find('.player-container').animate({ width: "0px" }).animate({ height: "0px" }); loading_obj.find('.fs_icon').show(); loading_obj.find('.player').html(''); loading_obj.animate({ width: "480px" }).animate({ height: "300px" }); loading_obj.removeClass('player-open'); } } function triggerLoadFile(file){ var file_name = file; jQuery('#writers .byNames').find('.column-left').load('https://wn.com/api/upge/shared/' + file_name); jQuery('.byNames').show().css('height', $('.byNames').height()); jQuery('.byCountry').hide(); updateHeight(); } function triggerLoadList(file){ var file_name = file; jQuery('#writers').find('.byCountry').load('https://wn.com/api/upge/shared/' + file_name); jQuery('.byNames').hide(); jQuery('.byCountry').show().css('height', $('.byCountry').height()); updateHeight(); } function scrollToAnchor(aid){ var aTag = $("a[name='"+ aid +"']"); $('html,body').animate({scrollTop: aTag.offset().top},'slow'); } $ensure(function(){ $(".play-domain").click(function(e) { var video = $(this).attr('id'); v = videoplayers[1]; v.playSingleVideo({video_id:video}); v.playVideo(); }); $('.play').hide(); $(".close-player.details").click(function(e) { $(this).hide(); $(this).parent().parent().addClass('player-open') $(this).parent().parent().css('width', '480px').css('height', '300px'); $(this).parent().css('position', 'relative'); $(this).parent().find('.player').css('height', '300px').animate({ 'paddingBottom' : '0' }, "slow").css({ 'margin-top' : '0px' }); }); $(".close-player.news").click(function(e) { $(this).hide(); $(this).parent().css('width', '480px').css('height', '300px').css('position', 'relative').css('float', 'left').css('margin-right', '20px'); $(this).parent().find('.player').css('height', '300px').animate({ 'paddingBottom' : '0' }, "slow").css('top','0'); updateHeight(); }); $('.play_lyrics_video').click(ensure(function(){ loading_obj = jQuery('.player-open') loading_obj.find('img').show(); loading_obj.find('.play-icon').show(); loading_obj.parent().find('.title').show(); loading_obj.html(''); loading_obj.animate({ width: "0px" }).animate({ height: "0px" }); loading_obj.removeClass('player-open'); query = jQuery(this).attr('id'); jQuery(this).addClass('active'); var html_box = jQuery(this).parent().parent().find('.video').html('loading...'); jQuery.ajax({ url: 'https://upge.wn.com/api/upge/cheetah-photo-search/query_video_player', data: { 'query': query }, dataType: 'jsonp', success: function(text) { html_box.html(text); } }); })); $('.carousel-pause .pause').click(ensure(function(){ $(this).hide(); $('.carousel-pause').find('.play').show(); $('.rslides.details').trigger('mouseenter'); })); $('.carousel-pause .play').click(ensure(function(){ $(this).hide(); $('.carousel-pause').find('.pause').show(); $('.rslides.details').trigger('mouseleave'); })); $(".rslides.related").responsiveSlides({ auto: true, pagination: true, nav: true, fade: 500, maxwidth: 800 }); $(".rslides.details").responsiveSlides({ auto: true, pause: true, pauseControls: true, speed: 2000, pagination: true, nav: true, fade: 500, maxwidth: 1200 }); $(".rslides.fs").responsiveSlides({ auto: true, pagination: true, nav: true, fade: 500, maxwidth: 600 }); $('.footer.help').click(ensure(function(){ $('body').css('overflow', 'hidden'); $('.controls2').css('z-index', '10002'); })); $('.close-reveal-modal.help').click(ensure(function(){ $('body').css('overflow', 'show'); $('.controls2').css('z-index', '115'); })); $(document).keyup(ensure(function(e) { if (e.keyCode == 27) { $('.close-reveal-modal.help').click();} else if (e.keyCode == 8) { $('.close-reveal-modal.help').click(); } })); $("input[placeholder]").each(function () { var lenght = $(this).attr('placeholder').length; $(this).attr('size', lenght + 1); }); $('#mainvideoresults').show(); $('a#play_mainvideoresults').click(ensure(function(){ videoplayer.addVideo($('.video_results .video-info')); })); $('a#open_mainvideoresults').click(ensure(function(){ $('.videos_15_24').show('slow'); $('#open_mainvideoresults').hide('slow'); $('#close_mainvideoresults').show('slow'); })); $('a#close_mainvideoresults').click(ensure(function(){ $('.videos_15_24').hide('slow'); $('#open_mainvideoresults').show('slow'); $('#close_mainvideoresults').hide('slow'); })); $('a#remove_mainvideoresults').click(ensure(function(){ $('#mainvideoresults').animate({ opacity: 'hide' }, "slow"); })); $('#related_videos').show(); $('a#play_related_videos').click(ensure(function(){ videoplayer.addVideo($('.related_videos .video-info')); })); $('a#open_related_videos').click(ensure(function(){ $('.related_videos').show('slow'); $('#open_related_videos').hide('slow'); $('#close_related_videos').show('slow'); })); $('a#close_related_videos').click(ensure(function(){ $('.related_videos').hide('slow'); $('#open_related_videos').show('slow'); $('#close_related_videos').hide('slow'); })); $('a#remove_related_videos').click(ensure(function(){ $('#related_videos_remove').animate({ opacity: 'hide' }, "slow"); })); $('#id_new_playlist' ).bind('keypress', ensure(function(e){ if ( e.keyCode == 13 ) { $('.add_dynamic_playlist.subtabs').click(); } })); $("#id_new_playlist").click(ensure(function(){ $(this).attr('value', ''); })); $("li .remove").live('click', ensure(function(){ var num = this.id.substring(9); remove_dynamic_playlist(num); })); $('.tools.player').animate({ opacity: 'hide' }, "slow"); $('.tools_container').hover(ensure(function(){ $(this).find('.tools.player').animate({ opacity: 'show' }, "fast"); }), ensure(function(){ $(this).find('.tools.player').animate({ opacity: 'hide' }, "slow"); })); // overwrite the playlist titles $('#playlistcontainer1').find('.playlistitemli a.playlistitem').mouseover(ensure(function(e) { var t = $(this); var pos = null; $('#playlistcontainer1 .playlistitemli a.playlistitem').each(function(i,e){ if(e.id == t.attr('id')){ pos = i; } }); var updated = $('div.video-desc:eq('+pos+') span.video-uploaded'); var views = $('div.video-desc:eq('+pos+') span.video-views'); var video_title = $('div.video-desc:eq('+pos+') div.video-shortdescription'); $(this).attr('title', 'Published Date: '+updated.text()+', Views: '+views.text()+', '+video_title.text()); })); $('.radio-menu li a').click(ensure(function(){ $('.radio-menu li').removeClass('active'); $(this).parent().addClass('active'); })); $('a.playlistitem').click(ensure(function(e) { $('.buttons').hide(); })); $("body").click(ensure(function(e) { if(e.target.className !== "dictionary") { $(".dictionary").hide(); } })); //to the top $('.gotop').click(ensure(function(){ $('body,html').animate({ scrollTop: 0}, 800); })); //reloads sms/email iframes $('.send').click(ensure(function() { $('.reload').attr('src', $('.reload').attr('src')); })); $('.searchbox').hover( function() { $('.queryTooltip').show(); }, function() { $('.queryTooltip').hide(); } ); $('#weather-map').submit(function(event) { var search_string = $("#city_map_name").val(); search_string = search_string.toLowerCase().replace(/[\.\/\: _!]+/g, '_'); window.open('https://globalweather.com/' + search_string, '_blank'); return false; // do not submit the form }); // show_synopsis $('.show_synopsis').hover(ensure(function(){ $(this).find('.synopsis-box').show().delay('6000'); }, function(){ $(this).find('.synopsis-box').hide().delay('6000'); })); }); // -->