This is the only way I know to register them with the YUI library.
On 6/26/06, Albert Weinert <[EMAIL PROTECTED]> wrote:
Jon Ceanfaglione schrieb:
> var script = document.createElement("script");
> script.setAttribute("type", "text/_javascript_");
> script.innerHTML = "var dd = new YAHOO.example.DDResize ('" + name +
> "', '" + name + "_handle','panelresize');";
> script.innerHTML += "var dd2 = new YAHOO.util.DD('" + name + "',
> 'paneldrag');";
> script.innerHTML += "dd2.addInvalidHandleId ('" + name + "_handle');";
Maybe you should take a look at the eval() command of _javascript_.
I don't understand the sense of creating a <script/> like this in runtime.
--
Freundliche Grüße
Albert Weinert
http://der-albert.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---
- [ajaxpro] Kinda OT: Javascript Errors with IE Jon Ceanfaglione
- [ajaxpro] Re: Kinda OT: Javascript Errors with IE Albert Weinert
- [ajaxpro] Re: Kinda OT: Javascript Errors with I... Jon Ceanfaglione
- [ajaxpro] Re: Kinda OT: Javascript Errors wi... Albert Weinert
- [ajaxpro] Re: Kinda OT: Javascript Error... Jon Ceanfaglione
- [ajaxpro] Re: Kinda OT: Javascript ... Albert Weinert
- [ajaxpro] Re: Kinda OT: Javascr... Jon Ceanfaglione
- [ajaxpro] Re: Kinda OT: Jav... Jon Ceanfaglione
- [ajaxpro] Re: Kinda OT: Jav... Albert Weinert
- [ajaxpro] Re: Kinda OT: Jav... Jon Ceanfaglione
- [ajaxpro] Re: Kinda OT: Jav... Albert Weinert
