20,316 Topics
var head = headElement.firstChild; var headTable = headElement.firstChild; var body = bodyElement.firstChild; var bodyTable = bodyElement.firstChild; var a = body.offsetWidth; alert(a); var scrollBarWidth = body.offsetWidth - body.clientWidth; headTable.style.width = Math.max(0, bodyTable.offsetWidth + scrollBarWidth);
I have a form on my website that requires the user to enter data. They are all single line text boxes. At the bottom of the form I have two buttons, one for Print and one for Submit. The Print button just opens the print dialog box and allows them …
Hey My name's Ryan Bollenbach I'm from Winnipeg Manitoba... I'm currently taking a course at college called Digital Multimedia technology and i thought this would be a perfect forum to assist me with PHP and javascript... 2 languages that I'm learning in school :) anyway... yeah I'd be happy to …
Hi, I really hope someone can help me, you guys seem nice and all and I really like ur website :cheesy:. Here is what I want to do: [URL="http://img454.imageshack.us/my.php?image=helpqj7.png"][IMG]http://img454.imageshack.us/img454/6193/helpqj7.th.png[/IMG][/URL] Basically I want no spaces in between that navigation bar and the banner so the chain appears to be attatched to …
Hi, I really need help with text field with css image. I have wrote code, this code is works great but I could not figure out how to write the rest of code, there is a text field that are relate to email address, for sample if person enter email …
Hello everybody, I am wanting to use a javascript confirm popup (OK returns TRUE/Cancel returns FALSE) to determine whether I need to run part of my PHP code. I could only think of one way to try, and this is it: [code]echo "<script type=\"javascript\"> var popbox = confirm(\"Are you sure …
Hi all, I need to set some values on web page using perl. but the web page is created in jsp. for setting the values i need to click on a gif image which has got HREF to one javascript api. i need to invoke this from perl for setting …
Hi, I have a very difficult problem.Perhaps a good Javascript programmer can solve it: I want to open a Java chart (it can found on [url]www.wdsoftware.com[/url]) not from a computer but from a PDA.I have a Fujitsu-Siemens Loox 720 (520Mhz CPU,128 RAM,64 ROM).I use Netfront 3.3 with JV-Lite2 as web …
Hello everyone. I am currently working on the HTML / Javascript front end of a web forum system (perlBB). I have a couple of questions that would I would like to ask. 1. Is the way to include an external javascript file in a page like this? [code=HTML] <head> <link …
Hi everybody I am trying to develop an application, in which i want your help and suggestions. I have a master page and many content pages. I want to write a javascript function in the master page script, and call that function in body onload. I have a field in …
Hi guys, I'm working on a website to promote an upcoming movie. I'm telling you this so I'm not shunned when I tell you i need help, possibly with a myspace issue, I'm not sure. Anyway, I inserted a song from the movie, using a simple embed code. [code=c]<embed src="URL" …
I have been working on a questionnaire results page which takes the values from the questionaire on the previous page, calculates a score then plots their results on a grid. this all works fine, what i am a little baffled about however is, how do i dynamically add table rows/cells …
Hello there, basically i have 3 problems that have been driving me crazy all day long! firstly the div layers that i have set to dynamically display depending on input from a previous page will display in firefox, but wont display in internet explorer 6? this is a little confusing …
Can someone please tell me what this means? When I open my website home page IE gives me this error message: Error: Expected ')' I suspect this is an error in the java code for my menu system, but after repeated attempts to find it I can not. MUCH THANKS …
hello, I want to swap the position of two buttons if i drag a button to other button's postion... how can i do this....i want to do it with PHP and javascript.... help me out to solve this...
hello everybody!!!!! i own a site (i dont want to mention the name....sticking to the rules of this forum)...it is designed in PHP...... it is basically a forum to download music,movies etc.... i registered myself in google adsense program and got the following code:- <script type="text/javascript"><!-- google_ad_client = "pub-2768779675207123"; google_ad_width …
Hi folks, I need some help with A javascript thats basically a spam/swearword filter. Its designed to disable the submit button if a matching word from an array is found. heres a working example [code]<script language="JavaScript1.2"> // Word Filter var swear_words_arr=new Array("silly","crap","idiot","http"); var swear_alert_arr=new Array; var swear_alert_count=0; function reset_alert_count() { …
need help on making an reply back in either VBScript or JavaScript or in ASP or in HTML, can some one please teach me I need it on my current project. please?
Hai friends I am using array "name " field for example <input name="prod_image[]" type="file" class="Textfield" id="prod_image[]"/> *</td> When I try to validate the text box NULL or not using Javascript ,I unable to validate Please any one advice me __________________
My javascript code works in IE but not in Firefox. Is there anyone that can help with this. If so, I can post my script and see where the problem is. I haven't used javascript for long so my experience with it is limited. Cannot figure out what it is …
I'm trying to design a site that makes use of the [B]window.open()[/B] javascript method by opening certain links in a new window with a specific pixel size and position onscreen, but Internet Explorer (with default security settings) blocks most attempts...Is there any way around this, to let IE know that …
hello again Dani web folk, Im needing a little help with an example script. This cookie setter is prewritten but I want to set it up for use on my site but im not sure how. I want to redirect from here [url]http://herproom.5.forumer.com/index.php?[/url] to here [url]http://download3-1.files-upload.com/2007-01/20/22/RP.html[/url] only once, the first …
hi, i my project i drawn in the webpage using javascript, i created on div named "panal" with in that i drawn with the help of the mouse, i copied that content to clipboard, when i view the clipboard, ClipBook Viewer Cannot display the information in its current format.To View …
Hello guys, Have a quite question anout Ajax. I am very new this topic,k so i dont much knowledge about this. Hope you can solve my problem. I was developing a web which use some ajax. But for some reason to wont call the server side script. I have tried …
Is it possible to create a code that will automaticallly switch a hotlinked image with another e.g no_hotlinking.gif ?
I have a problem with php and checkbox. Can someone help me with it? I want to be able to compute values of a checkbox that is when the checkboxes are checked using php. example <input type="checkbox" name="course" value="¢30 /> JAVA <input type="checkbox" name="course" value="¢100 /> C <input type="checkbox" name="course" …
Hi Im trying to place images in this change content script but it refuses to co-operate. Is there some way to do it? [code]<table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><form name="ddmessage"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><select name="selectbox" size="1" onChange="changecontent(this)"> <option selected value="What is JavaScript?">What is JavaScript?</option> <option value="Why …
Does anyone know of a javascript code, or remote hosted code to allow my members to setup email alerts based on their chosen keywords? If a user inputs keyword, python for instance and their email address, whenever a new topic containing 'python' is posted, they get an email containing the …
Hi all, I have some script which doesnt work at all in firefox or other browsers, and i was wondering how to make a browser checker script which checked if the user was using IE, and if they are, show the script. If not, write somthing else for example "Go …
Hi all, I have some script which doesnt work at all in firefox or other browsers, and i was wondering how to make a browser checker script which checked if the user was using IE, and if they are, show the script. If not, write somthing else for example "Go …
hi all, i am using a button on my webpage. For example let the text in the button be "Dani Web". So what i want to do here is, while running this page when i keep my mouse pointer over this command button, the text in that button should be …
hai to all, i think its a simple only but i am not having clear idea how to pass the value from an page into an popup window in a javascript in php.if any ones knows or get any idea means plz post quicklywith an example thank u,:idea:
I am an aspiring web something or other not really sure what actual title would be. I mainly do (X)HTML/CSS work, but also know photoshop and some scripting/other (PHP mainly, Javascript, XML, and SQL). Also I already had a job coding websites in HTML/CSS for the University of Massachusetts. However …
Working on a website here and found this extremely useful script that I love at [URL="http://www.dhtmlgoodies.com/"]www.dhtmlgoodies.com[/URL] It's a menu on the left side that allows you to click on the link and has it drop down submenus with a max of five submenus (pretty flexible I'd say). I went ahead …
I am working on an asp.net project and one of the requirements is that I do some calculations on the client side based on user selections of radio buttons, check boxes and drop down lists that are in a specific div (this div is inside the form asp.net automatically adds …
Here's how to dynamically fill a dropdown box depending on the selection of another dropdown box. I looked all over the web, and in this forum, finally I found someone who knew what they were talking about and actually had code that worked. :lol: [code] <[EMAIL="%@LANGUAGE="]%@LANGUAGE="Javascript"%[/EMAIL]> <html> <head> <title>Load Dropdown</title> …
hi, i am still not convinced with the message box in ASP.NET. What exactly i want is, my ASP.net page should redirect me to some other page when i click the OK buton in the message box. But the question is how to display the message box in ASP.Net using …
This site shows (x) users veiwing each forum on the main index, Id love to know how its done? can it be done with javascript?
I lurked a long time, then finally registered a couple of months ago; then I lurked some more. But the time has come ... [B] HI! [/B]My name's Ken and I've been surgically attached to one or another computer since around 1979 when I bought my Bran' Spankin' New [B]Commodore-64[/B] …
Hey everyone, am having problem with some php code in a plugin I'm using on my Wordpress site. The problem is that there is an option box that lets you select from among a list of files in a certain directory on my site, and you can't see the options. …
Good morning, I paid many thousands of dollars to a company that created my photo community (xtremecamera.com). Problem is, the site does not work in IE, I get the "Operation Aborted". With the help of a great poster in the PHP section of this forum it has been determined that …
I am wanting to replace the two values 560, 420 with two xml variables in the following code <a href="#" onmouseover="zoom(560,420,'logo','in')" onmouseout="clearzoom()">Zoom Out</a> I have tried the following without success: <a href="#" onmouseover="zoom("<xsl:value-of select='imagesize/@width'/>","<xsl:value-of select='imagesize/@height'/>",'logo','in')" onmouseout="clearzoom()">Zoom In</a> Zoom is a Javascript function in the xsl code - function zoom(originalW, originalH, …
Hello everyone, I have a couple of questions on cookies.... I am building a shopping cart website and I have a problem. If a client add an item to his cart and then pays for this item, after he/she clicks the commit button he/she is redirected to the website's home …
Hi! I am having problems validating my HTML to at least transitional due to my use of checkboxes and accessing them with PHP and javascript. I want client-side validation and server side functionality and therefore am utilizing PHP and JS. My understanding is that JS recognizes checkboxes to be an …
Hi, Here is the requirment that need to be solved. The scenario is, in the simple HTML code there is an loading animation .gif image and a text in a "DIV" tag. i have to hide that "div" after pressing the [b]"Stop" button of the internet browser[/b]. Hiding thru simply …
Here is some more code that I tried, but failed to get to work. Anybody know what I'm doing wrong? I put in some displays to see if the onChange command was trying to execute the function, and it was.:eek: [ TAG !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <%@LANGUAGE="Javascript"%> <html> <head> <title>Load Dropdown</title> <script language="JavaScript"> …
Small question about javascript. From my understanding, whenever I view a webpage that requires a js file, the file is downloaded to the client computer and accessed from there. Are any checks performed while "using" the information in this js file? What's stopping me from changing this file on my …
I would like to be able to close one of my layers which is in a div tag. I have used css to specify an image in this layer and it will have a link in it aswell. I would like to have another text link that allows the user …
Ok, here is my dillema, I want to make a rolling event list script, that goes in my web page, that can "read" off of a sepate document or database.... Basically right now, im roughing it with an html table, and every time i want to add an event, I …
When I visit programming talk I find out a hot topic talking about Levyo Ajax Technology Gallery. Their site is at [URL]http://levyo.com[/URL] - demo at [URL]http://gettingzone.com[/URL]. They build Ajax application on PHP, Mysql. Their gallery runs so fast, especially when I login, register, submit, rate, write comment, upload, process, Tab …
The End.