Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    performance, can't really make it work

    isomorphic. I know you kindly answer me yesterday about performance and speed concerns, but I really can't make it work.
    I've made a simple page just to illustrate the situation, hoping you can correct my code with proper syntax to make it work.
    here I goes:
    1-using apache and php web server (linux Fedora Core 9).
    2-browsing with internet explorer 7/8
    the url in action is:
    http://admin.cyf.com/test.php
    all I have is a simple menu with one option home --> today
    the problem is:
    when the user clicks for the first time in the home menu, it takes 10 seconds to show the today submenu.
    each component I'm using, takes various seconds to be drawed for the first time.
    I know your style is answer with short responses, phrases like 'try this', or 'see this example...', but believe me, I've try everything without success.
    so, I really need from you to make the corrections in my code, so I can finally learn how to make it work.
    here's the complete code of the test.php page
    regards,
    *************
    <HTML>
    <HEAD>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <SCRIPT>var isomorphicDir="../isomorphic/";</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Core.js></SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Containers.js></SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Grids.js></SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Forms.js></SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
    <SCRIPT SRC=../isomorphic/skins/SmartClient/load_skin.js></SCRIPT>
    </HEAD>
    <BODY bgcolor="#ffffff" style="overflow-y:hidden;overflow-x:hidden">
    <SCRIPT>
    isc.HStack.create({
    left:0,
    showEdges:false,
    width:980, height:22, membersMargin:0, layoutMargin:0,
    backgroundColor:"#C7C7C7",
    members:[
    ]
    })

    isc.Menu.create({
    ID: "menuHome",
    autoDraw: false,
    showShadow: true,
    shadowDepth: 10,
    data: [
    {title: "Today", name: "today", icon: "/flags/AA.png"}
    ],
    itemClick: function (item) {
    if (item.name == "today") {
    }
    }
    })

    isc.MenuButton.create({
    ID: "menuButtonHome",
    title: "Home",
    width: 140,
    left: 0, top: 0,
    menu: menuHome
    })

    </script>
    </BODY>
    </HTML>
    Last edited by crosemffet; 27 Jan 2010, 12:42.
Working...
X