×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    3

    Question Is this possible to create Popup window in s40

    Hi,

    I want to show some content, inside a Popup window. But in s40 browser didn't support
    Code:
     position:absolute;  top:0; left:0;
    like these css properties. so i'm not able to postioning the popup window at (0,0) position. Is there any way we can achive this..? Please help...
    Thanks for anybody able to help.

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: Is this possible to create Popup window in s40

    Unfortunately it is not possible to overlay since position and z-index properties are not supported on the S40 Web App platform. For a dialog / popup, window.alert also doesn't help.

    All you can do is have a normal div without overlay.
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Mar 2013
    Location
    United Kingdom
    Posts
    161

    Re: Is this possible to create Popup window in s40

    You could try looking at JQuery mobile, I know it definitely supports pop-up's. There is an example (non-working) on the Nokia Web Apps Wiki about integrating JQuery into your app. Perhaps you can figure out how to get a pop-up working using the supports parts of JQuery?

    http://www.developer.nokia.com/Commu...es_40_Web_Apps

  4. #4
    Registered User
    Join Date
    Mar 2013
    Location
    United Kingdom
    Posts
    161

    Re: Is this possible to create Popup window in s40

    I tried to create a pop-up with Dojo using the below example, unfortunately, while it worked in Local Mode, it didn't work in Cloud Mode.

    http://www.java2s.com/Tutorial/JavaS...opupdialog.htm

  5. #5
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: Is this possible to create Popup window in s40

    jQuery and Dojo at the end of the day may be using position and z-index properties, hence overlayed elements would not work in cloud preview and on the real device.
    Pankaj Nathani
    www.croozeus.com

  6. #6
    Registered User
    Join Date
    Apr 2013
    Posts
    12

    Re: Is this possible to create Popup window in s40

    hi.. i too am stuck with the same problem..
    so are you saying is there no way to display pop-up in s40 web apps?

  7. #7
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: Is this possible to create Popup window in s40

    Unfortunately not...

    Quote Originally Posted by croozeus View Post
    ...it is not possible to overlay since position and z-index properties are not supported on the S40 Web App platform. For a dialog / popup, window.alert also doesn't help.

    All you can do is have a normal div without overlay.
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. Problem with popup window?
    By ram4soft in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2011-09-06, 13:18
  2. How to get the url of popup window of one webpage?
    By clovis1314 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2009-02-01, 05:30
  3. A simple popup window?
    By jappit in forum [Archived] Flash Lite on Nokia Devices
    Replies: 6
    Last Post: 2008-03-20, 19:14
  4. popup window help
    By xarris_ in forum Mobile Java General
    Replies: 1
    Last Post: 2007-07-09, 11:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×