You cannot post messages because this group is only available as an archive.
|
type or object
|
| |
sorry, am new to javascript and still reading the reference manuals. but i have a confusion - when does one decide to use a type (data type) instead of an object and vice versa? it's all so confusing especially when one is used to classes. tnx david
|
|
Compiling <script> src into a function
|
| |
Hi All, I would like to know if there is a mechanism to compile the script code from the "src" attribute of the <script> tag into a function that can be later invoked from my JS code. For eg: <script src="some.url"> Now this if the source script compiles to a function say "foo", then I would like to execute the script by calling foo();... more »
|
|
ANNOUNCMENT: Flusspferd 0.8 released
|
| |
Fresh off the intertubes to Sourceforge upload pages, we proudly announce Flusspferd version 0.8 <[link]>. You can download it from Sourceforge <[link] >. This version is hot on the heels of 0.7 (relatively speaking) due to a lot of work Ash Berlin put in place to get features for the first... more »
|
|
Custom JSMarkOp callback not triggered in GC
|
| |
Hi All, I have added a custom object to SpiderMonkey and am testing it with the browser integrated. Everything works fine except the Garbage Collector. My custom object has several JSObject* as its private data members. I have also declared the JSClass flags as JSCLASS_MARK_IS_TRACE and defined the JSMarkOp callback as... more »
|
|
FF "needs a moment" to calculate element width()
|
| |
Hi! I have some scripting foo where I add some element dynamically and the want to query the width of it. NOTE: The reason I want width is for centering. If anyone knows a way to center a DIV element without knowing its width, just say so and the below problem is irrelevant. (same goes for height and vertical... more »
|
|
Can't manage to make Mouse Gesture Events work on Mac OS X
|
| |
Hi ! I'm experimenting with the Mouse Gesture Events (https:// developer.mozilla.org/En/DOM/M ouse_gesture_events) on Mac OS X Leopard. I'm using the code below to listen to MozSwipeGesture events : function onSwipe(event){ alert("Swipe"); } window.addEventListener("MozSw ipeGesture",onSwipe,true); Despite all my efforts, I could not manager to get an alert :( Is... more »
|
|
Javascript and ID3 Tags in Ogg File
|
| |
Dear all, i am creating a little HTML page to access my OGG library with Firefox, I have a little question that I have not answered myself. I have look at all properties of audio object, but I don't find an element (or function) to access ID3 tag of my OGG audio file. I have searched with Google and I have found a script on Ajaxian that... more »
|
|
refresh i window from another
|
| |
i have my browser in witch i have developped a toolbar (extesion): 1- when i push over a button of this toolbar a new window is opened 2- in this second window there is a button i would like that, when i push the button (point 2), the page loaded in the browser (for exemple my homepage) will refresh....... more »
|
|
Removing On-Demand Script Elements
|
| |
(I apologize upfront if this is not the right group) Hello, When using the <a href="[link]"> On-demand Script Pattern</a> it is often helpful to abort retrieval of a remote script if it is taking longer than a given time. An example of this might be an application that periodically updates a page by... more »
|
|
Query regarding JSOP_CALL control flow
|
| |
Hi All, I'm trying out scripts to achieve the following control flow : calling js_Invoke from JSOP_CALL and then invoking js_Interpret from within js_Invoke. Is there a sample script that will follow the above mentioned control flow. I have tried all kinds of functions (operator, statement and constructor variants) but the VALUE_IS_FUNCTION(cx, lval) in JSOP_CALL... more »
|
|
|