20,316 Topics
Hi folks, I am trying to creat a tab mouse over effect using a background-image positioned with css and like to change the position with a smooth animation from one position to another posiotion. is this can be done? should i need use Javascript ? else there are some other …
hii!! i am making a form in which the user fills in the fields and finally submits the form, which is then saved in the database i use asp and javascript for validations. the user can see, all the enteries as a list in another page. Now, i have to …
Hi How can I access the DOM (inner html). I need to capture the innerhtml (the complete html , body structure)of the source page and then be able to open another html page using this inner html of the page selected. I tried different methods like using the ajax calls …
hi everyone. i am having trouble with validating an input field where someone is supposed to enter their full name. i got this validation from the internet but it does not allow spaces between words. please help me correct it and explain to me what was wrong. Thanks a bunch. …
Just a simple question, this has always bugged me. I always wondered why JS includes and code were split into separate script tags. jQuery, Analytics, and others do this: [code=javascript] <script src="/js/scriptname.js" type="text/javascript"></script> <script type="text/javascript"> //code here </script> [/code] Why use multiple tags? Why not: [code=javascript] <script src="/js/scriptname.js" type="text/javascript"> //code …
hi, I'm trying to load cell values from a table, to a form in Javascript.... I can caught the cell values but I can't load them to a form.... this is how I caught the cell values: [code=html]<td id='cellText' >writing the text </td> <script> alert(document.getElementById('cellText').innerHTML); </script>[/code] Thank everyone.....
My website is ranked 36,000 on Alexa, but a dismal 160,000 on Quantcast. Quantcast claims that you can boost your ranking by signing up with them and inserting a javascript snippet into each page on your site. I quick checked a few popular websites to see if they had the …
Hi to all, I have the following problem, I have a div that includes a pictures and texts, if you put the following code in a html, and see the result, you can notice that in IE the text is displayed inside the DIV, in Firefox you can see the …
I was searching a solution to get height and widht of an image using javascript. I got many but all those solution only worked when image present in browser cache. Finally I got one solution to get image height and width even image does not exist in browser cache. Just …
Hi, In Firefox, div is not fitting to its text contents. There is requirement that on selection of fontsize from dropdown, div contents font size changes accordingly. Font Size DropDown values ranges from 5-95. When contents font size is increased, text contents are overflowing. To solve this, i defined div …
Hi, I've got a webpage that hides divs using the off left method whereby hidden divs float 4000 pixels to the left of the screen, instead of actually being hidden. I was unable to take the approach of using display:none because this page has embedded google maps within the hidden …
HI, I have 2 requirements for a single aspx page (IE7 browser). 1. The position of the top menu has to be fixed. 2. In the contents page is a grid displaying the following two columns: a) Name of category b) An ajax slider to rate the category. (Refer AJAX …
Hi. I have a textarea and i want my button to be enabled when the contents of the textarea is changed. But i don't want onchange method because even when i type even a letter it keeps firing the js function. I got the contents of textarea from the database …
i want to display alert on the basis of responce text in AJAX, meaning to say i am getting responce text in id "responce " through php file by AJAX method, when responce is incorrect it shows alert before form submission the code is as follow, [ICODE] <?php session_start(); ?> …
Hi All, Am new to this forum and really happy to share my programming thoughts to you all. It would be great help if some body gives me the the solution for the below. Case: When i select a file (through html file control) from local machine, before uploading i …
Hi, I got javascript error: unknown exception in IE 6 Take a look: [url]http://buildalook.com/index.php?l=Measure[/url] login: test2 password: test2 Click "other information" in the left, first it's work good. But when I refresh and click "other information" again, I got javascript error: unknown exception. Can you help me?
I have a data source. I want the null values of my text to be printed as a new line in my text area. How can I do it? Think of sql table 1-I am 2-null 3-good I want it to be printed on textarea like this. I am good
Here how it's work. Hold down the mouse click make the popup show, release will hidden. Continuing hold down the mouse click and moving the mouse around will make the popup follow the mouse. The problem is how to make the popup (<div id="popup") move follow the mouse cursor, onmouseover …
please help me i got some problem with my code. my drop down lists which displays a text box when a selection is made, does not display an input in a database when i write a text in the text box. [code=html]<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function showHideSelection() { if (document.drop_list.Category.value …
ok i don't know where to start my search cause i don't have to right terms. what i would like to do is have to menus and have the second be changed dynamically. ex: in the first dropdown if the user selects a category, the subcategory will populate with sub …
I've been able to get the iFrame to resize to the content - see this link - it's pretty simple. My only problem, is if the user clicks a link so that another page is displayed, the iFrame doesn't resize. It will only resize when the parent page is reloaded. …
hi, can anyone plz tell me how to acheive the thick box effect on this site?as in when you arrive at a page and cookies are cleared, there appears lightbox for signup. i am trying to achieve something similar. thanks in advance Preet
Hello guys, i need some help on creating an event callender reminder that can work on MS Outlook like iCal, this callender reminder will be on an event site which I am working on so people can get reminders via MS Outlook. JimPatrick
Hi, I have a question. When you click on the body and hold the click button down the div will appear. Continuing to hold down the mouse click and moving the mouse around the div, will make the div follow the mouse pointer. How to do that in mootools?
I am importing three diff jsp files through foreach looping inside the parent jsp file. Three files are x.jsp, y.jsp, z.jsp for example. I want to extract the last file z.jsp from this loop and I need to put in to one seperate DIV element. How can I do this …
Hi , I am using <logic:iterate> tag to iterate through a list of contents. When the List size is 1222, all the Contents in the List are displaying properly. When the size execdes 1223, the JSP is not displaying properly. I am not getting any exception also. I have added …
Hello This is a somewhat peculator request but I haven't been able to find an answer on how to do it or even if it can be done. What I would like to do is to tie the height of a colored div on a lower z-index to 10-15px below …
I have a third-party JavaScript that works as a button.... I need to call from that script to a C# function. Is there anyway to do that??
Hi all, Please have a look at the left menu in this link [url]http://kuwaiteshop.com/index.php?lang=en[/url] I want a similar menu in any language wither its free or I have to buy I want it to be easy to add categories & subcategories Kind regards & thanks in advance ('',)
I have this bit of code that I am using in a project which I got working on a test webpage, and then when I tried to implement it on the real webpage, it all works, except for the jQuery effects. Here is the code: [code=Javascript] $(function(){ $("a.vote_up").click(function(){ //get the …
Hello guys, I was making a website, all looked great, untill I started IE7. there, it really looked like crap. Now I'd like to just make another css file for IE6 and/or IE7 but not for IE 8, because it does look wel at that browser. How can I detect …
I want that table be refresh after deleting data i have tried it but it’s not working. Can you pls help me how can I do it using protype.js? this is my code [code]<?php require_once("common.php"); $row=getDetails(); //print_r($row); function getDetails () { $objLogs = new Logs(); $fields = 'id,link,filename,pageid,position,orderid'; $row = …
Hi Folks, I have created one gridview.In that gridview i've placed buttons in every cells.My task here is...when i click the button automatically that particular cell color should get changed.I even used code using system.drawing.color on selected index changing event.But once i click any one cell it affects all the …
Hi, I need to display the countdown clock in my bidding site.The same countdown needs to be displayed when any user visits the site.Help?? Thanks in advance
I am creating a form for a registration that asks the participant if they have completed pre-requisite training. There are three questions they are asked. When they click yes, the text box for the requested information is enabled, when they click no, they get a warning that they need to …
Hi all. i need help. i have two text boxes in Web application. When i enter data in first textbox second will enable automatically. i have written javascrit of onblur and onchanges and onkeyup event to enable the second textbox, it works fine but the problem is when i copied …
Hi all, I'm really curious about this community. Never seen one like it before; I think I'll enjoy hanging out here! Me? Hmmmm... I'm a java developer with responsibilities inclining towards client-side (browser-based) stuff; I work with Struts 2 framework, javascript, some jQuery. I also do PHP... Well, that's all …
Hi all. i need help. i have two text boxes in Web application. When i enter data in first textbox second will enable automatically. i have written javascrit of onblur and onchanges and onkeyup event to enable the second textbox, it works fine but the problem is when i copied …
Hello all, I have a page where the user clicks a link, one of several, and some text is displayed. The code I have does exactly that. My question is how do I show only the the current text inside the div container ? I've had a look at clearing …
I have created a new menu that contains individual buttons which is suppose to launch each of the other forms that I had created beforehand. The quotes I've been using to open the new forms after clicking on one of the buttons doesnt seem to work. ANyone got any ideas …
Hi all, first of all I apologise that I write in this category (javascript) but I don't know where I could be helped. I use a contact form in my site with the fields user, email, subject, comments I would like after user's submit to send me all the data …
I am hoping that this is a proper forum to post to. I got an Ajax script from Dynamic Drive called "Dynamic Ajax Content" that loads external pages into a DIV in the Parent page. The effect is much like that of an iFrame. I am loading videos into the …
Hello, I am trying to completely remove everything from a table. I want to delete all of the rows which I am able to do. But when I delete all of the rows and add rows in again there is whitespace at the top of the table and I can't …
[code]<html> <head> <script type="text/javascript"> function getpr(txt2){ alert("I'm in"); document.write(txt2); } function message() { var doc = new ActiveXObject("Word.Application"); // creates the word object doc.Visible=false; // doesn't display Word window doc.Documents.Open("C:\\Users\\vinay\\Desktop\\HTMLPages\\test\\pr.txt"); // specify path to document //copy the content from my word document and throw it into my variable txt = …
Hi all, I added phatfusion image menu to my oscommerce site but don't working. say why? I dont know. I did everything right, but not. I transfered imageMenu.js and imageMenu.css to public_html, I transfered mootols.js to /_common/js/ Then, I added those to index.php; [CODE]<link href="imageMenu.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" …
Do I have a way (when I get the “unload”) to distinguish between “X” button and another cases(for example when moving writing another URL address)? I want to decide what message to display to the user when I get to the unload event, if this possible to do?
Ok, after much searching i finally decided to ask. (Newbie to this forum so I apologise if I don't use correct format) I have built an assessment that pulls through X number of questions from a questionbank. The questionbank sits in a single js file whilst the code controlling everything …
Hi I need to get url Instead of contact.htm and keep the animation. this is a modal window. [code]$(document).ready(function () { $('#contactForm input.contact, #contactForm a.contact').click(function (e) { e.preventDefault(); // load the contact form using ajax $.get("contact.htm", function(data){ // create a modal dialog with the data $(data).modal({ close: false, position: ["0%",], …
hi, my form combo box has a problem. the textbox in my combo box dropdown-textbox list does not validate any error at all. when i am pressing the submit button. when the fields have no given value the script that i embed does not validate the error at all. please …
hii.. I want to use a scriplet variable in javascript. i used <%! int i;> <% i=0; %> <input type="text" id="itemValue" onchange=changeValue('<%i%>')> it works fine if i give alert(i) in changeValue function. Otherwise it gives error i is undefined. Plz help me. I don't want to bother user by increasing …
The End.