14,054 Topics

Member Avatar for
Member Avatar for belama

I am having a problem with a javascript script. Add this code to an html file if you wanna try it. [CODE]<html> <head> <script> var n = 0; function addtb(){ document.getElementById('TextEditor').focus(); cmd = 'InsertInputText'; document.getElementById('TextEditor').document.execCommand(cmd,'true'); document.getElementById('TextEditor').blur(); var TE = document.getElementById('TextEditor'); var TEcn=TE.children; for (i=0;i<TEcn.length;i++) { n++; if(TEcn[i].id == "") TEcn[i].id …

Member Avatar for belama
0
178
Member Avatar for mark25787

Hi, I'm modifying a template using Dreamweaver that I downloaded from the web and I would like it to check the browser resolution and resize accordingly. It was designed at 1024x768 and looks OK at that resolution, but is someone is running 1280x1024 it is small on the screen. Does …

Member Avatar for DaveSW
0
264
Member Avatar for Secret Agent

Got everything set except dont' know where to put the no scrollbar (scrollbars=0 or scrollbars=no) command. [code] <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Eric King (eric_andrew_king@hotmail.com) --> <!-- Web Site: [url]http://redrival.com/eak/[/url] --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! [url]http://javascript.internet.com[/url] --> …

Member Avatar for Secret Agent
0
203
Member Avatar for kah22

I'm desperately trying to finish of a site for my writers club and I know nothing about programing only got as far as I have care of WYSIWYG program. Anyway I want to insert a series of forms in one of the pages giving random Male Names, Female Names, Places, …

0
77
Member Avatar for redsabre

Hi all, I have an issue and am looking for some help. This would be a quick fix (if it's even possible), 'cause I am working on, and will be going the Perl/CGI/etc. route, but for now, here's the sit. I have a "mailto" web form. When the site visitor …

Member Avatar for Comatose
0
170
Member Avatar for nivedita

How can we parse the request header in Java scipt to find out the protocol of the request, whether it is http or https? Thanks in advance Nivedita

Member Avatar for tgreer
0
258
Member Avatar for Ben501wh

Below is html for a form... when the visitor hits the submit button i want the information to be sent to my email address... how do i do this? <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="COLOR: black; mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"></FONT></FONT></SPAN>&nbsp;</P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN …

Member Avatar for DanceInstructor
0
157
Member Avatar for Killer_Typo

Wow, its been awhile since ive posted, but hopefully some of you still remember me :-P well here goes. im desiging a site and i need help with how to make it so when i click one link, not only will it load a new page within an iframe, it …

Member Avatar for Killer_Typo
0
153
Member Avatar for ! !

A9 Search Engine and Google are using what is becoming a new Language that combines several elements in a unique interactive way This is the newest evolution above DHTML Asynchronous JavaScript+CSS+DOM+XMLHttpRequest

Member Avatar for ! !
0
189
Member Avatar for mr woo

Hi there, I'm a complete novice on javascript and am trying to make a basic currency convertor as part of my college course. I have the beginning sorted, but am struggling to get the code to output the answer. Can any kind soul tell me where I'm going wrong? // …

Member Avatar for MrsParadox
0
227
Member Avatar for BlackDice

I have a row of images on the left side of a web page that act as buttons with javascript for the changing of the image if it's rolled over. That works fine on most of the pages because besides that they're all text. Now I've created a few new …

Member Avatar for BlackDice
0
144
Member Avatar for Comatose

Any idea's about a javascript function, that will move you to specific line number in a textarea? I'm making a mini-page where I can edit text/perl files on a server. I want to be able to plug in the line number that causes the error, hit go, and have the …

Member Avatar for tgreer
0
2K
Member Avatar for Ann Drew

Hello, I have got a problem. In my forum software the DOCTYPE is for some reason set to XHTML Now I have implemented a scroller using setInterval. This scroller works fine if there is no DOCTYPE specified or even if I specify it as HTML 4.01 The scroller does not …

Member Avatar for tgreer
0
237
Member Avatar for belama

Hey all, I am trying to remove some style from a table cell with JavaScript but it is not working as I wish it would. As you can see in the code below I am trying to remove all borders from cells that are dotted. If I use the following …

Member Avatar for belama
0
197
Member Avatar for tepster

Over the past year, ive been making games in javascript, learning everything. With alot of help from my friend, we made a 3d maze using only the ASCII table as graphics. Heres the page i uploaded it to www.tepster.com/maze.html And heres the actual code, and i would endeavour for anyone …

Member Avatar for tepster
0
157
Member Avatar for TimmyRaa

I have a form where you select a player's name from a drop down list, and there are 6 input boxes next to it for their separate scores and a box at the end for their total score (all the separate scores summed). I want to have the form dynamically …

Member Avatar for TimmyRaa
0
128
Member Avatar for autocrat

OK, this is the link! [url]http://www.oreillynet.com/pub/a/javascript/synd/2002/03/01/css_layout.html?page=2[/url] please go have a look.... they are on about using CSS instead of tables... and provide you a a sample page with the table, and a sample page with the CSS.... the only problem is.... both use tables! What is more, when you try …

Member Avatar for DaveSW
0
137
Member Avatar for LowelG

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 …

Member Avatar for eagleeye
0
200
Member Avatar for gruntled

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 …

Member Avatar for gruntled
0
150
Member Avatar for samwelly

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 …

Member Avatar for Comatose
0
99
Member Avatar for gurlzlubme

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 …

Member Avatar for [KIGR] Mordrid
0
189
Member Avatar for Deepa
Member Avatar for jwenting

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 …

Member Avatar for eriasb
0
169
Member Avatar for Jounan

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 …

Member Avatar for beckerc
0
190
Member Avatar for deva00

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 …

0
227
Member Avatar for beckerc

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 …

Member Avatar for beckerc
0
109
Member Avatar for buddyb

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 …

0
98
Member Avatar for Deepa

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

Member Avatar for tgreer
0
83
Member Avatar for mortgage-pro-se

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 …

0
117
Member Avatar for Deepa
Member Avatar for js-x.com
0
269

The End.