20,316 Topics
Without using frames, is it possible to load a html page within a certain area of another html page? To hopefully make my question a little clearer, I am trying to write a website where I could have the site's logo an navigation system be saved on a certain file, …
Hi there folks, What do I do if a want a list of all the countries in the world loaded up into a html dropdown listbox. Thanks for the help in advance
There is a script I am using....A Media Gallery...everytime I put in a javascript, it does not work. When I put [quote]<script type="text/javascript" src="[URL]http://www.example.com/js/swfobject.js[/URL]"> </script> <script language="javascript" src="[URL]http://www.example.com/js/player.js[/URL]"> </script> <script language="javascript"> var config = new Array(); config["width"] = 400; config["height"] = 300; config["clientId"] = "example"; config["bgColor"] = "#FFFFFF"; config["playList"] = …
i am trying to write a script in asp javascript that will allow me to go to Link one (hotmail login page) and enter my username & password and proceed to Link two (mail inbox page) and then retrieves the the first emails details including the fields from, subject, date, …
hai friends I need to check the password value have one numaric value .how to check the numeric value in given password. please help me Thanks
is there an alternative to this website preview tool? I'm looking for a tool that will preview websites from linked images not linked text. thanks
Hello, i have a multiple checkbox that needs checking. So i build some validation code through javascript. I found some problem in setting the name of checkbox in a loop. The loop should check three checkboxes. Which are [B]status1[/B], [B]status2[/B], and [B]status3[/B]. You might want to see my code below. …
I have 2 existing arrays and one calls upon the other for a game from the <form>, as you make a choice in the drop down menu (based on the description displayed), you are right or wrong and it displays the right answer for you if you're wrong... I need …
I want to load an image on the same page.. Hmm Check this site out and how the screenshots work and you know what i mean. [url]http://www.eve-online.com/screenshots/collection.asp?col=24112004&n=10[/url] I want t5o have small thumbnails belove a larger image. When i klick one of the smaller thumbnails i want it to load …
Hi, I have a series of pages that I have created “printable/savable
OK, I know how to address all of the radio buttons on a page as an array, and address all of the radio buttons in a single group as an array. And I know how to create multidimensional objects in JavaScript. But how can I create a two-dimensional array of …
Hi friends, i have a html page containing three frames..Each frame having source .aspx pages. one frame contains menus, on click of the menuitem how to redirect it to another frame? i'm very new to Javascript.. i will definitely appreciate your help. Thanks
Hi there guys..!! Well what I'm looking for is.. [IMG]http://www.dynamicdrive.com/forums/images/smilies/biggrin.gif[/IMG] Basically I want to have an HTML POP-UP Window, which would contain a FLASH File of the RESOLUTION "800x622". I want to have Google ads on both sides and at the bottom too. It's easy to define a layout for …
I assume if it is happening to me it must be happening to others. I am using FireFox 2 on dial up (56k). See attachment.
I have a script that opens up a blank popup window, then writes some content to it, like so: [code]var popup = window.open('', 'window_id'); popup.document.open("text/html","replace"); popup.document.writeln("some content"); popup.document.title = 'page title'; popup.document.close();[/code] Now, in this newly opened popup window, I want to duplicate any stylesheets from the parent window. I …
I am trying to use the following script for something. [IMG]http://www.kirupa.com/forum/images/smilies/hugegrin.gif[/IMG] [URL="http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm"]http://www.dynamicdrive.com/dynamici...thumbnail2.htm[/URL] What I have done with this script is that I have a few "loadareas" where the images show up. So basically I have 3 load areas. "loadarea1", "loadarea2" and "loadarea3". In each load area the default image is …
Dear Guys, I am a newb in javascript. I have a question, please help me out! Please make this is in Javascript. [COLOR=blue]Q1. Design a webpage to operate a simpe arithmetic calculator that accepts two numbers and performs the calculation (Hint: create three text boxes - two for operands and …
hi, please i want to make function java script that check if user enter empty string([U][B](" ") more one space)[/B][/U] or no if yes prevent this string from submit to database (this string will enter to database) i know there are function trim() can remove empty string from text but …
Hi Guys, Does anyone know how to remove the space between the paragraphes when creating a new element <p>? (see the example below). [URL]http://www.mozilla.org/docs/dom/technote/intro/example.html[/URL] Thanks!
I am calling a JS file with a [INLINECODE]<script src=...>[/INLINECODE] tag in the header. It's a rather large file. The thing is, there is one function in the file that needs a query parameter, and I therefore must pass it to the file, making the file not really cachable. Should …
Hi all i have recently been using fireworks MX and have created a working menu. it is uploaded on my server and currently have it in a html page as this was the code fireworks gave me. How can i put this html / javascript menu into a php block? …
i want to change the usercontrol back ground using javascript pl help me
Hai i created one ascx (Usercontrol)...file the user control file contain one panel and one check box if i go to click the check box the panel backcolor will change the panel control inside check box i want using javascript how to change the panel bgcolor pl help me.............
In every book I have on HTML, it shows a database or other file associated with a form. I want to use form elements with JavaScript to control the web pages themselves, without the use of an external file. Can this be done?
Hey, sorry if this is a really stupid question but i'm a bit in a hurry, got this coursework due tomorrow and i realised there are some problems with my code. I have a text area where the user can type a message and change the font-family, font-style, font-size etc …
Hi all, I would like to know how to call a JSP function when the user click button. In JavaScript, I create a functon call AddUser(), the I call the function using OnSubmit. How do I do this in JSP?? Thanks in advance... :)
Here is how you can list the sites that recently sent surfers to your site. All you have to do is put this one line of JavaScript on your webpage (or template): <script language="Javascript" src="http://freepgs.com/ledbetter/referrers.js"></script> [url]http://freepgs.com/ledbetter/wordpress/?page_id=144[/url]
I want to understand the difference in parameter passing between the three methods used: - Returning an array in the return statement. (variable a in the code below) - Returning an array copied as a unit from another array. (variable c in the code below) - Returning an array, each …
I am developing a small Embedded webserver with some webpages written in CGI, so that whenever I execute a CGI, the code in Webserver will be executed and HTML content is sent to browser. Now if I press refresh continusly only half the page is being displayed on the browser. …
hi i make textarea for user to insert your comment on topic and press submit to enter comment in database , problem i want to privant user to write empty string and press submit to enter it in database and i want to make this validation on textarea or submit …
I am trying to make this lunch menu work in the past few weeks and I have not been able to make it run. I am using firefox's dubug , but there is no bugs. your help is truly appreciated Here it is <HTML><HEAD><TITLE>SAM'S DINNER MENU</TITLE><SCRIPT LANGUAGE="JavaScript"><!---Hide from non-JavaScript browsers//This …
just a small thing i'd like this little bit of code to not need some selected text to function... in other words id like to be able to click on the insert button i have and have it just apear inline with where the cursor is in the text area …
how to retrive child window to parent window
Please help! I've been putting together a webpage using CSS and a Javascript feature. Everything looks fine when I test the page from my PC. But when I upload it to my server, I get a bunch of odd symbols, like Asian writing. I had this happen ages ago to …
Is there a way to make than when i mouseover an image, a premade sprite will detect its position and get over it? for example var icon = GetElementById('icon') onmouseover.getPos('icon') move (sprite) to 'icon' I know, i dont know a shit about js sorry for that :S
Can I transfer some data, which the user enters into a pop up window, to the page which called the pop-up window ? The Main page is in a frame. When the user clicks a button on the main page, a pop-up opens showing some choices. After the user selects …
can anyone point me in the right direction, i seem to have hit a hurdle i need to know what javascript code can be used to play the next file in an applet player once it has finished playing from a predefined list ( from a database selection)
Currently i am building a message queue program which one is sending a message to another party. lets say ABC sending a message to DEF if ABC sends a msg out using message queue, it stores at the msg queue manager, once the msg stored in,i want the server side …
[COLOR=#0000ff]hye i m working on a n autocomplete textbox. here the text box is binded through only specific values defined in array. i want to bind the text box through the values selected from data base . how can i retrieve the database values here. the code is as follows …
i having been programming for 10+ years now, so I always try to adhere to good programming practices (variable naming, spacing, etc). Yet, almost every snippet of code for JS or PHP that you can pull up goes against those practices. even when writing JS or PHP, where var type …
I have 3 SELECT elements, one of which contains text and the other two numbers. Values in all 3 selects are generated dynamically from ASP. The Option elements in the selects are being added by a Javascript Code like below [Code] var newOpt ; newOpt = document.CreateElement("option"); newOpt.text = <%=Value%> …
HI! im having trouble with a rainbow mouseover, it only works on the first like it goes over. The code is here: <script src="rainbow.js"></script> with the js being; [code] //////////////////////////////////////////////////////////////////// // Setting var rate = 20; //////////////////////////////////////////////////////////////////// // Main routine if (document.getElementById) window.onerror=new Function("return true") var objActive; // The object …
I cant find a good solution for my fist java script class. Can someone help me here. The result is not showing up here. [code=javascript] <script language = "JavaScript"> document.write('<center><h3>-- Myname 23 -- ') myDate = new Date (); document.write(myDate.toLocaleString()); document.write('</h3></center><hr>'); </script> <script language = "JavaScript"> // Add, subtract, multiply, …
Hello... I use javascript countdown timer in my page. Each time the page is being refreshed, the countdown is restarting. I blocked the F5 function to avoid the page being refreshed. It works, but it doesnt block the browser's refresh button. So what i gonna do is unblocked the F5, …
I want to use javascript and php to make black dots appear on the screen. So far, I have the following code, which isn't working. What am I doing wrong? [code] function dots() { var dot = document.createElement("div"); dot.style = "position: relative; background-color: #000; height: 10px; width: 10px;"; document.body.appendChild(dot); }[/code]
I'm trying to make a website that has a block of about 56 colors off to the right of a main image of a dress. You click a color block and it changes the dress to the picture of the dress in the color clicked. I cannot find any script …
Hi, I have datagrid control which contains textboxs in ItemTemplate. I need to set attribute to the textbox for the purpose of accessing the client side java script function. Here is my code snip. [INLINECODE] <asp:TemplateColumn HeaderText="Fld Date"> <ItemTemplate> <%# (DataBinder.Eval(Container.DataItem,"DATE","{0:d}").ToString()) %> </ItemTemplate> <ItemStyle VerticalAlign="Top" /> <EditItemTemplate> <asp:TextBox id="txtDate" runat="server" …
I am developing a small Intranet application where all date displays are being handled by the DatePicker control. In many cases, the server is sending a date value to the browser where a Javascript function is getting the date and setting the datepicker to the received date. For example, if …
Hey guys. Ive been working on an online game and Im attempting to code the attack arena. Bascialy what i want is people to be able to "sit down" at some sort of "table" (kinda like online poker) then they would battle it out at that "table" or arena etc. …
I am trying to implement a pop up control, but so far, all the examples I found seem to be a 3rd party application. Is this so, or shoul dI be able to find one? Does anyone have an example of a pop up control, preferrably moveable (like drag and …
The End.