15,116 Topics

Member Avatar for
Member Avatar for garyewen

I am attempting to use style.top for a div element that exists in the root of the body tag. but its idea of where top = 0 is about 40 pixels out. i have tried adding border=0 and padding=0 to the style of the body tag but it doesnt work. …

Member Avatar for MidiMagic
0
59
Member Avatar for Racoon200

Take a look at my site... [URL]http://www.freewebs.com/whellmundv/index.htm[/URL] Now click on the "computer screen" icon in the head bar. You will notice that a "console" appears right?, but when you try to drag it around or close it, it will first go into the top left part of the screen, and …

Member Avatar for iamthwee
0
71
Member Avatar for MDGM

Hi, How do i check for a cookie using javascript, and then say if the cookie is found, write "this" or if the cookie is not found, write "that"? Thanks, Max Mumford.

Member Avatar for GreenDay2001
0
233
Member Avatar for MDGM

Hi, Im making a website which has a login system where if the user is logged in (cookie found) it displays extra buttons in the menu, and i was thinking we could use a document.write script which uses a function that checks if the logged in cookie is present or …

Member Avatar for MDGM
0
64
Member Avatar for arubikdoan

Need you help !!! I have a website, and desperately need a simple javascript. Here is a requirement: The balance of my account will appear in the web, and it's dynamically INCREASING every second at certain percentage. I expect it similar to the "counting free storage" of GOOGLE: [URL]https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&ltmpl=default&ltmplcache=2[/URL] For …

Member Avatar for ghostsquad
0
124
Member Avatar for hbmarar

Hi, Wishes. I need a page with two frames or something. say questions list is in one and in another is for listing questions added by the user for a paper exam. Each frame should have checkbox which is selected across each options and when the move button is clicked …

Member Avatar for ghostsquad
0
62
Member Avatar for Sarah Lee

Hi friends I am new to javascript I came across to use that in my application Can anyone please tel me, how can i loop through the items in a listbox? Thank you all

Member Avatar for Sarah Lee
0
4K
Member Avatar for Cerberus

I want to use a slideshow on a web page, which could be implemented using either Javascript or an applet. Which on is the best option? Thanks.

Member Avatar for Cerberus
0
211
Member Avatar for aparnesh

How can I change the mouse cursor ? In certain cases, I am displaying the links without the underlines etc. When the mouse pointer is over such links (onMouseOver), I would prefer to change the cursor from the arrow to a hand. How can I acheive that ?

Member Avatar for aparnesh
0
201
Member Avatar for aparnesh

I am using some common Javascript functions I wrote that are required in several pages. I would prefer to have the functions in a single .js file and link to this file from the required web pages. How do I link to such a file ? I tried the same …

Member Avatar for aparnesh
0
192
Member Avatar for elduderino

HI, Im new here so hello all! Im having this problem with a v simle ajax script. [B][B]Heres the code: [code] <html> <head> <title>test page</title> <script type="text/javascript" src="text-utils.js"></script> <script language="javascript" type="text/javascript"> var request = null; function createRequest() { try { request = new XMLHttpRequest(); } catch (trymicrosoft) { try { …

Member Avatar for elduderino
0
64
Member Avatar for Shellfish

Hi there guys, I'm new to this forum !!! Im a newby. I was having a problem with a new site I am working on. I need to be able to open a new browser window from a [URL="http://www.daniweb.com/techtalkforums/thread80375.html#"]pop-up[/URL]. I have a main page, that has a [URL="http://www.daniweb.com/techtalkforums/thread80375.html#"]pop-up window[/URL]. Inside …

Member Avatar for digital-ether
0
91
Member Avatar for MDGM

Hi, How do I change the value for a field in my form when sombody clicks in that field? for example i have a field for "name" and it should say "name" in it, but when you click in it the value changes to nothing. Thanks, Max Mumford.

Member Avatar for MDGM
0
69
Member Avatar for dolomitedave

Hi, i have a page with pictures on it, when a user clicks on a picture 2 things happen at the same time a new window pops up and a function is called. the function does a few checks then calls another page when it calls this page i want …

Member Avatar for dolomitedave
0
95
Member Avatar for roryt

I have looked high and low for a very simple script that i can use to display on a page from 6 down to 1. Basically it should start like this: "this page will redirect in 6 seconds" and end like this: "this page will redirect in 0 seconds" I …

Member Avatar for roryt
0
110
Member Avatar for TonyRad

I've got a client who wants their header to contain random changing images and random changing text. I have a script written that is changing images and it works great. I've also found scripts that randomize images and text. Here's the catch though, I need the text and images NOT …

Member Avatar for ~s.o.s~
0
76
Member Avatar for janicefernandes

on the site [URL]http://www.israeli-weapons.com/index_vehicles.htm[/URL], see the "quick menu". I wish to have a similar component, but it should not load a new page when the user clicks on "land vehicles" or "aircraft". instead the table should expand and the sublinks of land vehicles should appear below the main link of …

Member Avatar for janicefernandes
0
97
Member Avatar for akash_msrit

Hi friends, how to include an applet into jsp page, here i am using IBM websphere to design my GUI. here i am getting an class not found error. please tell me the procedure to include an applet into an jsp page. and where should i place the java class …

0
54
Member Avatar for Fungus1487

i only need this to work in i.e. and im sure it does but i am getting a "closed is null or not an object" exception message declared in HEAD:: [CODE] <script type="text/javascript"> function reloadwin(w){ if (w.closed) alert('window is closed') else return setTimeout('reloadwin()', 500) } </script> [/CODE] called in BODY …

Member Avatar for ~s.o.s~
0
78
Member Avatar for heliumgas

hello. i would like to know how i can use the message box ok/cancel to confirm the delete os data in the database. as javascript is clientside and php in server side hw i can do it? how i can send it to php undestand that is to del the …

Member Avatar for ~s.o.s~
0
120
Member Avatar for Racoon200

Hi. Iam making a calculator with javascript. I want it to have a textarea(content id) and a textbox for results to be displayed (display id) [code] function calculate() { var contentBox = document.getElementById('content'); var displayScreen = document.getElementById('display'); // sorry that's all i have } [/code] Thanks

Member Avatar for MidiMagic
0
147
Member Avatar for DavidB

I am presently translating some code from C++ to Javascript and it involves quite a few floating point calculations. The program uses several built-in machine constants to help it quantify and limit computer round-off error. For example, it includes the constants DBL_MIN and DBL_EPSILON from the <cfloat> library within C++. …

Member Avatar for MidiMagic
0
163
Member Avatar for Fungus1487

ive done some research looking into this but cannot figure out a method to suite my situation. i have an index.htm page this contains an Iframe containing another html page seperated using a frameset (just 2 frames) lets say '1' and '2' for example. I also have another window open. …

Member Avatar for ~s.o.s~
0
71
Member Avatar for JSP_javascript

In a JSP file I have this: <script language="JavaScript" src="cookies.js"> </script> <Form …….> <INPUT type="text" class="kar3" tabindex="1" MAXLENGTH="3" size="3" value='<%=fr4021a.getFrvbekd()%>' name="frvbekd" onBlur="document.forms[0].frvbekd.value=document.forms[0].frvbekd.value.t oU pperCase();document.forms[0].action='fr4021a.jsp?element=2';document.f orms[0].submit();" onFocus="displayVeldHelp('0');"> </form> How can I add the javascrit function Save_field( this) tot the element <Input ……..> or <Form …..> aanroepen. Must I use this: save_field(this); …

Member Avatar for ~s.o.s~
0
74
Member Avatar for janicefernandes

two zip files are inside the source.zip file i have attached. my webpage is in demo.zip. I have taken the javascript scroller concept from IFrame-ScrollingImages.zip. As you can see, the scroller doesn’t work properly on the about.htm page. It scrolls to a certain extent, the restarts suddenly instead of showing …

0
48
Member Avatar for maheshsayani

Please help me to Print Layer content from Java Script without opening any popup window. Actually i created a Layer. When user click on View One Layer will be seen looks like widget displaying some data and the background of the form will be in disable mode but we can …

0
51
Member Avatar for annomalis

Hi ,can anyone tell me if we pass a function to another function as a parameter in javascript?

Member Avatar for ~s.o.s~
0
42
Member Avatar for linux

I wrote this simple code to return my browser's name, because I've never tested this in Firefox: [code]<html> <body> <script type="text/javascript"> var browser=navigator.appName var b_version=navigator.appVersion var version=parseFloat(b_version) document.write("Browser: "+ browser) document.write("<br>") document.write("Version: "+ version) </script> </body> </html>[/code] In, Firefox, it returns "Netscape 5." I uploaded a screen shot. Error? *sorry …

Member Avatar for MattEvans
0
175
Member Avatar for dorothygael

Hi new to this, tried google searches and they just send me to forums so thought would give it ago. There seems to be an issue accessing sites that have JAVA on them. I have enabled them and activeX but still wont work! Please help!

Member Avatar for Ezzaral
0
80
Member Avatar for dsilander

Hi I would like to run a javascript function (to confirm deletion) from a web control (asp:button) before posting back to the same page. I have read about how to do this in several places (mybutton.attributes.add... ) However, the fact that I have asp.net validation controls on my page means …

Member Avatar for airyce
0
201

The End.