Author: rgardler
Date: Tue Mar 27 22:27:12 2012
New Revision: 1306031

URL: http://svn.apache.org/viewvc?rev=1306031&view=rev
Log:
add a link to a full screen version of the demo widget

Modified:
    incubator/wookie/trunk/WebContent/demo/index.htm
    incubator/wookie/trunk/WebContent/demo/wookie.js

Modified: incubator/wookie/trunk/WebContent/demo/index.htm
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/WebContent/demo/index.htm?rev=1306031&r1=1306030&r2=1306031&view=diff
==============================================================================
--- incubator/wookie/trunk/WebContent/demo/index.htm (original)
+++ incubator/wookie/trunk/WebContent/demo/index.htm Tue Mar 27 22:27:12 2012
@@ -75,10 +75,12 @@
                 <div id="preview_alice" class="preview">
                     <h1><img 
src="http://localhost:8080/wookie/demo/alice.png";> Alice</h1>
                     <div id="preview_alice_widget">Select a widget on the 
left</div>
+                   <span id="alice_url"/>
                 </div>
                 <div id="preview_bob" class="preview">
                     <h1><img src="http://localhost:8080/wookie/demo/bob.png";> 
Bob</h1>
                     <div id="preview_bob_widget">Select a widget on the 
left</div>
+                   <span id="bob_url"/>
                 </div>
             </div>
             <p></p>

Modified: incubator/wookie/trunk/WebContent/demo/wookie.js
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/WebContent/demo/wookie.js?rev=1306031&r1=1306030&r2=1306031&view=diff
==============================================================================
--- incubator/wookie/trunk/WebContent/demo/wookie.js (original)
+++ incubator/wookie/trunk/WebContent/demo/wookie.js Tue Mar 27 22:27:12 2012
@@ -43,10 +43,12 @@ function showWidget(id){
     var widgetInstance = Wookie.getOrCreateInstance(id);
     $("#preview_alice_widget").html('');
     $("#preview_alice_widget").append("<iframe src='"+widgetInstance.url+"' 
height='"+widgetInstance.height+"' width='"+widgetInstance.width+"'></iframe>");
+    $("#alice_url").html("<a href='" + widgetInstance.url + "' 
target='_blank'>Full Screen</a>");
     Wookie.setPreference(id, "conference-manager","true");
     
     
Wookie.setCurrentUser("bob","bob","http://localhost:8080/wookie/demo/bob.png";);
     var widgetInstance = Wookie.getOrCreateInstance(id);
     $("#preview_bob_widget").html('');
     $("#preview_bob_widget").append("<iframe src='"+widgetInstance.url+"' 
height='"+widgetInstance.height+"' width='"+widgetInstance.width+"'></iframe>");
-}
\ No newline at end of file
+    $("#bob_url").html("<a href='" + widgetInstance.url + "' 
target='_blank'>Full Screen</a>");
+}


Reply via email to