15,121 Topics
| |
Hello Daniweb Community I am creating a website and wish for the pages url to be the same. For example. The site is company.com I wish for the page company.com/help.htm to appear as company.com If you could help I would be very grateful thank you Grantmitch1 | |
We are using disabling of F5 in onkeydown event of input objects.it is working for normal input objects but not working for the browse (input type='file') fields.is there any chance to do so? | |
Hi All, I want to change the f5 property to html tag(i.e., <input type='file'>) for I.E.7.0 version and above. but its not working. Here the code is working in only in <input type='text'> but not working to <input type='file'> <html> <head> <script> document.onkeydown = function(){ if(window.event && window.event.keyCode == 116) … | |
I built a web page form, where the action is set to "mailto" to my email address. I already scripted the client side using Javascript and I wish to know if I can use Javascript for server side scripting as well? I do not know PHP, nor Perl, and prefer … | |
How do I have multiple mouseover events at the same time? Here's what I have so far. [code] <a href="assets/Ads/agapeCreations.pdf" /> <img src="assets/Ads/agapeCreationsNorm.jpg" alt="Agape Creations Photography" onmouseover="this.src='assets/Ads/agapeCreationsMouseOver.jpg' 'self.status='Agape Creations Photography';return true" onmouseout="this.src='assets/Ads/agapeCreationsNorm.jpg';return true" width="725" height="80" border="0" border=0 /></a><br /> [/code] I have the images swapping fine, but the self.status isn't … | |
Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ … | |
hey ^_^ i really hope you guys can help me. Ill try to explain as clear as possible. Ok, so what I did was; I took a free web template, and tried to adjust it to the website i've been requested to make. What you see below is this window: … | |
Hi all, I'm learning JavaScript and have run into a problem. Displaying the contents of a cookie with the code [code] alert(document.cookie); [/code] works fine in Firefox 2.0.0.11, but in Safari 3.0.4, it just displays an empty alert box. Any quick answers? Any resources that you can point me to? … | |
Sorry for the double post. but it wasn't even remotely in the right spot before. I wrote this little code segment to illustrate the idea of what I want. I'd like to be able to automatically scroll the DIV to the bottom when you add stuff to it. [code] <html> … | |
hi friends , i would like to learn Ajax so pls send me web links or sample programs wht is the Advantage of Ajax ? pls help me learn new concepts Ajax thanks & regards chandu | |
Hai everybody, this is the proplem.when i excute the page and on clicking the button am getting error message saying that 'menu1.value is null or not an object'. how can i handle it.Please help me <SCRIPT type="text/javascript"> function test1(form) { if (form.menu1.Value == "Select") alert("Please select some other value!") else … | |
I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get … | |
I have 4 radio buttons and 4 text boxes, say for eg: r1, r2, r3 and r4 and t1, t2, t3 and t4 respectively. On load of the page all 4 text boxes will be disabled, when i click on r1, t1 must get enabled. When i click on r2, … | |
[B]Hello Guys i am Facing a problem which is annoying .. If i use " width=100%; " Site Works Fine on Internet Explorer, But Not on Firefox. If i use " width=auto; " Site Works Fine in Firefox but not on Internet Explorer. Can anybody tell me how to fix … | |
I have simple js form validation, and it doesn't work, no matter how enabled the browser is. I've tried everything. I even tried: <form action="mailto:..." > but it'll popup the windows alert about using the email program (outlook/outlook express) completely ignoring the js validation. please your help. this is the … | |
I am trying to implement a customer survey into our webpages. The survey consists of a javascript file which launches an html file in an iframe. When the user meets certain parameters defined in the js file it launches the iframe. This works fine in Firefox and the iframe is … | |
Im looking for a piece of code that can be used to select all input text fields and then disable and enable them at will. I was trying to work off this: [code] text = document.getElementsByTagName("input"); [/code] THEN when required: [code] text.disable = true; text.disable = false; [/code] Thanks, Regards … | |
Hi, I have Spry placed on my web pages, when previewing in Firefox, and I click the Spry Accordion my nav at the top becomes bold and fuzzy, very strange, but it doesn't happen on every page [url]www.jimpoole.net/sinclair-college-courses.html[/url] I've compared code and looked at everything I know and can't come … | |
Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for only one and was working fine but there are three. So I would like to … | |
I've created a fairly simple method for obfuscating email addresses as an anti-spam measure. It should work for any browser that supports JavaScript and a fairly modern Document Object Model (DOM). A composer window in the user's default email application will be opened. First up is the javascript function that … | |
I wrote a beginner AJAX tutorial, you can view it here: <snipped> I hope it helps someone. Thanks! | |
Hi all How can I write a javascript code to change the alignment of a textarea so that the user can select a part of of a textarea and change the alignment of this part by clicking a button? thanks | |
Hi I am searched about uses of InnerHtml through net but i didn't satisfy that information so if you known means please send me about uses of inner html Advance Thanks | |
Hi All... I developed one File upload application with HTML as client and JSP(Apache commons upload) as server... Its all working fine with submit...But i want to obtain the same with ajax request with no form submit.. How i have to pass file data along with other request paramaters like.... … | |
Hi I cann't unable to get count the selected list box items using javascript so you please help me. if you know means please send to me Advance thanks | |
I'm working with perl and javascript and I was wondering if anyone knew of a way to get syntax highlight for two or more programming languages at once in Emacs. For example: [CODE]# This is perl's comment my $variable; // This is javascript's comment var variable;[/CODE] I'd like the perl … | |
Hi guys. I have a website that is meant for showing pictures. Right now, it's set up so that I have to make a new webpage and manually configure every picture (size, location etc) exactly how I want it. Here's what I mean: ([URL="http://cosmocrazy.x10hosting.com/Gallery-75/art1/shapesinspace.html"]example[/URL]) There is a frame on the … | |
Hello all. i'm real new to any scripting so please be gentle. I'd like to write a script based on the AddFileNamePlusDate.js for photoshop. For anyone who doesn't know this script gets the file name and adds a text layer of a photoshop document and places the file name text … | |
I am setting up a gallery using LightWindow or ThickBox. I've added all the js & css files but the gallery will not work properly. When I click on a thumbnail, the LightWindow or ThickBox is suppose to open and display the image, instead the image opens into a new … | |
I am working on a rating tool.The tool consists of 5 images (5-star rating) on clixk of the image i want to update my rate table (i.e on each click i incerement the count in the database).Currently i am trying out using ajax to run carry the rate value to … |
The End.