|
getElementByClass To make my navigation menu work in IE I have used this script. But it doesn't work with classes. So when I now want to use a CMS that genererates the navigation hierarchy that uses class instead of ID it fails. How do I modify it so it works with CLASS instead of ID? startList = function() { if (document.all &&... 22 Dec 2005 09:57
scroll select If i press the button "MOVE UP", it will go to the top of the select box. If i press the button "MOVE DOWN", it will go to the bottom of the select box. The selected values that the user select will still be selected, even if i press up or down. It works in firefox....but not IE ? coz the scrollTop does not w... 23 Dec 2005 15:29
allow only numbers in an input I've been using this function to limit a text input to numbers only with success on an old site. function checkForInt(evt) { var charCode = ( evt.which ) ? evt.which : event.keyCode; return ( charCode >= 48 && charCode <= 57 ); }<input id="txt" type="text" onkeypress="return checkForInt(event)" />However, on a... 19 Dec 2005 22:04
dealing with multiple onresize in IE I have a script that is called by the window.onresize event. The problem is that the script is called multiple times when I'm resizing the window in IE - obviously, because IE continuously fires the onresize event while it is being resized. What I'm wondering is - does anyone have any suggestions on making the s... 7 Dec 2005 13:29
booking system Hi all, i am new to javascript and was wondering if anyone can help with this assignment? Any help will be great. Shannon A small airline has just purchased a computer for its new automated reservation system. You have been asked to program the new system. You are to write a JavaScript program to assign... 19 Nov 2005 18:38
Object Hash vs. object Array preference Hello, In my object I have getDirectory() method which returns 2-dimentional array (or an imitation of 2-dimentional array using two JavaScript objects with auto-handled length property - please let's us do not go into an "each dot over i" clarification discussion now - however you want to call - you call it ;-) ... 13 Nov 2005 16:28
Getting IFRAME text <iframe name="iframe" width="100%" height="25%" src="test1.txt"> </iframe> <a href="test1.txt" target="input">one</a> <a href="test2.txt" target="input">two</a> <form name="form1"> <textarea name="textarea" cols=80 rows=18> This is a test </textarea><br> <button name="Copy" value="Copy" OnClick="DoCop... 12 Nov 2005 19:10
bypassing web form hardcoding login and password I need to hide the complexity from users to access an information webpage, which is normally accessible after filling in a web form with the correct data. The address of the information webpage is like https://external.address.com/info.asp?<numeric code> where <numeric code> is a number generated by the server. ... 20 Oct 2005 16:33
Error in IE Hi I am creating a page for stretchfilm. In this page you can chose between a short medium and long version of the film at any point in the film. It is in norwegian, but just press play. URL: http://www.media.uio.no/sherlockholmes/main.php?plugin=quicktime&hastighet=lav In IE I can see up to clip 14, bu... 22 Oct 2005 13:36
SpinChat How are some users are able to access the directsex.com chat server and have full use of chat commands? Directsex uses spinchat and the 3rd party spinchat software programs out there allow one to connect to spinchat only, not other servers. I copied the directsex html, applet section, saved it to my computer, l... 20 Oct 2005 11:20 |