Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

What type of extension for this?

Guest
Oct 18, 2007 Oct 18, 2007
I am writing an extension to insert javascript code after selected textareas to modify their behavior. The extension also copies files to the site and includes a couple of [script src=... ] javascript files in the head tag as well as a bit of other source code.

I am almost done with it as a behavior, but while working on it, there have been a few times when I needed to refresh behaviors and that inserted and onblur or onload behavior into a tag.

This extension will not actually use any of those event handlers. Is behaviors the wrong type of extension to use, and if so which ine would be better? If the answer is server behavior, is that reasonably easy to migrate because the documentation for server behavior feels a bit above me yet...

Thanx,
Steven
TOPICS
Extensions
301
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 18, 2007 Oct 18, 2007
LATEST
From the sound of it, a Command would be better for you than a
Behavior. Its API offers far more latitude to manipulate the DOM.

--


E. Michael Brandt

www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines