Re: t, name var Re: Loop Quirk

"Mark Fuller" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <002101c58e25$6dee8710$6701a8c0@markhome>
Leander,

Are you saying that you believe H:T isn't working correctly because IE doesn't behave the same as other browsers? Or, are you really seeing H::T emit something different than you expect it to emit? That's a big difference. You may have invalid HTML causing IE to break (or its version of java script to break).

When you say a large chunk is missing, do you mean in display? Or, from the actual output method of H::T? You can write the output from H::T to a file and examine whether it is emitting the template correctly.

Mark

----- Original Message ----- 
  From: Leander Gillard 
  To: [email protected] 
  Sent: Thursday, July 21, 2005 11:39 AM
  Subject: [htmltmpl] t, name var Re: Loop Quirk


  Hello again.

  name is unique to every row in the table iterated over during the initial 
  build of the loop, t gets assigned a value from the perl script it calls 
  through the xml object.

  The template works initially but it causes some confusion for Internet 
  Explorer and I'm assuming the DOM structure since placing the DIV "select" 
  anywhere but in the template loop works fine. As usual FF seems to have no 
  trouble with any of this.

  You can try the script in FF and IE here 
  http://project1.vianet.ca/?rm=mode_203  just click on ADD and then choose a 
  CID in the Select Box


  -- Leander
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.