• download
  • documentation
  • forums
  • demo
  • contact
  • blog

meteora

javascript widgets

Documentation

  • Autocomplete
  • Bubble
  • Calendar
  • Carousel
  • Datagrid
  • Dialog
  • Editor
  • Effect
  • Filebrowser
  • Form
  • Jsonrpc
  • Menu
  • Notebook
  • Picbox
  • Popup
  • Searchlist
  • Selection
  • Spinbutton
  • Tablesort
  • Toolbox
  • Treeview
In order to post messages on this forum, you must be registered and logged in
80x80:1760834185_unknown.png
Forums » General » Help for beginners

Notebook and ie7

Posted by romdav

Hi

i have this code

Meteora.uses('Control.Notebook');

Meteora.onStart(

function () {

var nb = new Notebook('notebook_div');

nb.addPage(

{'id': 'resumen','title': 'Generales'},

$('generales')

);

nb.addPage(

{'id': 'sucursales','title': 'Sucursales'},

{'url': 'clientes_sucursales.pl','data': 'id_cliente='+($('id_cliente').value)}

);

nb.addPage(

{'id': 'equipos','title': 'Equipos'},

{'url': 'clientes_equipos.pl','data': 'id_cliente='+($('id_cliente').value)}

);

}

);

this code work fine on mozilla and ie6 but i can't make this work on ie7. When i clic on a tab i have this error

Unexpected call to method or property access

please help me.

  • Tuesday June 3, 2008 @ 15:50 date
  • romdav user
50x50:1760834185_unknown.png
link Friday June 13, 2008 @ 10:51

comment romdav

Hi i have my own bug fix for Core/Meteora.js File,

When i use a Nootebook control this not work with external data on ie7

this is the solution.

Original file from line 899

try {

node.appendChild(inner);

} catch(e) {

node.appendChildren(inner);

}

Fix

try {

node.appendChild(inner);

} catch(e) {

try{

node.appendChildren(inner);

} catch (e) {}

}

i hope this helps.

Thanks

50x50:1760834185_unknown.png
link Saturday July 12, 2008 @ 12:57

comment J. Carlos Nieto

Thanks for your fix, was this bug fixed with Meteora 0.6?

Copyright © 2007-2009 Astrata Software.