[Proto-Scripty] Re: Prototype 1.6.0.3 is out

2008-09-30 Thread Posseidon

Its good to hear that something is going on with this Framework!
I cant wait to test the new Version on my site!!

Nice Greetz

Posseidon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Problems with the down() function and the new Browser Generation

2009-06-07 Thread Posseidon

Hi guys...

I have some Problems in all modern Browsers (IE8, Safari4, Opera10)
using the Element.down() function. I'm building with a Template a list
of div containers and in those containers there is some text and two
buttons. The buttons come when the User has the right rights to click
on them. After the creation of this containers i look with Element.down
('img.buttonDelete') if there is the image inserted or not. But when i
use this function the Browser stops the insertion. It looks like there
is an error but no browser fires an error at all. here is some code..

var gbEtmpl = new Template('div id=#{eid} style=padding-bottom:
5px;' +
 'div style=text-align:left; width:100%;
height:93px; background-image:url(./pics/site/main/gbback_02.png);
background-repeat:no-repeat;'+
   'div style=padding-top:55px; padding-
left:20px; font-family:Arial Black, Verdana; color:#00; font-size:
13px; font-weight:500;'+
 '#{hl}'+
   '/div'+
 '/div'+
 'div style=width:100%; text-align:left;
background-image:url(./pics/site/main/gbback_03.png); background-
repeat:repeat-y;'+
   'div style=min-height:100px; padding-
top:10px; padding-left:20px; padding-right:30px;'+
 '#{msg}'+
   '/div'+
 '/div'+
 'div style=background-image:url(./pics/
site/main/gbback_05.png); background-repeat:no-repeat;'+
   'div class=clearfix style=height:
43px; padding-top:15px; margin-left:15px;'+
 'div style=line-height:18px;
float:left; width:49%; text-align:left;'+
   '#{ed}nbsp;nbsp;#{ee}nbsp;nbsp;#
{date} #{time} #{uname}'+
 '/div'+
 'div style=line-height:18px;
float:left; width:50%; text-align:right;'+
   'div style=padding-right:15px;'
+
 '#{em} #{hp} #{icq} #{aim} #{yim}
#{msn} #{xf}'+
   '/div' +
 '/div'+
   '/div'+
 '/div'+
   '/div');

function showEntrys( XHR )
{
  var e, i, imgObject;
  edata = XHR.entrys;
  $('entrys').childElements().invoke('remove');
  for( i = 0; i  edata.length; i++ ) {
e = edata[i];
$('entrys').insert( gbEtmpl.evaluate({ eid:e.eid, hl:e.hl,
date:e.date, time:e.time, uname:e.uname, msg:e.msg, icq:e.icq,
aim:e.aim, yim:e.yim,
   msn:e.msn, xf:e.xf,
hp:e.hp, em:e.em, ed:e.ed, ee:e.ee }) );
alert( e.eid );
if( $( e.eid ).down('img.gbEditButton') ) alert('isda');
if( $( e.eid ).down('img.gbEditButton') != undefined ) $
( e.eid ).down('img.gbEditButton').onclick = showEditEntry;
if( $( e.eid ).down('img.gbDeleteButton') != undefined ) $
( e.eid ).down('img.gbDeleteButton').onclick = msgBoxDeleteEntry;
  }
}

I have two alerts in there to show you how far the browser comes with
parsing... In Firefox there is no Problem both alerts are coming and
the insertion goes till the end... this code worked one year and now
with the new Browser generation something is going wrong...

When i test this code in IE8 = IE7 Mode... Activated with Developer
Tools then the site is loading normally...

Please Help...

Regards Posseidon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Problems with the down() function and the new Browser Generation

2009-06-08 Thread Posseidon

Hi guys

Thank you for the answer!
The problem was self made! It seems that the new Browser Generation is
more with the Standards. I had as ID attribute only a number. And this
is since HTML 4 wrong.
an ID Attribute must not start with a number or must not be a number
only!

td id=456 -- was wrong
now i fixed it like td id=gb_456 and i get out the id with id.split
('_')[1]

thx for all answers...

Best regards

Posseidon

On Jun 8, 12:34 pm, david david.brill...@gmail.com wrote:
 Hi Posseidon,

 The actual prototype is compatible with safari =3, opera =9 and
 IE=8.
 I think you should open a ticket to lighthouse. the url 
 ishttps://prototype.lighthouseapp.com/projects/8886-prototype

 The code is very difficult to test, perhaps if we'll have an XHR input
 to test with ??

 --
 david

 On 7 juin, 13:57, Posseidon possei...@aon.at wrote:



  Hi guys...

  I have some Problems in all modern Browsers (IE8, Safari4, Opera10)
  using the Element.down() function. I'm building with a Template a list
  of div containers and in those containers there is some text and two
  buttons. The buttons come when the User has the right rights to click
  on them. After the creation of this containers i look with Element.down
  ('img.buttonDelete') if there is the image inserted or not. But when i
  use this function the Browser stops the insertion. It looks like there
  is an error but no browser fires an error at all. here is some code..

  var gbEtmpl = new Template('div id=#{eid} style=padding-bottom:
  5px;' +
                               'div style=text-align:left; width:100%;
  height:93px; background-image:url(./pics/site/main/gbback_02.png);
  background-repeat:no-repeat;'+
                                 'div style=padding-top:55px; padding-
  left:20px; font-family:Arial Black, Verdana; color:#00; font-size:
  13px; font-weight:500;'+
                                   '#{hl}'+
                                 '/div'+
                               '/div'+
                               'div style=width:100%; text-align:left;
  background-image:url(./pics/site/main/gbback_03.png); background-
  repeat:repeat-y;'+
                                 'div style=min-height:100px; padding-
  top:10px; padding-left:20px; padding-right:30px;'+
                                   '#{msg}'+
                                 '/div'+
                               '/div'+
                               'div style=background-image:url(./pics/
  site/main/gbback_05.png); background-repeat:no-repeat;'+
                                 'div class=clearfix style=height:
  43px; padding-top:15px; margin-left:15px;'+
                                   'div style=line-height:18px;
  float:left; width:49%; text-align:left;'+
                                     '#{ed}nbsp;nbsp;#{ee}nbsp;nbsp;#
  {date} #{time} #{uname}'+
                                   '/div'+
                                   'div style=line-height:18px;
  float:left; width:50%; text-align:right;'+
                                     'div style=padding-right:15px;'
  +
                                       '#{em} #{hp} #{icq} #{aim} #{yim}
  #{msn} #{xf}'+
                                     '/div' +
                                   '/div'+
                                 '/div'+
                               '/div'+
                             '/div');

  function showEntrys( XHR )
  {
    var e, i, imgObject;
    edata = XHR.entrys;
    $('entrys').childElements().invoke('remove');
    for( i = 0; i  edata.length; i++ ) {
      e = edata[i];
      $('entrys').insert( gbEtmpl.evaluate({ eid:e.eid, hl:e.hl,
  date:e.date, time:e.time, uname:e.uname, msg:e.msg, icq:e.icq,
  aim:e.aim, yim:e.yim,
                                             msn:e.msn, xf:e.xf,
  hp:e.hp, em:e.em, ed:e.ed, ee:e.ee }) );
      alert( e.eid );
      if( $( e.eid ).down('img.gbEditButton') ) alert('isda');
      if( $( e.eid ).down('img.gbEditButton') != undefined ) $
  ( e.eid ).down('img.gbEditButton').onclick = showEditEntry;
      if( $( e.eid ).down('img.gbDeleteButton') != undefined ) $
  ( e.eid ).down('img.gbDeleteButton').onclick = msgBoxDeleteEntry;
    }

  }

  I have two alerts in there to show you how far the browser comes with
  parsing... In Firefox there is no Problem both alerts are coming and
  the insertion goes till the end... this code worked one year and now
  with the new Browser generation something is going wrong...

  When i test this code in IE8 = IE7 Mode... Activated with Developer
  Tools then the site is loading normally...

  Please Help...

  Regards Posseidon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http