Note that there are some explanatory texts on larger screens.

plurals
  1. POwindows phone with phonegap problems
    primarykey
    data
    text
    <p>I have <a href="http://phonegap.com/" rel="nofollow">phonegap</a> application that works under windows phone 7 but i have 2 problems.</p> <ol> <li><p>the wheel doesn`t rotate.</p> <p><a href="http://s22.postimage.org/azvg4k7bl/3_17_2013_3_56_06_PM.png" rel="nofollow">See Image Here</a></p></li> <li><p>when i click at any button, there is a gray square appear like this.</p> <p><a href="http://s23.postimage.org/4i7y7b7kr/3_17_2013_3_57_19_PM.png" rel="nofollow">See Image Here</a></p></li> </ol> <p>Could you help me with this problems?</p> <p>This is the code:</p> <pre><code>&lt;head&gt; &lt;style type="text/css"&gt; .BBImagesStyle { height: 85px; width: 85px; } &lt;/style&gt; &lt;/head&gt; &lt;div id="WheelDiv" style="display: block; width: 100%; height: 100%; background-color: transparent; padding: 0; margin: 0;"&gt; &lt;script language="javascript" type="text/javascript"&gt; $(document).ready(function () { var ua = navigator.userAgent; //Grab USER AGENT STRING var checker = { webOS: ua.match(/webOS/), iphone: ua.match(/iPhone/), ipad: ua.match(/iPad/), ipod: ua.match(/iPod/), blackberry: ua.match(/BlackBerry/), android: ua.match(/Android/), symbian: ua.match(/Symbian/) }; if (checker.blackberry) { setTimeout(' BB();', 500); } else { var HalfscreenHeight = $(window).height(); $("#WheelContentDiv").height(HalfscreenHeight); if ($(window).height() &lt;= 620) { $("#WheelContentDiv").CloudCarousel( { xPos: 165, yPos: 75, yRadius: 100, bringToFront: false, minScale: 0.5, clickActionOnLowerIconOnly: false }); var HalfscreenHeightQua = ""; if ($(window).height() &lt; 600) { HalfscreenHeightQua = $(window).height() * 0.05; } else { HalfscreenHeightQua = $(window).height() * 0.15; } $("#WheelContentDiv").css("padding-top", HalfscreenHeightQua + "px"); $("#Taw3DLogo").css("padding-top", "100px"); document.getElementById("Wheel_MedicalServices").src = "../TawuniyaMobileWeb/Images/Wheel/Wheel_MedicalServices.png"; document.getElementById("Wheel_Tracking").src = "../TawuniyaMobileWeb/Images/Wheel/Wheel_Tracking.png"; document.getElementById("Wheel_ContactUS").src = "../TawuniyaMobileWeb/Images/Wheel/Wheel_ContactUs.png"; document.getElementById("Wheel_Products").src = "../TawuniyaMobileWeb/Images/Wheel/Wheel_Products.png"; document.getElementById("Wheel_Offers").src = "../TawuniyaMobileWeb/Images/Wheel/Wheel_Offers.png"; document.getElementById("Wheel_Locations").src = "../TawuniyaMobileWeb/Images/Wheel/Wheel_Locations.png"; } else { var h = $(window).height() / 5; var w = $(window).width() / 2.5; $("#middleLogoImg").css("width", w / 2 + "px"); $("#Taw3DLogo").css("padding-left", w / 3.2 + "px"); $("#WheelContentDiv").CloudCarousel( { xPos: 165, yPos: 65, yRadius: h, xRadius: w, bringToFront: false, minScale: 0.5, clickActionOnLowerIconOnly: false }); var HalfscreenHeight_ = $(window).height() * 0.2; $("#WheelContentDiv").css("padding-top", HalfscreenHeight_ + "px"); document.getElementById("Wheel_MedicalServices").src = "Images/Wheel/Wheel_MedicalServices@2.png"; document.getElementById("Wheel_Tracking").src = "Images/Wheel/Wheel_Tracking@2.png"; document.getElementById("Wheel_ContactUS").src = "Images/Wheel/Wheel_ContactUs@2.png"; document.getElementById("Wheel_Products").src = "Images/Wheel/Wheel_Products@2.png"; document.getElementById("Wheel_Offers").src = "Images/Wheel/Wheel_Offers@2.png"; document.getElementById("Wheel_Locations").src = "Images/Wheel/Wheel_Locations@2.png"; $("#Taw3DLogo").css("padding-top", "180px"); $("#Wheel_Tawuniya").css("overflow", "hidden"); $("#WheelContentDiv").css("overflow", ""); } DisableWindowScroll(); $("#ALLPageContent").css("background-image", "url(../TawuniyaMobileWeb/Images/HomeScreenBackground.png)"); var leftno = Math.max(0, (($(window).width() - $("#WheelContentDiv").outerWidth()) / 2) + $(window).scrollLeft()) - 20 + "px"; $("#WheelContentDiv").css("left", leftno); // alert(450); } try { var isWindowsPhone = /windows phone/i.test(navigator.userAgent.toLowerCase()); if (isWindowsPhone) { window.external.notify("noScroll"); setTimeout('WP2();', 1500); } } catch (e) { alert(e); } ModifyHeaderOnBlur(false); try { if (navigator.geolocation) { //navigator.geolocation.getCurrentPosition(LocationsSuccess, LocationError); } else { alert('geolocation not supported'); } } catch (e) { } }); &lt;/script&gt; &lt;div id="WheelContentDiv" style="width: 330px; background-color: transparent; position: fixed;"&gt; &lt;div id="Taw3DLogo" style="z-index: 1000000; padding-left: 110px;"&gt; &lt;img id="middleLogoImg" src="../ePortal5Core/Libs/jQuery/Ext/professorcloud_carousel/Taw3DLogo.png" width="110" style="visibility: hidden;" /&gt; &lt;/div&gt; &lt;center&gt; &lt;img style="visibility: hidden;" id="Wheel_MedicalServices" class="cloudcarousel" alt="" onclick="MoveToPortalCustomize('Login_Tawuniya', this);OpenMedicalServiceWidgets='True';DisableWindowScroll();Check_remember();"&gt; &lt;img style="visibility: hidden;" id="Wheel_Tracking" class="cloudcarousel" alt="" onclick="MoveToPortalCustomize('Tracking_PreLogin', this);"&gt; &lt;img style="visibility: hidden;" id="Wheel_ContactUS" class="cloudcarousel" alt="" onclick="MoveToPortalCustomize('ContactUS_PreLogin', this);"&gt; &lt;img style="visibility: hidden;" id="Wheel_Products" class="cloudcarousel" alt="" onclick="MoveToPortalCustomize('Products', this);"&gt; &lt;img style="visibility: hidden;" id="Wheel_Offers" class="cloudcarousel" alt="" onclick="MoveToPortalCustomize('Promotions', this);"&gt; &lt;img style="visibility: hidden;" id="Wheel_Locations" class="cloudcarousel" alt="" onclick="MoveToPortalCustomize('Locations', this);"&gt; &lt;/center&gt; &lt;/div&gt; &lt;div id="WheelContentDivBB" style="width: 100%; background-color: transparent; height: 100%; display: none;"&gt; &lt;center&gt; &lt;table id="BBWheelTable" style="z-index: 1000000; width: 100%; height: 100%; margin-left: 0px;"&gt; &lt;tr&gt; &lt;td&gt; &lt;img id="Wheel_MedicalServicesBB" class="BBImagesStyle" src="../TawuniyaMobileWeb/Images/Wheel_MedicalServices.png" alt="" onclick="MoveToPortalCustomize('Login_Tawuniya', this);OpenMedicalServiceWidgets='True';DisableWindowScroll();Check_remember();"&gt; &lt;/td&gt; &lt;td&gt; &lt;img id="Wheel_TrackingBB" class="BBImagesStyle" src="../TawuniyaMobileWeb/Images/Wheel_Tracking.png" alt="" onclick="MoveToPortalCustomize('Tracking_PreLogin', this);"&gt; &lt;/td&gt; &lt;td&gt; &lt;img id="Wheel_ContactUSBB" class="BBImagesStyle" src="../TawuniyaMobileWeb/Images/Wheel_ContactUs.png" alt="" onclick="MoveToPortalCustomize('ContactUS_PreLogin', this);"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;img id="Wheel_ProductsBB" class="BBImagesStyle" src="../TawuniyaMobileWeb/Images/Wheel_Products.png" alt="" onclick="MoveToPortalCustomize('Products', this);"&gt; &lt;/td&gt; &lt;td&gt; &lt;img id="Wheel_OffersBB" class="BBImagesStyle" src="../TawuniyaMobileWeb/Images/Wheel_Offers.png" alt="" onclick="MoveToPortalCustomize('Promotions', this);"&gt; &lt;/td&gt; &lt;td&gt; &lt;img id="Wheel_LocationsBB" class="BBImagesStyle" src="../TawuniyaMobileWeb/Images/Wheel_Locations.png" alt="" onclick="MoveToPortalCustomize('Locations', this);"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/center&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload