I need help with newWin.document.write. I can document.write to a new window, but I need it to seperate the information into three columns so that the user can print the new window containg the information that they entered into the form fields. This can not be used in conjunction with cgi, asp php or other. I need a java script to handle this (java script, .js, .class and such). I hope this makes since. Below you will find the code I have already written. Just copy and paste the code into HTML editor and save to view (IE only). Then …

Member Avatar
Member Avatar
+0 forum 6

I am having a problem getting two javascript snippets to run on a single html document. Whichever one is loaded last (further down in the html doc) runs fine. I am not any kind of javascript expert and would appreciate any help here. Thanks ------------------------------------------- The two examples of the html doc are here: [url]http://216.122.129.151/javascript-conflict1.html[/url] [url]http://216.122.129.151/javascript-conflict2.html[/url] -------------------------------------------- Alternatively I reproduce the two snippets here. *********************************** <script type="text/javascript"> /*********************************************** * Conveyor belt slideshow script- © Dynamic Drive DHTML code library ([url]www.dynamicdrive.com[/url]) * This notice MUST stay intact for legal use * Visit Dynamic Drive at [url]http://www.dynamicdrive.com/[/url] for full source code ***********************************************/ …

Member Avatar
Member Avatar
+0 forum 1

I am trying to write a piece of javascript so that numbers appear on the page as follows: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 etc,etc up until 100 Have been scratching my head over this for weeks. Has anyone any ideas? Any help would be greatly appreciated.

Member Avatar
Member Avatar
+0 forum 3

Hi. Currently I am running a phpbb forum off of a server, and I was givin a javascript for a simple clock with date. I would love to learn how I can implement a second one, which reflects the exact time of another location across the world. i.e. a clock that shows the forum time, and a second one that shows Japan's time. it doesnt have to be java, but flash is fine too. as long as i can customize the digits and date.

Member Avatar
Member Avatar
+0 forum 5

how to pass a array from asp to javascript

Member Avatar
Member Avatar
+0 forum 1

A piece of JavaScript on one of our pages gives an access denied error. In itself nothing strange, it's a reasonably well defined error after all :) What is strange is that the error ONLY happens on that page (despite identical calls to the JavaScript function appearing on several other pages) and that the error ONLY appears if the page is loaded in a fresh browser instance. If I reload the page before executing the script (which is triggered in the onblur event of a formfield) the error does not appear and the script is executed successfully. The function of …

Member Avatar
Member Avatar
+0 forum 2

Hi everybody, I am new to JavaScript and need help to start, please help to Write the script to calculate grades. Up to 10 scores can be entered. The raw scores are curved and grades are assigned. Click the "Load" button to work with the example scores. If the average is below 75, make it 75. Assume the following 10 scores: 40, 46, 48, 56, 62, 64, 66, 70, 76, and 78. Enter the scores and press button Load. The average will be given as 60.5 ~61 so we have to add 14 (75-61) to every score. This is done …

Member Avatar
Member Avatar
+0 forum 6

I wonder can anyone help please ...very very urgent! Am a web designer and am only just learning javascript and have just taken over some ones website to work on. The pages of this website come with an attached .js file for the 6 navigation menu buttons. Somewhere in the .js script below is a code which means that whenever I mouse over the buttons on my web page navigation buttons, the button images disappear, leaving a blank space on the web page where the buttons should be. ( It may be something simple, but not understanding javascript well yet, …

Member Avatar
+0 forum 0

I wrote a piece of code that allows me to pass a numeric primary key for update when looping through a recordset. This works fine, however, I am doing the same routine for one level deeper into the database structure and the primary key is concantenated and the component I need to pass is a single leter. The code that works so well with the number, now dies and gives the 'object undefined' error...I just want it to pass a string literal... Any help is apprecited. here is the code for the function: [CODE] jsProdPayType = ""; jsProdNm = ""; …

Member Avatar
Member Avatar
+0 forum 1

Maybe I had a dream? I seem to remember seeing Javascript balloons somewhere. Something I did notice, in XP Pro when you do a file search there is a balloon that shows the search path, and the balloon expands and contracts with the length of copy that is being displayed in the window. Any thoughts will be appreciated. Thanks, BuddyB

Member Avatar
+0 forum 0

sample code to validate a web address using javascript how to validate a web address enterredin a text box

Member Avatar
Member Avatar
+0 forum 1

This would be two fold. Making my page ligheter and also prevent there link from showing in my page when there site goes down. This is my code... <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=212619; var sc_partition=0; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c1.statcounter.com/counter.php?sc_project=212619&amp;amp;java=0" alt="counter free hit invisible" /></a></div></noscript> <!-- End of StatCounter Code -->

Member Avatar
+0 forum 0

how to calculate the heigth,width and size of a image using javascript

Member Avatar
Member Avatar
+0 forum 5

I want to create a form, and then insert that data into an Oracle database. I am new to JavaScript. I can create a form, but I have no idea how to connect to my Oracle database and pass the form contents to an INSERT statement. Does anyone have a sample script that does something similar?

Member Avatar
Member Avatar
+0 forum 1

Hi, I`m writing a mod for a forum but I`m getting an error with a piece of Javascript which checks the length of text typed into a text area. The error only happens in IE and not firefox/mozilla This is the JS [code]<script type="text/javascript"> function check_length( l_max , textBox ) { item = eval( "document.theForm." + textBox ); if( !item ) { return false; } if( l_max < item.value.length ) { alert( "{ipb.lang['l_over']}" + l_max + " {ipb.lang['l_characters']}." ); } if( l_max == item.value.length ) { alert( "{ipb.lang['l_equal']}" + l_max + " {ipb.lang['l_characters']}." ); } if( l_max > item.value.length ) …

Member Avatar
Member Avatar
+0 forum 2

I do not know if this is even possible in this language, but here goes: I am looping a recordset that has been returned for update. the problem is I have many records that can be returned, so when i submit my form, I get an error because it does not know what form elements to use. I used to use this method in coldfusion where I would apply a variable to the end of my form elelmets so they would all be uniquely named, thier form name + the incremt variable so it would give you textbox1 or textbox5. …

Member Avatar
Member Avatar
+0 forum 1

I have a small javascript program that basically asks a user 60 questions. Each question answer a or b, and right now it has it set up for an onclick, the variables associated with each answer increase one. The problem I have obviously, is if the person clicks on one, then changes the answer, both variables are increased. I want to change it to become an onsubmit type situation if that is possible. Is it? or what is the alternative? btw. im new to javascript if you couldn't tell :cheesy: -Tipsy-

Member Avatar
Member Avatar
+0 forum 2

Greetings, I have 16 links for my horizontal menu navigation as you can see in my website [url="http://www.singakad.com"]www.singakad.com[/url] and at present, I am using a table and javascript for this menu. Is it possible for me to create a submenu for certain cells in this horizontal menu? How do I go about doing this? Thank you in advance for any assistance given. Regards, Andrew

Member Avatar
+0 forum 0

Hi all, I'm trying to understand the differences between the 2 & whether it's worth the headache finding someone who can do xml, or should I just leave my site to be coded in html & CSS? Even JavaScript seems to be an issue b/c not all people have JS enabled. Please give me your povs. Thanks & have a great day :) Michelle

Member Avatar
Member Avatar
+0 forum 7

I have cretaed a menu using div tag.This div tag has a table in which rows are populated for menu. Below that there is a flash embedded.The same code runs fine in IE,but the code doest not work on Netscape 6.1,though I have installed the plugin required for the same.Any one has solution ,how the same can be solved. code for flash is as follows <TABLE width='760' id='Tbl2' cellSpacing='0' cellPadding='0' border='0' > <TR> <td width='760' ><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' type='application/x-shockwave-flash' width='760' height='" & strHeightFlashContainer & "'" & " > <param name='movie' value='strFlashContainerFileName?ImgPath=strFlashImageFileNameWithPath> <param name='quality' value='high'> <PARAM NAME='wmode' VALUE='transparent'> <embed wmode='transparent' src='strFlashContainerFileName' …

Member Avatar
Member Avatar
+0 forum 6

Hi, I am trying to put [B]message boards [/B] (much like the ones on this site) on my site...is there a [B]javascript code or a website to go and get them?? [/B] I'm very new to this, so I'm not sure exactly where to start. Any help is very much appreciated!!! Thanks, .kelly.

Member Avatar
Member Avatar
+0 forum 3

I'm in the process of developing my companies intranet and have decided to create a dhtml menu, I'm not an advanced dhtml coder and am having problems linking my menu with the javascript code. I'm quite sure the code is correct, however my frames page is now just showing the background colour and no menue functions at all. Can some one please help me? :-|

Member Avatar
Member Avatar
+0 forum 3

hello, my 1st post.... i want to have a blinking cursor at the end of a sentence on my site. just like the blinking cursor on this page. does anyone know how to do this? i cant figure it out. im a rookie at website design so please dont get too technical. any help would be greatly appreciated. thanks.

Member Avatar
Member Avatar
+0 forum 14

[i]HTML Complete [/i]is a one of a kind computer book, valuable both from its broad contents and its low price. This book contains the essentials you need to know about creating and modifying Web pages with HTML. With [i]HTML Complete[/i], you'll learn all about Web publishing, working with HTML, designing pages, and using page components, and you'll quickly take advantage of all that HTML has to offer. Get up to speed with HTML, then move on to professional Web design and advanced Web languages such as JavaScript, JScript, DHTML, and XML. As you become more proficient with HTML, you'll find …

Member Avatar
+1 forum 0

When I disable my webpage the text in my edit fields duplicates. e.g. ABC changes to ABCABC. THis only seems to happen when I have my edit fields in a <table>. A sample of my code is provided. I'd appreicate any help. Thanks, B. [code] <html> <head> <title>Test</title> <script type="text/javascript"> <!-- function disableForm&#40;form&#41; &#123; alert&#40;'disable form'&#41;; form.disabled=true; &#125; // --> </script> </head> <body> <form name="formname"> <table> <tbody> <tr> <td> <input type=edit name="textinput" value="abc"/> </td> </tr> <tr> <td align=left>input</td> <TD align=left><input type=edit name=userName>* </TD> </tr> </tbody> </table> <input type="button" value="test" onclick="java script&#58;disableForm&#40;this.form&#41;;" /> </form> </body> </html> [/code]

Member Avatar
Member Avatar
+0 forum 3

I have a web page that's seperated into basically two columns: The left column has two subsections, one being the menu (part of index.html) and another one underneath being a frame labeled 'sub'. Sub's scrolling is always off, as set by index.html. On the right column I have a frame titled 'main'. This is where most of the content goes. Sometimes I want it to scroll, but other times I can't have scroll bars displayed. Sub and Main are .php, while index.html is currently html (it will soon also be php). So basically in either PHP, Javascript, or HTML, I …

Member Avatar
Member Avatar
+0 forum 3

I have a marquee which will slow down on mouseover. [code]<marquee behavior="scroll" scrollAmount="6" onMouseOver="this.scrollAmount=1" onMouseOut="this.scrollAmount=6" onMouseDown="this.scrollAmount=0" onMouseUp="this.scrollAmount=1"> Some links and other stuff here... </marquee>[/code] However, it is annoying, becuase I don't want the marquee to slow down unless the user moves over a link. Does anyone know how I can refer to the marquee's properties from inside the tags? EG: Using the 'onMouseOver="this.scrollAmount=1"', only with something like 'onMouseOver="thatmarquee.scrollAmount=1"' inside the <A HREF> tags?

Member Avatar
Member Avatar
+1 forum 1

The End.