20,316 Topics
Hello Daniweb users! I searched for a PHP code problem solution on Google and ended up on Daniweb. I think this is an excellent site, so I signed up of course! :) I am a beginner coder, learning as I go along, and am starting with PHP/MySQL only, and some …
Hi, I am working on one website for that i need like floating window. (mean when visitor will open the website that window has to come and it should be timelimit aftr that it has to close atomatically. for that window more and close is required). Cheersssss, Kavithakesav
I tried adding such a link to my ASP.NET website by using a Javascript:windows.addFavorites etc.etc. command (or something similar), but it doesn't work. Does anyone know how to create such a link or button in ASP.NET so that if someone clicks this link, the Add Favorites windows will pop up …
hi friends my site is a gallery based on zenphoto but i want to add an ajax theme that gives this error: "An error occurred in your response function, NOT mybic related. Error Name: TypeError Message:document.getElementById("imageSource") is null" i have tried almost all!!! if you want to see my try: …
My last problem, basically I need to know if you can pass form values from the ajax generated results back to the main form? I need to do this because I haven't saved the entire form yet and need to update these additional ajax form values with the form id …
Hello, I'm new to Javascript and I'm trying to write a code that when a user enters three numbers will tell if the numbers can form a triangle or not, or if the triangle is a right triangle. I can't see why the code won't work but I bet someone …
hi friends... Is the image dragging is not supported at mozilla?wat my problem is i completed a program for dragging the images from one folder to another using php and javascript. and i used the events ondragstart() and ondragover().It worked at IE correctly.But it doesn't at mozilla...Its too urgent for …
I am new to building web applications and I am developing my skills in programming. I have a few questions about JavaScript that I cant find the answers too easily. 1. People seem to think that there is a cold war going on between Adobe's Flash, Microsoft's Silverlight, and JavaScript. …
I have a simple javascript that pans through webcam images. I does not update the images until one goes in and clears the cache, at that point the most recent images show up. Is there some code in javascript I can use to have this done or is there another …
Hi, essential kindly helped in getting a javascript imageflow menu to display pictures inside an inline frame. Problem i have is that everything is displaying wrong on the page. Here's what i have currently code wise, i most likely have things in the wrong places i.e divs ? [code] <!DOCTYPE …
I've just started on my first AJAX project and I've just run into my first problem. Basically I have a textarea field generated by ajax and it needs to submit that value to itself using post. I tried using a getElementById but it always returns null. Here is the code: …
hello guys i have small proplem i use macromedia dream weaver cs3 in developing application but when write a js code with error , nothing happen - no message of the error line or any usual message like php- quistion is ( is there any built in debugger in DW …
I am in the process of creating a web site using Javascript that appears to work fine with IE, but since I upgraded to Firefox 3.0, some of the Javascript no longer works. Can you please give me some advice as to what I should provide for assistance with this, …
hai i have two combo boxes in one php page. i have some items in first combo box they are populated from DB. i want to load items from DB dependent on item selected from first box. now i met one problem, i use javascript coding for this function. if …
I am currently using a great javascript based image viewer and wish to use it as a menu to navigate pages on my website . Wondering if someone could take a look at this great menu and modify the javascript for me ? As i know nothing about javascript but …
hello everybody, In my project, i have used frames in one web page.and whatever javascript i have written in that page is not executed...why...? Thank you
Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …
Hi All, I will be creating a white label website for car hire dealers. My main website will be called something like: carhire.com, the content on carhire.com will be pulled in from a database. Now once that carhire.com is complete i want to be able to frame forward other domains …
Hello all! I have been googling US maps using Javascript until I'm blue in the face and still can't find what I'm looking for. I want to learn how to create a US map like the following: [url]http://www.websitedesignerslist.com/[/url] Can anyone point me in the right direction? Thanks bunches, ~Amy
Hello there, I am trying to pass the result of a list menu to another one - Have one first list menu and the data will be dynamically from my db ---> DONE--/ - Make the result from that list menu pass it to another list menu so when the …
Hello All, I am trying to disable right click only for specific links on the page> I want to create my own pop up menu for these eventually. At present I have the following [CODE]<a href='#' onContextMenu="typesclick()">Types</a>[/CODE] the function is [CODE]function typesclick() { alert("testing"); return false; }[/CODE] The alert appears …
How to use javascript codings in Asp.net page when ths script language already being declared is VB.If i replace VB as javascript in script tag VB sources get disabled.Tell me an option to use both scripts in ASP.net page.
i have following quetion: can i use javascipt code that will call a function and click an link in an iframe. The javascript code must run from the parent page and click on a link inside the iframe.
Hi, I have two frames in a window and , left frame (left side menu) has jsp page with buttons and select box and right frame will be loaded with different jsps depending on the button clicked on the left frame. The request parameters like select options of select box …
I'm working on an if else statement that will display a custom link for everyone except Company A. Everything below works just fine, but it's imperative Company A not see the first link. I've tried something along the line of: [ICODE]<?php $nolink = "Company A"; if ($_SESSION['company'] != $nolink);{ //display …
I’m a mac addict and I’m preparing a presentation for one of my classes. I have all the content ready and I have some extra time so I am thinking of doing a menu similar to OS X’s dock magnification. I downloaded a file and found this out there, but …
I have two forms - the first shows a list of advertisers, with the options to Add New (goes to the formsc.php) for a totally new advertiser, and edit or delete based on the advertiser id. When I click on add new and try to insert data I get the …
Hi Everyone, I have been looking at ever growing number of Javascript form validation libraries and although a lot of them are very nice, I would like to know whether anyone knows of a library that offers easy input, ie class type validation but with simple alert box validation alerts. …
Hi, [code] function myWindows(link) { if (!window.focus) return true; var href; if (typeof(link) == 'string') href=link; else href=link.href; window.open(href, 'width=5000,height=500,scrollbars=yes'); return false; } } [/code] [inlinecode]<a href=2bla.php" onClick="return myWindows(this)">Open</a>[/inlinecode] Above code opens new plain windows. How can i do same thing with a submit button? It will be plain as …
I am new to spry and am creating a webpage with multiple spry tables on it. I got the first table in and it works fine, but when I went to add the second table I receive this error: I included the portion of the script file that it says …
Hi All, I have been desperately trying to solve a serious ajax issue and decided to try asking it here. I have simplified the problem and will illustrate it with an example. First of all, please consider; [CODE]<span onClick='makeClickRequest();'><a href='http://www.google.com'>Text Here</a></span>[/CODE] where the javascript is about [CODE] function makeClickRequest() { …
Hey, guys. My name is Andrew Hucks, and I'm 15. Here's an "About Me"-type deal from another forum that I'm active on. (RuneScape Community [The forums for Zybez, which is a RuneScape fansite. And who said Java-based games can't be fun?) Anyways, while you read this, I'll throw in that …
Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …
Hi, I am working on the application in which Ajax, JSP, Javascript and html is used in UI part. We have our own UI frame work in which we update the page through AJAX. i.e. Initially page is loaded and later on we request to AJAX to update that particular …
Hi, In the code below, when I click on the link [I]Colour[/I], it needs to connect to javascript function and display "Hello" or alert message. For some reason, it does not do it. If anyone spots a mistake, pleeese let me know - I'll be here. Appreciate! [CODE] <!DOCTYPE html …
Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …
Hi everyone, I tried to embed a video from YOUTUBE to my website with autostart. The suggested code is [code]<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>[/code] I modified it [code]<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0"></param> <param name="allowFullScreen" value="falce"></param> <param name="allowAutoPlay" value="true"></param> <embed src="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="falce" allowAutoPlay=”true” …
Hello, i have created a HTML table dynamically using javascript and JSP, i have to store the values inside the table to database. Thanks in advance. Ananth
Hi All I am having a bit fo an issue with an if/else statement inside a while statement. Basically there are two while statements. one to retrieve a distinct value, the second to list all links associated to that distinct value. I am trying to build a favicon fetcher to …
Hope I am posting to the right place. I am creating a form in Acrobat that needs a little Javascript, but I don't know anything about JavaScript so any help will be appreciated. In the form there are for separate price fields and a field that automatically fills in an …
hi all; i have a problem on my code, it does not display the city after I click the selected city. intead i got an error. please check the line of my code. this code works fine. [table]echo '<td><a href="index.php?menu=hotel&select='.$value->id.'">'.str_replace("&","&",$value->name).'</a></td>';[/table] but this part of code here is the the problem. …
Howdy guys, I would like to know weather it's possible to add html links within a listbox ? I have had a quick play around and yes i can insert the link as static html link ("http://thisite.com") but not clickable. Or if so use the tooltip to some how launch …
I am unable to get my pop-up to resize or hide the toolbar when I select a thumbnail. I entered the width & height in my onclick event, bu that did not seem to work. I am guessing that I probably need to enter the attributes in the function and …
[IMG]http://www.killerinstinct.co.za/gall.jpg[/IMG] Hi, I have a galleries page in the CMS am developing that looks like the above. This section of the page allows the admin to upload multiple pictures taken by a photographer. On clicking the 'edit' button on any thumbnail - whether a blank or already uploaded pic thumbnail, …
Hi all, as a web developer, I am working on cross browser usage. I know, I know, there are websites that take snap shots. The issue is a bit more indepth. I've got stuff that LOOKS alright in most browsers but don't exactly function properly (some javascript stuff, some dom …
I don't know what happened to my previous topic about this. But I am using an AJAX menu on a page I am making for somebody, and I used the exact same code w3schools recommends to use: [CODE]function updatemenu(leagueno, confno, location, mode) { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser …
Hi to all, hi have the following problem, I hope someone can help me. I need to replace special chars that appear in a string. [B]for example if I have the string:[/B] this- is a !string with special chars- [B]I want to receive[/B] this45 is a 33string with special chars45 …
hello Possible to calculate mathematical expression like 2x(square)+3x+1 using javascript? any link i refer to perform mathematical calculations? and example
Hey all, I posted few days back about displaying all .jpeg files inside a folder in a table...I figured out partially how to do that with JSP..By Partially I mean that I am able to count the number of files inside the folder, and then run a For loop based …
Hello All. I am currently working on a project which basically makes splash screens for plasma displays. Details on objects are stored in an Oracle database accessed using ASP.NET and requested using AJAX. I have already got a working version of this project which people are happy with but I …
The End.