15,688 Topics

Member Avatar for
Member Avatar for nizuya

My goal is to preload these images for an image swap on the page. It runs on body load but I'm not quite sure why it doesn't work... [CODE] function preload() { imageObj = new Image(); images = new Array(); images[0] = "images/globe2.jpg"; images[1] = "images/stickme2.jpg"; images[2] = "images/monitor2.jpg"; images[3] …

Member Avatar for fxm
0
229
Member Avatar for pietpiraat

Hi everyone, i have a piece of javascript that calculates 2 input fields (price * qty) whenever i type in the input field (qty) that uses this : [CODE]onkeyup="update(this);"[/CODE] Now what i want is to execute this handling when the page loads, because sometimes there are already values (php & …

Member Avatar for hielo
0
224
Member Avatar for lifeworks

Hi I have a photo gallery... I was wondering if its possible using DOM scripting, to dynamically add a div around an existing image, making the new div the image's parent?! Thanks

Member Avatar for hielo
0
103
Member Avatar for raul8

In the code below, I am using QueryString to check the variable status. If it is 'success' then it should display "deletion successful". I am passing url = [url]http://localhost:9999/EmModule/EmpForm.jsp?status=success[/url] But, it is not displaying any alert. Note: I am using JSP page, and am rookie in it. Thank You [CODE]<html> …

Member Avatar for hielo
0
107
Member Avatar for musman007

HI I am trying to get rid of this warning over and over. My pages are located in directory WEBSERVER\APPLICATIONS\WC Master pages in WEBSERVER\APPLICATIONS CSS and Javsasripts are in WEBSERVER and in css I have background:url(Images/GlowTab.png) no-repeat right top; Dont know even though the image gets accessed by Https. why …

Member Avatar for hielo
0
75
Member Avatar for madkat3

I'm using an image as my submit button. I want it to check to ensure all boxes have a value before submitting (I will make the verification more stringent later), and if there is none, to cancel the form submission. I created a readonly input box that changes from white …

Member Avatar for madkat3
0
11K
Member Avatar for shadiadiph

It's not really a big problem but my code keeps spitting out this error on mozilla when the auto fill boxs pops up on a form feild does anyone know a fix for it? [code] Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS …

0
60
Member Avatar for jmaddy10

I am trying to set up the code so that the it takes the user from one form to a thank you page, then to another form and have some of the info from the first (last name, first name, email) into the second. I managed to get the code …

Member Avatar for jmaddy10
0
234
Member Avatar for nizuya

I set the min-height of an object on my page based on the size of the window. It works perfectly in all browsers but IE (of course). How can I fix it? [CODE] function resize() { document.getElementById('container').style.minHeight = window.innerHeight + "px"; } [/CODE] The function runs on body load and …

Member Avatar for nizuya
0
152
Member Avatar for selle05

How to use a function in javascript to embed a sound file? There is an event that when you click a button then it will play the song. Please help me with this. Thank You!...

0
42
Member Avatar for raul8

I have 2 java Servlet files EmpRecord & Delete. Employee has a button of delete, on clicking it....page will be redirected to Delete.java Here the record will be deleted. Now, I want to redirect Delete.java back to EmpRecord.java where the message "Record deleted" will be displayed. How can I pass …

Member Avatar for fxm
0
101
Member Avatar for ekseks

So basically guys, the datepicker is connected to three fields (drop downs for..) [Month]/[Day]/[Year]-[Datepicker(Calendar)] now I just wanted to get the dropdowns' values and pass it on a textbox (namely: selectedDate - you can see below) having a format of [[U]mm/dd/yyy[/U]] thanks for the help experts. Code from [url]http://keith-wood.name/datepick.html[/url] [CODE]// …

Member Avatar for madkat3
0
140
Member Avatar for Varinor

I have an "input" page that allows someone to check a box which activates a datetime function, the page then returns to a display. My problem is that the input page can be relaoded and the box reticked, overwriting the displayed datetime. As the page reloads with the box showing …

Member Avatar for madkat3
0
211
Member Avatar for nizuya

I'm writing a form that will include a place to upload a pdf. I would like the upload section to be a separate form in a popup. After the user successfully uploads a file I want the original form/window to update with a link to the uploaded file and a …

Member Avatar for zeah
0
2K
Member Avatar for valonesal

Is there a way to set tinymce so that the user can post text and html in the same box without having to open the html box to enter code? I have seen on other sites where you can enter text and then some html and it comes out fine …

Member Avatar for valonesal
0
88
Member Avatar for bsewell

Hi all, I'm trying to develop a javascript to display a few images in a div. The plan is to get two pictures which will act as next/last image, but I'm stuck for running the script when the page loads, which is using the onLoad function in the body tag. …

Member Avatar for fxm
0
266
Member Avatar for Silvershaft

Hey I was thinking of making a safari extension that puts a bar and updates your RSS news there. Extensions are coded by using JSS, HTML5, and CSS so I need a JS library with those capabilities to parse RSS :) Thanks!

0
85
Member Avatar for masoudnia

hi I want to detect input language of client. so i tried in java script with(navigator)it dosent work for my perpose i also used ( HTTP_ACCEPT_LANGUAGE) it return system language not keyboard language? what i must do?

Member Avatar for fxm
0
3K
Member Avatar for sharonig

Hi, I'm using AJAX in a rich-client environment (no UpdatePanel, everything is done by the client). I use the ListView. It appears that when I have many rows it is very slow especially in row additions/removals. Using the profiler I saw that even when adding a row the ItemTemplate is …

0
52
Member Avatar for aqhulcus

this may be related to passing php variables to javascript, but say i have an ajax function ( call this file1.php) that calls a php file ( call this file2.php) that itself has ajax in it. which, say calls for a file3.php in file1.php, i collect information that i put …

Member Avatar for aqhulcus
0
87
Member Avatar for GriffinMex

I have an scrolling side dhtml 9 menu anchored in a cell. The starting coordinates are offset x and y. What I am trying to achieve is that when the page starts scrolling, the offset changes to a different x,y coordinate closer to the top so my menu doesn't end …

0
95
Member Avatar for alexgv14

I am working on a search function on RoR that basically just has a cool visual effect when a user clicks the search button. Here is the code in my view for search.rhtml [CODE]<html> <head> <title>Tutor</title> <%= javascript_include_tag :defaults %> </head> <body> <h1></h1> <%= form_remote_tag :url =>{ :action => :search_results …

0
137
Member Avatar for newbies1

Hello everybody, I read this forum sometimes, but this is my first post :) I have a simple function for an intranet site that should make and return a XMLHttpRequest object in most browsers (including IE8): [code=js] function createXMLHttpRequest() { var xmlhttp = false; if (window.XMLHttpRequest) { xmlhttp = new …

Member Avatar for newbies1
0
377
Member Avatar for webdev5

I have this function: [code=javascript] function correctBookmark() { var title = "SERCO Benefits"; var url = "http://wwww.example.com"; if (window.sidebar) { // firefox window.sidebar.addPanel(title, url, ""); } else if (document.all) { //MSIE window.external.AddFavorite(url, title); } else { alert("Sorry, your browser doesn't support this"); } } [/code] If I use an onclick …

Member Avatar for fxm
0
167
Member Avatar for colossally

Hi all This site doesn't have a forum for end users and I'm sure that's for good reasons, but I'm a web designer doubling as an end-user for a particular client. Their website (built with dotnetnuke) simply does not want to load completely on my laptop, which has Windows 7 …

0
41
Member Avatar for nish123

Just a small query..!! how can i stop user to enter future date.. or user can enter or user can enter future 10 days..! Thnx

Member Avatar for fxm
0
2K
Member Avatar for RickyG

Hi there Expert Designers, I am building a Web form for a medical institution, can you give me an advise in how to make this form look cool??[code]<%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" EnableViewState="false" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script type="text/javascript"> function OnClick1() { if (divCalendar.style.display == …

Member Avatar for pritaeas
0
154
Member Avatar for jimmiller96

Hi All! I have been working on a site containing a single Paypal 'Buy Now' button, but testing has shown that it takes anywhere from 8-20 seconds to load the Paypal page once the button is clicked. Since there is no indication that the button was successfully clicked, or that …

Member Avatar for jimmiller96
0
159
Member Avatar for binesh.uba

I have downloaded the new version of FullCalendar but it doesnt work on IE whereas it works smoothly in other browsers. Can anyone help me with this problem ???

Member Avatar for binesh.uba
0
271
Member Avatar for nizuya

I want to have a strip down the middle of the screen with my websites content as common on many web pages. I don't want to use background images to achieve the look, rather I was thing of having a div tag that would fill the entire height of the …

Member Avatar for almostbob
0
153

The End.