17,114 Topics
![]() | |
Hi In my web application I have put a javascript menu which has been created using AllWebMenu. On mouse over event the menu gets opened, and on the mouse out event the menu gets closed. This is fine but if I want to open a menu with the help of … | |
I want to be able to access whatever the user types into my testCreation.html in a session created in testCheck.php. I then want that session to be accessed by testView.php. I can't seem to get to that point so any help is grealy appreciated. testCreation.html: [code=javascript] <html xmlns="http://www.w3.org/1999/xhtml" > <head … | |
Hello, Below is the code for a Captive Portal Splash Page. I have tried to research how to fix the button at the bottom of my page but I can either add a link (which does not require checking the box to agree to terms) or simply how it came … | |
i pass this to a div innerhtml from javascript. when i do it like this it doesn't work. it should display an image hyperlink [code]var newtext4=("<a href=" + number + "><img src=" + newtext2 + " /></a>");[/code] if i do just text, it displays a hyperlink. [code]var newtext4=("<a href=" + … | |
Hi Iam very begginer I want to use the script named lavaLamp from here [url]http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/?cp=all[/url] ) but I donn't know how I can use it I try to change the <li class="current">[B]<a href="#">Home[/B]</a></li> tag to the <li class="current">[B]<a href="http://google.com">Home</[/B]a></li> but it doesnt work please help me [CODE] <h3>With Image</h3> <ul … | |
Hello all! So I am creating a redirect page so that when someone signs up for our newsletter they're taken to this page and 10 seconds later, redirected to another page. The script I'm using isn't working for some reason. I originally had it in a seperate .js file but … | |
Can someone please advise what I may be missing? How can I not only make it better, but this does not seem to be working, although 1 domain instance has worked for some time, I tried adding to it: [CODE] if(document.form1.email.value.length > 0) { var theEmail = document.form1.email; var at … | |
I am using this tip given to [URL="http://designerfoo.com/jquery-thickbox-hack-to-refresh-parent-window-on-tb_close-event.html"]refresh the parent window on close[/URL] for thickbox. But in addition, I would like to display the loader image after closing & while refreshing. Any suggestion? Thanks. | |
Hello Friends, Hello to all, Iam having an issue regarding the Jquery facebox i applied jquery facebox to my login form and its working great now. But the problem is when we click on facebox link without the total loading of page it si opening in anothe window. but the … | |
Hi All, Good Morning. I'm new to php environment. When you are in internet explorer and you register, if you choose a different address to send the commission checks to, it always says "Choose a state" even though you chose one already. Here is the code. <?php session_start(); include_once( "common.php" … | |
Hello Everybody - I have a question that I need answered - Is there a way to implement either a vertical drop down menu or a horizontal drop down menu on a "hot spot" on an image map where as when the mouse rolls over the "hot spot" the "hot … | |
Hi there I have a page that has php code at the top. Ajax before the body tag and a form. I need to be able to call a php function (the one at the top of my page) that adds info from the form into the DB. Normally I'd … | |
[CODE]<link rel="STYLESHEET" type="text/css" href="styles/calendar.css"> <script language="JavaScript" src="javascript/simplecalendar.js" type="text/javascript"></script> <script type = 'text/javascript'> function insCell() { var x=document.getElementById('tr1').insertCell(1); var y=document.getElementById('tr2').insertCell(1); x.innerHTML= 'Day 1'; y.innerHTML='<input type = "text" name = "day"><img src="images/calendar.gif" name="imgCalendar" width="34" height="21" border="0" alt="">[COLOR="Red"]<a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'frm.day',true,'yyyy-mm-dd'); return false;">[/COLOR]</a> '; } … | |
I have this php based website, that displays a photo and draws data from a db to display on the page. Currently has a link to a live camera(viewed by internet browser) that opens in a separate page. I have heard/read that using jquery you can create a iframe within … | |
Using this code I disable my submit button on the initial load. I'd like to enable it when the form is valid. I have Prototype.js on my system. I send back a chunck of html to update my target. Is it possible to send back an id so that I … | |
Hey Everyone, First off thank you for taking the time to help out. Here's my issue, I am using javascript to use a fade effect on my css sprite menu. I am also using the Jquery Tab function to bring up my content. So basically this is how it works. … | |
Hello, I am trying to make a link to a certain area of the image (for a site map, using the mpa feature), How would I place this code in? [code] <img src="http://www.mysite.com/images/header03.jpg" width="770" height="230" border="0" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="291,195,366,227" href="http://mysite.index.html" /> <area shape="rect" coords="372,194,447,227" href="http://www.mysite.com/page1.html" /> … | |
I have this structure: includes/top.php : This contains <head> tags, jQUery library & functions : <script type="text/javascript"> function makeslider() { $('#coin-slider').coinslider({ width: 605,height: 450, navigation: true, delay: 5000 }); } </script> page.php : here have the #coin-slider div, but when I call the makeslider() function it doesn't turn my div … | |
HI every one I want to make a menu like this web site :[url]http://www.petrobras.com.br/pt/[/url] When your move the cursor on it , a new windows open and there is a picture in left side and submenues in right side I myself think it is a jquery tool but I don't … | |
Hi all, I'm down with a question. How do i add in a javascript function into another function? For eg. I have a button that enable me to create a new table on the page. when the table is created, there is input of text with calendar function. Is it … | |
I had written javascript calculation for hotel accommodation system. The calculation part is working in Mozila fire fox, but it is not working in IE6. I checked the internet options in IE6 and enabled active scripting, still it is not working.Is there any other option. Please give me the solution … | |
Hi, How can I add via javascript an Event Attribute like onkeyup="xyz(this.value)" in a text input ? function x() { if (condition) { document.definesearch.textsearch. ???? ; } } definesearch is the name of the form. textsearch is the name of the text input. I tried this : document.definesearch.textsearch.onkeyup="xyz(this.value)"; but it … | |
I have a digit 1.63e-01. I want to convert it to integer using JavaScript. How? | |
Hi, first of all sorry if this has come up before, but I couldn't find it anywhere. I have a working php form which submits data on submit. I need to verify the input fields to ensure they are not empty. I know i need a javascript function to run … | |
I am trying to create website with [B]PHP,MySQL,Ajax[/B].In my form,the [B]values [/B]of [B]sub-category[/B] [B]select box[/B] are populated according to the [B]value[/B] in the [B]category [/B][B]select box [/B] by calling [B]ajax [/B]function [B]showsubCategory(str)[/B],[B]below [/B]I am showing some of the code: [B]Ajax code[/B]: [CODE]<script type="text/javascript"> var xmlHttp function showsubCategory(str) { xmlHttp=GetXmlHttpObject() if … | |
Hello, I have the part of code presented below. It has 2 radiobuttons and 2 text inputs. When user selects the first radiobutton(value="searchw"), I would like to make textsearch1 enabled and textsearch2 disabled. And the opposite process.. when user selects the second radiobutton(value="searcht") I would like to make textsearch2 enabled … ![]() | |
Trying to get my one of my divs when clicked to call a function but it doesn't seem to be working??? I just noticed that only one solid pixel in the div border which i will eventually set to 0px calls the function but I want it so the whole … | |
Hi, I'm new to using Ajax so bare with me if i say anyting silly. :) I'm trying to insert comments into a mysql DB and immediately (no page refresh) show it on the same page as the comments form I use to insert the comment, somewhere in another div, … | |
i want onchange of an option in the dropdown list to change the value of the textarea. I tried but it's not working. [code] <script type='text/javascript'> function ChgBox(number) { var thecontent = document.getElementById(number).innerHTML; document.getElementById(content).value = thecontent; } </script> [/code] [code] echo "<div style='display:none;' id='2'>Type Image Url</div>"; $thenum ="2"; <select> <option … | |
hi all, if i have to print some text over a image in particular location of image can i do it with javascript actually i have a check(image) but i want to print name , amount over that image but i want it be in write place of check image … | |
I thought this would be simple I am trying tochange the opacity using style. but keeps throwing an error [code] document.getElementById('overlay').style.background='#000'; document.getElementById('overlay').style.opacity='40'; document.getElementById('overlay').style.filter='alpha(opacity=40)'; [/code] keeps thowing the error in parsing value for 'filter' declaration dropped in my css i have [code] #overlay{ width: 100%; height: 100%; background: transparent; /* for … | |
Sorry another silly issue with javascript but I am getting there. Can someone please explain how I should write this thankd. I tried stoping and restarting the string 'hello' +var 'more text'; maybe I am just too tired. The variables are already defined. [code] document.getElementById('welcomeone').innerHTML='+firstnameval you have successfully created your … | |
I need to GetThe Dynamic Values of Row1 Row2 Row3 Etc. My Code enter code here <script type="text/javascript"> $("document").ready(function(){ $(".addComment").btnAddRow({rowNumColumn:"rowNumber"}); $(".delRow").btnDelRow(); }); </script> <table border="1" class="autoTable"> <tr><td>Your Name</td> <td>Your Age</td><td> </td> </tr> <tr><td> <input type="text" id="wonder" size="25"/> </td> <td><input type="text" id="good" size="25"/> </td> <td><input type="button" value="Delete" class="delRow"/> </td> </tr> <tr> … | |
Hello, im making a fact system, and I need a refresh script, For example when someone clicks on the "next fact" button, the "div" part (where the fact is displayed) refreshes. ONLY the div part. and the javascript below is externally loaded... [CODE]/ ============================================== // Copyright 2004 by CodeLifter.com // … | |
hi everybody, i encounter a problem regarding PHP when i am doing my internship. i have a javascript which looks like this. <Script Language = "JavaScript"> function sent() { var text1, fTxt,dT; text1 = document.form1.EPTextField.value; dT = new Date(); fTxt =("You entered" + ": " + text1 + " " … | |
hi to all, I written a web method ListTask() which returns array ob object of class TaskList which give me result in xml form I want to bind that result to table in asp.net 3.5 aspx page by calling that webMethod in jQuery ajax call. I have tried many ways … | |
[B] Hi, I have a problem in the below requirement. Marital Status (Select-one) SpouseName ( Textbox ) (Single) (Married) Whenever i choose an option [U]married[/U] only then spouseName is activated( Mouse Cursor is enabled) other wise in rest of the cases it should be in [U]read-only[/U] property. Please help me … | |
i went to college to be an engineer, came out 6 years later with a degree in discrete mathematics, & have since worked as a software developer in a corporate IT shop. i'm considering retooling once again, this time towards something like what i suppose people mean by industrial engineering. … | |
Hi, I have a task to convert HTML files to PDF files and i have no clue how to start. Can anyone advice as to how to go about doing this conversion from HTML to PDF? Thanks in advance, Regards, nsrivi | |
I want to focus back on the main page from an iFrame that is loaded as an element on the page. I am trying to make a toggle focus using CTRL to go between the two. I am using javascript to navigate the iFrame to different pages. Once the iFrame … | |
hey guys i have seen in twitter that, tweets appears without the refresh of page, i want same kind if script or functionality. any idea or related tutorial? Thanks in advance. | |
Hi All hope you can help its been driving me crazy .. i have a website where i change the content of a div using jquery, however i also want to change the background image at the same time but cant seem to get both to work together, not sure … | |
Hi there, I have put together an accordion menu using css, html (ul, li tags) and javascript. I'd like the arrows on the collapsible menus should change state depending on if they're open or not. The triangle turner should point right when the content is closed and can be opened. … | |
We are offering a coupon for a free soft drink to everyone who fills out our survey. When the user hits the Submit button at the end of the survey, a page appears with the coupon and a Print button. Currently, the whole page prints, including headings and links. I … | |
Hi so i have a search box of a student database. and when searched the results are displayed in a tabular form. i first used window.print to just print out the search results div if the users want some sort of a report. but when using window.print the css is … | |
Hi, I have an issue that I think you could help me with. I would like to make so that when I select something in my select box (my main category) a sub category for that will appear based on my selection in the main category. I assume you would … | |
Hi guys, Any help with the following will be greatly appreciated. I get this error :"document.getElementById("buttons" + questionNum) is null" with the following code: [code=javascript] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> var questionNum = 1; function addQuestion() { var … | |
Hi all, i have a link that opens .doc files, .docx files, csv files or .xls or .xlsx files. i want silent printing of these files. Only one file opens at a time. If silent printing is not possible then atleast print dialog box should open up along with the … | |
The code works perfect in IE but I can't get it to work in Firefox. Is there a work around for firefox? Your time and help are greatly appreciated. dinkado | |
Do you guys know of any way to create a presentation on a website WITHOUT showing load bars? Background info: it is about photography website where someone after seeing full size picture could click to view it in a room setting. Right now my developer created a presentation where full … |
The End.