You tried every focus?

I just commented out the focus() on line 291 of the ezedit.htc file 
(version 1.0)

function ezEdit_loadHTML(HTML){
  element.document.body.innerHTML = HTML;
  //focus();
}


Tried it a couple of times, when the focus() is commented out, the 
focus on the ezEdit field
isn't set.  


Regards,

Chris

-----Original Message-----
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 6:23 PM
To: CF-Talk
Subject: how to stop ezEdit grabbing focus


Does anyone with experience of ezEdit (the now outdated
WYSIWYG text editor custom tag from www.siteobjects.com)
know how to stop it grabbing focus when a page loads?

There is mention of this problem on the ezEdit forum from
last year. Brett posted a 'solution', and the original poster
said "Nope, didn't work" - and there's nothing else!

I've tried everything I can think of. The ezEdit element has
to be halfway down a form I've done, and when the page
loads it jumps down to that point. I've tried removing every
'focus();' in ezEdit.htc, but it still does it.

Anyone know?

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to