15,699 Topics
![]() | |
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 … | |
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 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 = … | |
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 … | |
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 … | |
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 … | |
can someone direct me to a tutorial that will give me step by step instructions on how to link xml to my index page. I don't quit understand the concept around xml. and how it work with an index page Thank in Advance | |
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%",], … | |
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 … | |
my basic question is that can i use the jquery insted of php syntax ? For example i developed a site in simple php, now i want to change the code for security perpose in jQuery.. Can I ?? | |
Hi guys, I have no experience with jQuery or php at all besides the ones I see in Wordpress and the functions I included in my themes so forgive me if I sound stupid. I'm trying to include the .scrollTo function in my theme, and was wondering if it's possible … | |
Is there a JavaScript script that determines the geographical location of the visitor? I need one to determine that and depending on there location run 1 of about 5 different JavaScript scripts. How do i do this? Does someone know were i can can a script to do this or … | |
Hi There, I have a webpage with link of useful websites. Rather than loading the websites in a new window, I would an "inline frame/window" to be opened just ow the link I clicked on so that I can preview/interact with the webpage. Does anyone know how this can be … | |
Hi, i have written a code for getting the environmental variable.I am getting the error as wscript undefined. [code] <html> <head> <title>Test</title> <script language="javascript"> function getEnvironment() { var shell = WScript.CreateObject("WScript.Shell"); var env = shell.Environment("USER"); alert(env("temp")); } </script> </head> <body> <button onclick="javascript:getEnvironment();">Click</button> </body> </html> [/code] | |
i have page contain two combo box USA UK GERMANY i want that if i select usa then 2nd combo box will shows only cities of usa plz provide me help | |
Hi, First-timer here. Have JS that works in Safari, IE but not FF. Very simple code: [code] <script> function callFunction() { if (eb.TobaccoProds.checked == true) { eb.action = "step2.php"; } else { eb.action = "passthrough.php"; } } </script> <form id="eb" name="ebr" method="post" action="" onsubmit="return callFunction();"> [/code] When user clicks (or … | |
ok so i have this code to start with javascript [CODE] if(document.createElement) { //W3C Dom method. var tr = document.createElement("tr"); var td = document.createElement("td"); var input = document.createElement("input"); input.id = field+count; input.name = "the"; input.type = "text"; //Type of field - can be any valid input type like text,file,checkbox etc. … | |
Hi I have a possibly silly question. I want to use a script which requires: Minimal Requirements Mootools version 1.11 with these included: • Class.Extras • Fx.Scroll • Fx.Style • Native Element • Element.Event Im not sure how to 'add' this? Do I just need to download a folder which … | |
This is a basic piece of code that write a couple of links to the webpage: in the xhtml file (1.0 Strict): [icode]<script type="text/javascript" src="file.js"></script>[/icode] in the file.js file: [code=JavaScript]document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>");[/code] The links aren't there, the titles are there, THERE IS NOTHING THERE!!!!! =/ | |
Hi All, In my attempt to learn javascript by jumping in with both feet, I have run into the following scenario: I have a registration form that requires different information based on a combobox selection. My thought was to resubmit the form with some special identifier when the combobox changes, … | |
Hello I have a JSON array data.cells that I need to iterate through to get the values out of and put the values into an onclick event listener. Right now the variable name data.cells[i].letter is being based through the buildString function for each cell in my board, instead of the … | |
Hi I'm new to mootools, could anyone help me on this? i got on mouseenter and mouseout works on IE 8, but on Firefox, it only works just once I don't know whether i's the css or the mootools code that went wrong [B]I've attached some files here too if … | |
Hi all, I am new to ajax, meaning I know nothing what so ever of programing ajax. I want to do a simple login interface with email and password (with php), but i also want that when I press submit button it show a box with "please wait..." message (this … | |
i want a alert that alert when press submit button if the date user have inserted is expired as today is 19 may 2009 if a user puts 18 may 2009 it alerts that card expired. here is the code:- PHP CODE: [CODE=language]<?php $connection = mysql_connect("localhost","root","autodeskmaya") or die("error connect"); mysql_select_db("online_bus_project"); … | |
I have this code: [CODE=javascript] function getLocation() { var siteurl = document.location.href; document.write(siteurl); } [/CODE] I want to extract from string etc. "http://site.examle.com/page1/page2" this part:"/page1/page2". How I can do it? | |
Hi I am using CGI/C at the server. When the user clicks on a link the server sends a xml as response which undergoes xslt at client. The problem is 1. Sometimes Xslt takes 2 to 3 sec 2. User navigates to other link meanwhile 3. Xslt is done for … | |
i have this form that is php and it has some required fields. that get checked with php . but i know that javascript can be disabled so i want to keep the php code because it does all the error checking but i want to add javascript to look … | |
Hi I am looking for a random background image script. I have 3 background images that cover the whole browser and I want them to rotate when someone hits the refresh button on the browser. Can anyone help me on this thanks. JimPatrick | |
Heya, I have recently got a script that basically uses AJAX to automatically resize an Iframe as opposed to having it show scrollbars. `Its a god send script as it means I can make my website 20 times better, however it doesnt seem to work properly with IE. Firefox seems … | |
Hi, I want to read an environmental variable using javascript.I have know idea of how to do that.Can anybody help me. | |
Hi, I'm pretty much a noob to ajax but I'm trying to get me head around it and have been very impressed so far. I'm stuck with trying to make/find a script though. I want a line to be drawn from one button to a series of others when you … | |
Please can someone help with passing of variable for the 3rd menu. The second menu is populating correctly from the first menu. The third menu doesn't work because it is not pulling the cat1 & cat2 values. I suspect it is the "checkNew" function, which I tried (with limited Javascript … | |
I am using the following code for disabling Ctrl-N in IE7. It disables the Ctrl-N feature of IE which opens a new window containing the same page as the 'active' window. The code works great (at first glance). However, I noticed that, if you click anywhere inside the browser window … | |
I need a script for my website in which there will be a paragraph provided to our visitor. He will be asked for his reading rate like words per minute he can read. Then according to this asked rate the words in that particular paragraph will get highlighted. | |
I m having problem in using the php array values in javascript. I m not very good in javascript so i need a support from u.. [icode] $pr[]=array(date('y/m/d',strtotime($rev_date)),$w_s['status_percent']); [/icode] this is the php array i m using. I need to use its values in the following javascript code [CODE] <script … |
The End.