Knowledge Base Contributions
Below is a list of the knowledge base entries that Martin Honnen has contributed to:
Page: 1 2 3
- How can I prevent a user from bookmarking a page?
How can I force a user to login before viewing a page?
- Can a signed applet close the window which it is loaded in?
- Can I input French characters in English version Windows?
- Can I determine the number of form elements with a certain name prefix?
- How can I have a marquee layer scroll left/right when the mouse is over an arrow button?
- How do I open a window centered?
- Why is 239.40*100 = 29339.999999999996 in Javascript ? (Try it !)
- Whats the javascript to popup a new window and create a button in the new window? It should give an alert when the button is clicked?
- Can I access the cascaded style properties of a style class?
- How can I prevent the ESC key from resetting a complet FORM in IE?
- Is there a way to pull down/pop up a SELECT wirth JavaScript?
- How to get the location of another frame whose url is in a different domain ?
- When I print a frame in NN4 using "frame.print()" for a document made only with "document.write", NN4 print NOTHING!!!, Why?
- Can I let a form submission replace the previous url as with location.replace()?
Can you give an example of submitting a form (via POST) and replacing a current URL in the history?
- How can I emulate in NN4 the IE4/5 's "new ActiveXObject" statement?
- How do I make a checkbox invisible in NN4 to disable it?
- Can I filter the file type in a file upload element?
- How do i dynamically update a select statement in one window with input from another window?
- How do I define a style rule for checkboxes?
- How do I associate an event handler with a radio button (or even group)?
- How to have cells width set to the width of the layers inside ?
- Is it possible to change cell properties from a hyperlink that is in it?
- How do I clip an iframe when I show a layer over it?
- How to scroll a page left to right?
- How do you use a selected value as input to another function?
- Can I protect a text field/text area against pasting in text (Ctrl-V or right click->paste)?
- How do I add a border to a <LAYER> element in NN 4 ?
- What is the Netscape equivalent of element.insertAdjacentHTML()?
- Can I set the orientation when printing with window.print()?
- How to build standalone IE5 application that can capture GET method variables without the need of a local web server ?
- How can I enlarge the width of the browser window, say 10 times the normal width ?
- If I have scrollbars turned off for my frame and my document is very long and contains anchors, how do I navigate to them via javascript?
- How do I center a block element like a DIV in NN6?
- Can I change the wrap attribute of a textarea?
- Can I print only parts of a page, for instance a DIV element?
- How can I get IE5 to display horizontal scroll bar in text area?
- How can replace a text selection in text field/text area with some other text in Netscape?
- How to sign an external JavaScript file with Netscape Signing Tool?
- How can I include another .js file in a javascript file?
- How do I center text in a text field?
- How do you prototype Array to add a function like push?
- Can I make the cursor invisible?
- Can I enumerate the (inline) styles of an element?
- Can I submit a form from a modal dialog back to the opening window?
- How can I script a menu that slides in/out?
- How to exactly centering a object in the client view
How to specify an element's location with dynamic property (IE5)?
How can I place button object exactly at the center (IE5)?
- How to create a field that shows up only when a button is pushed?
- Why is my onclick handler for the INPUT TYPE="IMAGE" button not fired?
what is "javascript: void 0"?
- How easily swap backcolor and text color(IE5)
How to change button value easily(IE5)
How apply the runtimeStyle to swap backcolor and text color(IE5)
- How to automatically modify background color daily
How to apply "day" value to automatically modify back color daily
How to automatically modify back color in IE5?
- How do I check whether a FORM property is a SELECT or in array of input elements?
- How do I generate a thank you page after a form submission with mailto:?
- How do I write a local file in NN calling into Java?
- How do I read a local file in NN calling into Java?
- Can I apply styles to a SELECT element?
Can I dynamically change the style of a SELECT element?
- How do you change the z-index of an element with Netscape 6
- How can I script BLINK for IE or NN6?
- How do I ensure only valid dates are input in a FORM?
- How can I check whether a year is a leap year?
- In a multiline select list (not multiple select), can I scroll a specific option into view (w/ both NN and IE)?
- How can I dynamically change the text of a link in NS4
- How can I handle the 'frames in different domains' problem, if the file is a php file and not a simple html?
- Can I hide my client-side javascript source from the browser user?
- How can I make a window non resizable?
- How can I write from keyboard to the page ?
- How do I change the content of a LEGEND?
- How do I script a LEGEND element?
- How can I dynamically delete an iframe?
- How do I dynamically add an IFRAME?
- How to make a text bold onmouseover?
- How to reference a window if two windows have same internal name (set with window.name='name')?
- How do I get a "layer" to move with the mouse in IE4?
- How can I filter out line breaks from a TEXTAREA before submitting?
- How can I instantiate Java Arrays from JavaScript?
- How do I disable a SELECT element?
- Is it possible to get an email(with information about a visitor- IP etc.) sent every time a HTML page is loaded(Form? in onload?)?
- How do I write a recursive version of history.go() that will iterate the child frames of each window?
- How do I mail a FORM?
- How can I find out the (platform specific) line separator?
- Is there a way to prompt a user for a password (with a dialog like prompt not an input type="password")?
- How do I display a random image every time the page loads?
- Can I capture the CTRL key when a click event occurs?
- How can I dynamically increase the number of file upload elements?
How can I allow the user to upload a varying number of files?
- Can I open a window that can't be minimized?
- Can I call save as on a linked document?
- Can I make the text in an INPUT TYPE="text" field bold?
Can I change the font weight of a text field?
- How can I make a button sound two simultaneous beeps on different notes?
- How can I check the JavaScript version supported?
- How can I have a styled tooltip?
- How do I make a table cell transparent again after setting the bgColor?
- How can I run a local windows app (exe) by clicking on a link?
- How can you load an image into a table cell from a link in another cell?
- How do I access nested layers?
- Can I have javascript move the mouse pointer (cursor) on the screen?
- How can I put all text nodes in a SPAN with a certain style?
- How can I replace prompt with a self made dialog?
- How can I call setTimeout/setInterval on an object's method?
How can I call setTimeout/setInterval on an object's method?
- How do I open a new window at the same position as the old?
- How do I make a string start with a capital letter?
- Can I prevent a window from being maximized?
- How do I collect the data from a FORM element?
- How can I script a hierarchical list of checkboxes?
How can I script a hierarchical list of checkboxes?
- How do I pass links to a function?
- Why is hiding the browser menubar in NN4 working locally but not from a web page?
- How do I generate a color table?
- How can I produce an acoustical alert with a beep?
- How can I change the SCROLLING attribute of a FRAME?
- How can I scroll a document.to the bottom?
How can I scroll a document.to the bottom?
- Can my script quit the browser it is running in?
- How do I find the computed dimensions of a SELECT?
- Why is my onsubmit handler not called when I submit the form with js (document.formName.submit())?
- How can I capture keypress events of frames to process them in the frameset ?
- Is there anything special about event handling in frames?
- How do I disable/enable a select box based on the onchange of another select box?
- How can I script a progress bar?
- Can you detect how many browser windows are open?
- I want to add the values of checked radio buttons in a form. How can I do that?
- How can I get a browser to not put the page the user is on into the History?
- When a form has a single input text field and several submit buttons, how can I set the default button when Enter is pressed?
- How do I find the value of a SELECT element?
- How do I protocol in a textara the other form input made?
- How do I scroll to an anchor?
How do I scroll to an anchor?
- How do I scroll to an anchor?
How do I scroll to an anchor?
- How can I rewrite HREFs when loading a document into an IFRAME to paste it into a DIV(IE4+)?
- How do I get an OMOUSEOVER status change for an AREA element?
- How do I capture keystroke values into an array?
- How do I work around the NN4 resize bug for positioned elements/layers?
What can I do about my positioned elements/layers being lost onresize in NN4?
- How can I offer the user to download and save several (non html) files?
How can I offer the user to download and save several (non html) files?
- How do you make a table cell editable (onclick)?
How do you make a table cell editable (onclick)?
I find here this entry very useful (editing table cells onclick), now I want this same functionalit
This is a GREAT script! Anyone know how to modify it so that the font color changes after editing a
How can i save the editted row to a variable string (rownum,col1,col2,col3\n)
- How do I find all elements of a certain style class?
- How do I find the (ascii/iso/uni) character code of a character
- How can I disable (and then enable again) a checkbox?
- How do I find the (computed) width/height of a TABLE cell?
- How do I get a scrollable TABLE?
- How do I know which row in a table is selected for deleting?
- How do I add a row to a table?
How can I add a row to a table in IE5+ for an unparsed html string representing a row ("<tr class=fo
- How can I load and use my own classes?
- How can I make a drop-down select list in which some selections spawn a new browser window and others do not?
- How do I reset the background color of an element to be transparent?
- How do I set the background color of an element or layer?
- Can I access the comment nodes in a document?
Can I access the comment nodes in a document?
- How to overcome IE's reluctance to redraw a SELECT when it gets clipped/unclipped?
- How can I check whether my script can access properties of another window/frame?
How can I check whether my script can access properties of another window/frame?
- How do I change a style property of a style class?
- How can I call a function defined in a Layer with setTimeout()(NN4)?
- Why does the onSubmit event not get triggered in my form with NN?
- What is SCRIPT DEFER good for?
- How can I capture Alt-key and Ctrl-key combinations?
But how to get 'event.ctrlKey' in Mozilla if I need to pass more parameters like onclickhandl(some i
- How do you open a new window?
- Can I set the INPUT TYPE="file" element with drag and drop?
- How do you pass a function as a parameter to another function, and then use that parameter to call that function?
- How can I sort a TABLE in NN4?
How can I sort a TABLE in NN4?
- How can I use the ondragdrop event handler in NN4?
Can I prevent file dropping in a browser window?
Can I prevent file dropping in a browser window?
- How can I print a frame?
How do i make a picture called print.gif to print the Main Frame when clicked on?
- Can I keep track of which element has focus?
Can I keep track of which element has focus?
- How can I find all elements with a certain attribute value?
- How can I enable/disable JavaScript in the browser?
- How to exit/quit Netscape using code in super-kiosk mode?
- How to disable CTRL-Q in super-kiosk mode?
- How can I set an inactivity timer?
- How can I find the host part of the url?
How can I find the host part of the url?
- How can I sort a TABLE with DOM access in IE5 and NN6?
How can I sort a TABLE with DOM access in IE5 and NN6?
- How can I insert a digital clock in the page?
- How do I script the target of a link?
- How can I find the size of an image?
How can I find the width/height of an IMG/Image?
How can I find the file size of an IMG/Image?
- How do I find the total of a number of indexed fields?
- How can I read the languages preference a user has set (NN4)?
- How to make a radio button act as a link?
- How can I load a new URL into an IFRAME?
How can I load a new URL into an IFRAME?
- How can I attach mouseover/mouseout handlers to a DIV or SPAN in NN4?
How can I attach mouseover/mouseout handlers to a DIV or SPAN in NN4?
- How can I put centered text in an alert box?
- How can I attach an image to the mouse cursor?
- How can I scroll a text while continously decreasing the font size till it disappears?
- Do links have a focus method?
Can I call focus() on a link?
- On form validation I would like to display a message next to the not validated field instead of using an alert. Is that possible?
On form validation I would like to display a message next to the not validated field instead of using an alert. Is that possible?
- How can I read a table cell's content?
- Can I compress .js files and load them from an archive file?
Can I put my .js files into a .zip archive?
- How do I generate a unique number?
- How can I set the background color of a checkbox?
How can I change the background color of a checkbox?
- How can I set the background color of a radio button?
How can I change the background color of a radio button?
- How can I increase the font size of an element till it fills the screen?
- Can I find out (in my form validation routine) which of several submit buttons has been pressed?
Can I find out (in my form validation routine) which of several submit buttons has been pressed?
- How can I call save as on an IMG/Image?
- Can JavaScript check whether an applet is loaded?
- How can I add scrollbars to a block element?
How can I add scrollbars to a positioned element/layer?
- How can I dynamically add an IMG element to a page?
How can I dynamically add an IMG element to a page?
- How do I find the name of a function?
- How do I find the name of a function?
- How can i use mouseOver to play through an array of images then mouseOut to play the opposite way, starting from the last displayed image?
How can I use JavaScript to play a sequence of images?
- How can I determine if a link points to a valid URL?
- How can I check whether a certain plugin is installed?
How can I check whether there is a plugin for a certain mime type?
- How can I associate a key with a certain action?
How can I assciate an accesskey with a form element?
How can I associate an accesskey with a link?
- How do I find the timezone of the machine js is executed on?
How do I find the timezone of a Date?
- How can I open a document for editing in NN's composer/editor?
How can I open the current document for editing in NN's composer/editor?
How can I load a URL in NN's composer/editor?
- How can I read and write cookies with client side Javascript?
How can I delete a cookie?
- Semicolon test
- Can I position an IFRAME?
How can I move an IFRAME?
- Can I have the same function twice with different number of arguments?
Can a function process a different number of arguments?
- How can I include accented letters (eg a c cedilla) in the text that appears in an alert box? using: alert('some text'); ?
- How can I get the text of the clicked link?
- How to prefill a form located on another server on loading ?
- How to read the styles of a style class?
How to read the styles of a style class?
- How can I read the styles of an ID selector rule?
How can I read the styles of an ID selector rule?
- How can I create a multidimensional array?
How can I create a 2 dimensional array?
- Can I remove the border of a text field/text area?
- How can I find the bit length of an integer?
How can I find the number of bits an integer has?
- Can I load a FRAMESET document into a layer in NN4?
Can I load a FRAMESET document into a layer in NN4?
- How can I find the column and row index of a table cell?
How can I find the column and row index of a table cell?
- Can I create a desktop link with client side JavaScript?
Can I create a desktop link with client side JavaScript?
- How can I find out when an ILAYER or LAYER is loaded?
- How can I capture load events of frames in the frameset document?
How can I capture load events of frames in the frameset document?
How can I capture load events of frames in the frameset document?
- How do I send the user to a thankyou.html page after on onSubmit form validate
- How can I check whether an integer is even?
How can I check whether an integer is odd?
- How do I preload a complete page before displaying it
How do I preload a complete page before displaying it
- How do I display text files in a textarea?
- How can I dynamically disable/enable a link?
does not work for NN 6 , at least!!!
- Can I script the title tooltip attribute of a page element?
- How can I disable text selection (by mouse clicking/dragging)?
How can I disable text selection (by mouse clicking/dragging)?
- Is it possible to avoid the close window confirmation dialog?
- Can I read and write the lines of a text area?
- How to increase size of the radio button?
- How to prevent IE from offer to remember password?
- How can I format a number to percentage format (e.g. 40.00%)?
- How can I format a number to a currency value(1,234,567,890.00)?
- How can I detect if it is Daylight Saving time?
- Once a URL is loaded into a browser window, how to prevent a shortcut being loaded into this window?
- Can I script the left margin of a page?
Can I script the left margin of a page?
Can I script the left margin of a page?
- Can I capture link clicks on document level?
Can I capture link clicks on document level?
Can I find out when the user is navigating to another page?
- How do I start the Java VM when NN4 starts?
How do I start the Java VM when NN4 starts?
- Can I change the COORDS attribute of an AREA element?
Can I change the COORDS attribute of an AREA element?
Can I change the COORDS attribute of an AREA element?
- How do you create a hierarchical, collapsible list with DOM methods?
- How can I check whether a text field contains a number or not?
How can I check whether a string contains a valid number?
How can I check whether a string contains a valid number?
- Can I call the Save as command from client side JavaScript?
Can I call the Save as command from client side JavaScript?
Can I make the save as type to "Web Page, complete (*.htm;*.html)" by default when the dialog box op
Can I call the Save as command from client side JavaScript in NetscapeŽ Communicator?
- How can I have an IMG sized to a certain percentage of the window/frame it is in?
- How do I script a repeating ticker?
How do I script a ticker tape?
- How do I close a window that was loaded with an url pointing outside my domain?
- How can I find a radio button in a group?
How can I find a radio button in a group by its value?
- How can I uncheck a radio button group?
- How do I make every word in a string start with a capital letter?
How can I convert a string so that every word starts with a capital letter?
- Can I check with client side JavaScript whether a http server is up?
Can I check with client side JavaScript whether a http server is up?
Can I check with client side JavaScript whether a http server is up?
- How do I center a HTML page element on the page?
- How do I script an IFRAME?
How do I access the content of an IFRAME?
How to scroll iframe content from the parent frame?
- How can I script an image slide show?
How can I script an image slide show using IE's reveal transition?
- Is window.stop supported in IE?
Is there an equivalent to Netscape's window.stop in IE?
- Can I restrict the numbers of character allowed to be inputted?
Can I script some maxLength for Textareas?
- How do I dynamically add elements to a FORM?
How do I dynamically add elements to a FORM?
How do I dynamically add elements to a FORM?
- Why is elementRef.style.propertyName not giving me the style of an element when I don't use inline styles (IE4+/NN6)?
How do I access the current style of an element?
How do I access the cascaded style of an element?
- What do I need to do client side to have file upload possibility?
- How do I bring a window to the front?
How do I focus a window?
- How can I check whether a window is still open?
- How do I find the value of the checked radio button in a group?
- How do I disable a radio button?
- Why are browser errors like a 404 not caught by window.onerror?
Why are browser errors like a 404 not caught by window.onerror?
- Can I capture the arrow keys with client side JavaScript?
Can I capture the arrow keys with client side JavaScript?
Can I capture the arrow keys with client side JavaScript?
- Is it possible to create a file of constants for use throughout a website's other javascript routines?
- How can I validate form input before it is submitted?
How can I validate all form fields are filled out?
- How can I base 64 encode a string?
How can I base 64 decode a string?
How can I base 64 encode a form field's value?
Nice example to de-code, but how do you en-code base 64 for IE?
- How can I disable a button?
- How can I create a group of checkboxes behaving like a radio group?
How can I create a group of checkboxes behaving like a radio group?
How can I create group of checkboxes where one or no checkbox is checked?
- Can I process a POST form submission with client side JavaScript?
- Is it possible to use Javascript to attach a document to a "mailto" email?
Can I send the current page as an email/attach it to an email?
- Which version of JScript is supported in which IE version?
Which version of JavaScript is supported in which IE version?
- Not enabling javascript in Netscape 4.7 also turns off style sheets. Are there any known work-arounds??
- How do I access the user's selection (highlighted text) in a document?
If you DO overwrite, how then do you access the entire changed source?
- (How) Can I draw a circle with JavaScript?
- How can I increment the text fields value every time the user clicks in it?
How can I simulate onclick with NN3/4 for a text field/text area?
How can I simulate onclick with NN3/4 for a text field/text area?
- How can I tell that all frames in a frameset are completely loaded?
Is there an event that fires when all frames in a frameset are completely loaded?
Is there an event that fires when all frames in a frameset are completely loaded?
- How do I find the current date/time?
How do I find the current system date/time?
- How can I sort an array of strings by the length of the elements
How can I sort an array of strings by the length of the elements
- How do I change the width/height of a page element (IE4 /NN6)/ a positioned element/layer(NN4)
- What are JavaScript style sheets?
What are JavaScript style sheets?
- How do I get all selected values from a SELECT MULTIPLE element?
How do I get all selected texts from a SELECT MULTIPLE element?
How do I get all selected indices from a SELECT MULTIPLE element?
- How do I get all selected values from a SELECT MULTIPLE element?
How do I get all selected texts from a SELECT MULTIPLE element?
How do I get all selected indices from a SELECT MULTIPLE element?
- How do I get all selected values from a SELECT MULTIPLE element?
How do I get all selected texts from a SELECT MULTIPLE element?
How do I get all selected indices from a SELECT MULTIPLE element?
- Can I read the ip address of the client the script is run on?
Can I read the host adress of the client the script is run on?
- How can I find the current scroll position?
How can I find the current view port coordinates?
How can I find the current scroll position?
- How do I get the text content of a link?
Page: 1 2 3