Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r21320: LJSUP-11385: Add pics beta promo

Committer: vkurkin
LJSUP-11385: Add pics beta promo
U   trunk/htdocs/js/ck/plugins/image/dialogs/image.js
U   trunk/htdocs/js/entry.js
Modified: trunk/htdocs/js/ck/plugins/image/dialogs/image.js
===================================================================
--- trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-07 12:29:47 UTC (rev 21319)
+++ trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-07 12:36:25 UTC (rev 21320)
@@ -463,6 +463,17 @@
 					elements :
 						[
 							{
+								type: 'html',
+								html: '<div class="b-pics-promo-wrapper">' +
+										'<i class="b-pics-promo-box"></i>' +
+										'<a target="_blank" href="' + Site.siteroot + '/472.html" class="b-pics-promo-link">' +
+											'<span class="b-pics-promo-arrow"></span>' +
+											'<span class="b-pics-promo-content b-pics-promo-content-header">Try new PhotoAlbums.</span>' +
+											'<span class="b-pics-promo-content">Organise your photos and images with LiveJournal PhotoAlbums.</span>' +
+										'</a>' +
+										'</div>'
+							},
+							{
 								type : 'vbox',
 								padding : 0,
 								children :

Modified: trunk/htdocs/js/entry.js
===================================================================
--- trunk/htdocs/js/entry.js	2012-03-07 12:29:47 UTC (rev 21319)
+++ trunk/htdocs/js/entry.js	2012-03-07 12:36:25 UTC (rev 21320)
@@ -932,7 +932,6 @@
 function onInsertObject(include) {
 	InOb.onClosePopup();
 
-	//var iframe = document.createElement("iframe");
 	var container = document.createElement('div');
 	container.id = 'updateinsobject';
 	container.className = 'updateinsobject';
@@ -1366,7 +1365,7 @@
 };
 
 InOb.smallCenter = function () {
-	DOM.setHeight(currentPopup, 307);
+	DOM.setHeight(currentPopup, 375);
 	DOM.setWidth(currentPopup, 700);
 
 	currentPopup.style.top = '50%';

Tags: b_vladi, js, livejournal, vkurkin
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments