20,316 Topics
Hi I built a html page with a single button which suppose to open new window which shows XML file... I want to disable right click mouse in the "new window" which is being opened after button hit... I do know how to disable the right click inside an ordinary …
Hi, One of our customer has following requirement: When user login to web site, some key should be added to client side registry and when he logs off, then that key should be deleted from registry. I know that editing client side registry from server side is not safe but …
Hi. I am just learning javascript and am making a website for my friend's photography. I've got a working slide show now where you can click next or previous to display image after image in sequence. I followed this tutorial: [url]http://www.webmonkey.com/tutorial/Make_a_JavaScript_Slideshow[/url] Now I would like to also display a caption …
This is boggling my mind right now. Here's what a client wants: On the index page, there is an iframe with links inside it. When you click on a link, it opens the page (not in the iframe, but in the top level) and sends a url string variable. This …
Hi, i'm trying to use the divviewer image viewer as found here - [url]http://www.javascriptkit.com/script/script2/divviewer.shtml[/url] but i cant seem to get it to work properly, as seen here - [url]www.ryanscarry.com/port_digiart/photo_retouch/models/rebecca_burgess/Copy_of_portfolio_photo_rebeccaburgess.htm[/url] any ideas please? Thanks
I have this gallery that loops through images in a folder. But you have to set what images. Is there a way that I can make it loop though as many images that are in this folder maybe using a for loop or something. [code] var mygallery = new simpleGallery({ …
Hi I have made a page thats makes an AJAX call to the server gets the time and displays it. In the OPEN method i have set req.open("GET","/timerProg.cgi?param1="+new date(),false); I have set the last parameter as false as i am expecting a synchronous request so that time displayed should be …
I am designing a site with a javascript login that leads you to a flash actionscript site. What language would I be looking at for a database? Mysql? I can use any feedback.
Problem: Upload all the file in a folder to Server using JavaScript / web service I was trying to upload all the files from the specified folder from the client machine to the server. At the client side, I used JavaScript to read the entire file from client machine While …
Hi to all I have the following problem: I have a main page(html) and an iframe in it. [code] <html> <body> <iframe src="myIframe.html" /> </body> </html> [/code] In the iframe I have DIV element with a picture/or another element in it. I need to center the DIV element in the …
This code was working originally. Then I had made some modifications and things weren't going right so I went back to how it was originally, and now it's not working! What this does is add a file text box when you click a button & then remove it when you …
Hi all, I have just created a template for my website and then have put in my GOOGLE Adsense script in it. When i open it with Internet Explorer. The page gets displayed nicely. But when i open it with Mozialla Firefox it doesnt display any Adsense ads. Secodnly the …
Hi, I have a question about Java. I'm really new to Java so this is not something I'm familiar with.. My question is, how do I get the values of pos.offsetTop and pos.offsetLeft to show up in my input box?? Here is the java code: [code=JavaScript] function getPosition(element) { var …
I was wondering if anyone knows how to get flash to open another html page after the movie has played. im trying to make an opening page to my website which plays a short movie with the company logo on etc. When the movie has loaded and finished playing I …
I am doing online examination project, in that my requirement is to set one question in one page,the maximum time limit for the question is 60 seconds, count down. pb is if the user click refresh and back button the time get reset to 60 seconds again in this way …
Hi. I got a page on which on the left side there is a Tree with branches, on the right side of the page i got an <EMBED> tag that shows a pdf file, User can click on tree branches to expand them and can click on the leafs to …
I am working on a site that must drag and drop items, I use scriptaculous 1.8.2, effects, dragdrop.js. See the picture of the website: [url]http://http://www.freeimagehosting.net/uploads/a5e185062a.jpg[/url] or [url]http://img11.imageshack.us/img11/4913/myplansite.jpg[/url] [I](each number 1..8 is an drag and a dropable)[/I] But now I am lost, I kan drag, i can drop and invoke the …
Hi friends, I done my website menu with javascript.here problem is that its not working with IE7 but working properly with IE5. In IE5,when i place mouse on services it is displayed like below submenus will shown.it is fine home services products contact how it works private banks why it …
My strength is not java script and with the complex issues of dealing with the Vbulletin interface and then the java script which i do not really understand yet fully I hopeing some good soul will come to my add fast and get me through this. I do not expect …
My html/javascript code will not run and I am frustrated so I am not going to be able to understand why the code is not running. We were introduced to functions and here is my attempt. When I run the code in Firefox/Mozilla I receive an error stating that Grades …
Im sure this has been discussed endless times but I can't find anything which will do it how I want to. I want to seemlessly execute some PHP onclick. It will just update a row in MySQL and I dont want the user to be aware of this happening. How …
Hi guys! I'm trying to get my two variables "firstinput" and "secondinput" to be both NUMBERS and BOLDED. Only I can only get one or the other, but not both at the same time. :( Any suggestions on how to get them both to work? [code=html]<html> <body> <h3>Input two numbers</h3> …
Hello, I made a page that allows users to login, if id and password are correct than it sets up a cookie and says 'Hi'. Now i can access any page on the site after logging in(Which was restricted if you arent logged) Now this works fine in firefox and …
Wasn't sure what to put as the title, but what is happening is this: I have div elements on a HTML page, when they click on the div it is replaced with a textarea containing the div contents in order to edit this (eventually there will be a form/submission button …
I found 2 new scripts, here they are: [url]http://hot.ee/antsman333/scripts/script1.zip[/url] and [url]http://hot.ee/antsman333/scripts/script2.zip[/url] The script1 is more stylish than the script2, but it displays the directory files with the same icon.. How could I combine these scripts together that the script1 shows the icon according to filetype like script2? how script1 looks …
Hi, I used the confirmation in a page when one of the ultrawebgridcell updated.I used the following code. [code] private void MessageBox(string msg) { Label lbl = new Label(); lbl.Text = "<script language='javascript'>" + Environment.NewLine + "window.confirm('" + msg + "')</script>"; Page.Controls.Add(lbl); } protected void uwgSelected_UpdateCell(object sender, CellEventArgs e) { …
hi frnds.. [CODE]var headline = document.getElementById("headline"); var content = document.getElementById("content"); var data = "headline=" + headline + "&content=" + content; xmlhttp.open("POST","newspost.php",true); xmlhttp.onreadystatechange = handleServerResponse; xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xmlhttp.send(data); [/CODE] i post data in this way... n the next page i need to retrieve data .. [CODE]$d=$_post['data']; echo $d;[/CODE] output is combination …
Hi friends, I done my website menu with javascript.here problem is that its not working with IE7 but working properly with IE5. In IE5,when i place mouse on services it is displayed like below submenus will shown.it is fine home services products contact how it works private banks why it …
Hello, I got the following code from someone and have tailored it to fit my needs but I have a problem. The first menu populates from my MySQL database. However, when the first menu is selected, the second menu will not populate with the correct information. Zero is the only …
Hi,i done a menu with mouseover using javascript.In IE5 it is coming as hai ramu in IE7 it is hai.downside ramu is coming
Hi, I've one checkbox,I need to capture the status of this checkbox(i.e checked is "true" and unchecked is "false") to the java method as parameter. Please advise if there is any way i can accomplish this.. I've check box like this <h:selectBooleanCheckbox id="checkMedia" onclick="toggleDeleteAll()"/> Javascript to get the status of …
hi my interface has spry tabbed panels each in its own form, my problem is whenever i submit data on any of the panels in a form, my page reloads with focus on the first panel(index 0). I've tried a number of javascript methods on the form onSubmit but it …
Hi frnds.... i am trying to do search like google.... my files r here......but it displays error.......plz check the code what the error? [B][U]error:[/U][/B] [B]error:'window.google.ac' is null or not an object. char:1. line:19.[/B] eg: in a text box type "a" then "a" related words r displayed... [CODE]<?php $file=fopen("http://www.google.com/complete/search?h1=en&js=true&qu=" . $_GET["qu"],"r"); …
Hi there Having trouble calculating the final cost of choices made by a user. I have 4 radio buttons and 2 checkboxes. The first three radio buttons are, all intensive purposes, chocolates with the last radio button stating that the user doesn't want any of the chocolates. The two checkboxes …
can anybody help me , how can we call a javascript function using firefox browser. my code is working fine when im using IE but not for firefox. Why i cant understood.When im clicking button no action was taken and nothing was happned. [code=JavaScript]<script type="text/javascript"> function login_validate(frm) {var name=frm.user_name.value; if(name=="") …
Respected, Requirement is when body loaded there must be 1 increment in the variable. and total number of loading the body display on the button (document.button name.value=variable name)
I have a frame that includes a hidden <div> at first (before any action), the problem is that when opening the page, I have a white space, and i can't reduce the size of the frame because the content of the <div> will not appear! how to hide the white …
Hi All Could anybuddy tell me how to rename/hide the title in the popup window. I found the below code from google. this code is working fine. Actualy I don't want to show the url to the user. Below code helps to hide the address bar. But still user can …
Hey all! I have a gridview with multiple page, when i click on a check box in one page and proceed to the next page and click another check box in the previous page when I go back to the inital page the first check box click is cleared as …
I am passing a value through query string to a popup and then trying to pass it back to the main page... I store the value in a hidden input box [code] <input type="text" name="FromZip" id="FromZip" value="<% response.write(Request.QueryString("txtZipFr")) %>" /> [/code] and am passing it back through query string to …
Hi Im trying to re-make one of those image galleries where you click the thumbnail and the whole browser window is blacked out with the larger image displayed in the middle. Ive gotten as far as finding a script to hide this black layer and reveal it onMouseClick... but if …
hi everyone, I got one javascript error which is coming when i am writing javascript code for numeric value. It is showing "Invalid Character" error . Why this error is coming ? Please tell me the reason of this coming error. So i can solve this problem. Thanks Gagan
What would be the most efficient way to check that a series of text boxes are completed prior to allowing the execution of code since executing the code without values being completed errors out the program.
hi guys, today i found out that there is a free javascript multithreading library at : [url]http://www.infoq.com/articles/js_multithread[/url] it is under GNU license and free to use. It is a great and very easy to use tool.
I have a small elearning app and I want to check against the DB for the start and end dates (from mysql) and if they meet the criteria, good, else location.redirect to expired.php?? It doesn't redirect, any suggestions? Here's an example below... [code] function Timebomb() { var StartDate = <?php …
I want to check if the user had selected a node from a treeview or not using javascript. I'm using VS.NET 2.0. Thanks In Advance.
Hi frnds.... I have a page with different topics and explanations.... the total description in a single page..and all headlines at one place... now iam clicking on nth headline, than the page shows that nth topic description location... plz tell me how can i do that?
Hi I have a form on which I run some validation, if any of the conditions fail I show an alert. For example for the name field [CODE]<input type="text" name="name" id="name">[/CODE] [CODE] if(trim(cname.value) == '') { alert('Enter a Name'); cname.focus(); return false; }[/CODE] This is called when a user clicks …
Firstly, can I just say. I know this is really badly written but its to the best of my ability. Right, on index.php it makes a query which should go to search.php. Search.php handles everything. It makes a request to ajax.php which makes the request from the database. The problem …
Just wondering if theres a function to get the window title of your browser. Like if you were to visit [url]www.myspace.com[/url] your window title would be: [url]www.myspace.com[/url] - Mozilla Firefox or w/e browser you happen to use. Is there a way to get the title of a window?
The End.