1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    missg is on a distinguished road

      0  

    Question how to use autoLoad in Panel ???

    how to use autoLoad in Panel ???


    I have one page (b.html) which have google map code inside. I can call http://localhost/myproject/b.html which it can display a google map successfully.

    But my problem is ... I create new html page ( a.html ) and create panel which load b.html by autoLoad configuration like my code below.

    a.html

    var mapPanel = new Ext.Panel({
    renderTo: 'googlemap',
    style:"margin: 5px auto 5px auto;",
    bodyStyle: "text-align:center;",
    frame: true,
    title: 'Google Map',
    autoHeight: true,
    layout: 'form',
    split: true,
    autoLoad: {
    url: 'b.html',
    scripts: true

    }
    })

    I got result --> page loading (blank page) and at task bar I got "Read maps.gstatic.com" .....


    why it does not display a map ???????


    Anybody pls give me a way to solve it


    Many Thanks ..

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    autoLoad is only meant to load HTML fragments, not full HTML pages.

    You could use:
    Code:
    bodyCfg: {tag: 'iframe', src: 'b.html'}
    but that doesn't work for autoHeight:true panels.

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    missg is on a distinguished road

      0  

    Default


    Special Thanks ... Condor ^____^

    I got it ... my problems already solved.

    really thanks.

Similar Threads

  1. autoLoad panel
    By francesca1081 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 6 Aug 2008, 1:37 AM
  2. autoLoad panel
    By francesca1081 in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 1 Aug 2008, 3:11 AM
  3. Panel (autoLoad) help
    By bab5139 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 29 May 2008, 7:47 AM
  4. panel autoLoad
    By miky1279 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Mar 2008, 7:42 AM
  5. Looking for tips on using Panel autoload
    By TheNakedPirate in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 15 Oct 2007, 10:01 PM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar