Results 1 to 7 of 7

Thread: Browsable iframe in zdesktop

  1. #1
    chrigi_1 is offline New Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    4

    Default Browsable iframe in zdesktop

    Hi,

    I'm trying to display the iframe version of toodledo (Toodledo :: Your to-do list) inside a tab as shown in the iframe tab example.
    This works perfectly when i launch the zd interface trough firefox (via "open in webbrowser").
    But as soon is i run the native zd client, all links are opened in an external browser ("Launch Application" dialog), instead of inside the iframe.

    Any Idea why this happens, and how I can fix it?

    Cheers,

    Chris

  2. #2
    raymond.naseef is offline Intermediate Member
    Join Date
    Mar 2011
    Location
    Lansing, MI
    Posts
    17
    Rep Power
    4

    Default

    Don't know if this will help, perhaps links have HTML attribute "target". If you post example of the iframe, I may be able to take better look at it.

  3. #3
    chrigi_1 is offline New Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    4

    Default

    Thats how the iframe looks:


    var app = appCtxt.getApp(appName); // get access to ZmZimletApp
    var content = com_zimbra_toodledo_plugin_HandlerObject.prototype ._createContent();
    app.setContent("<div id=holder > <iframe src=\"http://www.toodledo.com/slim\" width=\"100%\" height=\"100%\"> </iframe></div>"); // write HTML to application tab

    Thanks for having a look.
    Last edited by chrigi_1; 04-19-2011 at 10:10 AM.

  4. #4
    raymond.naseef is offline Intermediate Member
    Join Date
    Mar 2011
    Location
    Lansing, MI
    Posts
    17
    Rep Power
    4

    Default

    The iframe looks fine.

    Quote Originally Posted by chrigi_1 View Post
    <div id=holder > <iframe src="http://www.toodledo.com/slim" width="100%" height="100%"> </iframe></div>
    Any chance you can send the iframe's contents?

    To get iframe contents: In Firefox, right-click inside iframe, and select menu "This Frame | View Frame Source".

  5. #5
    chrigi_1 is offline New Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    4

    Default

    i'll try to do that tomorrow.

  6. #6
    essential is offline New Member
    Join Date
    Mar 2008
    Location
    New York City
    Posts
    3
    Rep Power
    7

    Default Zimbra Desktop Iframe Links Open in Browswer

    Did you ever find an answer to this? I also have iframe apps I'm trying to use in ZDesktop and every link opens a new window. If you figured it out I would be truly grateful.

  7. #7
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by essential View Post
    Did you ever find an answer to this? I also have iframe apps I'm trying to use in ZDesktop and every link opens a new window. If you figured it out I would be truly grateful.
    Check the html links that you are clicking on? Are they specifying a new url?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ZDesktop and Prism future
    By jxn in forum General Questions
    Replies: 4
    Last Post: 03-24-2011, 01:54 PM
  2. Zdesktop 2 - export contact issue
    By Regger in forum General Questions
    Replies: 1
    Last Post: 01-12-2011, 03:32 PM
  3. Zdesktop with firefox
    By danny.sierra@omtech.net in forum General Questions
    Replies: 3
    Last Post: 02-29-2008, 06:53 AM
  4. [SOLVED] An easy way to start Zdesktop in Linux
    By pbruna in forum Installation Help
    Replies: 0
    Last Post: 02-29-2008, 06:53 AM
  5. ZDesktop Not Working
    By rajan in forum General Questions
    Replies: 1
    Last Post: 05-12-2007, 12:27 AM

Posting Permissions

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