15,700 Topics
![]() | |
I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of … | |
i have a problem regarding light box focus.. i have a button that whenever i click the button it will call the light box.. there are 2 function . [CODE] function focus_on_lightbox(seconds) { var seconds_waited seconds_waited = seconds document.getElementById(EducationBox).focus(); seconds_waited += 100; if (document.getElementById(EducationBox) != document.activeElement && seconds_waited < 2000) … | |
I have to develop a code editor as my internship project. But I could not find a head start in a brief search. Firstly what should I, in your opinion, develop? A desktop code editor or an online code editor? Currently I am inclined for an online code editor. However, … | |
Good day every body, this my script can submit form inputs to email.but i wants it to equally display another page on submit.to this effect i have add this code below to the body of the main code but its not working.U can see where i added it at bottom … | |
call javascript function at runtime using c# | |
Hi Everyone, I have to create a dynamic HTML page that actually contains two separate HTML forms.Can anyone tell me how can I create two forms in a single HTML page. Thanks. ![]() | |
Write the ideal weight calculator so that height in inches is entered by using a slider. Use the approximate formula: W = H2 / 30 , for female W = H2 / 28 , for male where W is the ideal weight in pounds, H is the height in inches … | |
I have just used facebox in my development and it works well in FF and Safari but it doesn't work in IE. This is site I got it from [url]http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm[/url] I site I am working on is [url]http://www.bayglassinc.com[/url] Any suggestions | |
Hi friends, I have prblem that I need to view tab #2 when loading the index page, here is part of the index, it goes to tab1 as per the javascript function below (.tab_content:first).show, I tried (.tab_content:second).show but it did not work! Also I was unable to activiate first class.. … | |
Hi In my web page i am using tweetmeme button java script code.its working fine.When i was trying to put js code inside ajax content,and click the ajax callback button the entire page shows blank page.I thought the reason for this is java script using window.location.href.But i am not sure … | |
Hello I need to build an interactive shopping page for a client. Now, what I need is an ajax/javascript coding.. What I need is similar to [url]http://www.switchflops.com/cart/home.php?ctype=ballet[/url] When you click a shoe image thumbnail, an image of the shoe will appear, and then when on the accessory thumbnail, the shoe … | |
Hi, im trying to make a quiz in which we can alternate b/w 2 questions for now....The thing im trying to do is that suppose we're on question 1, we answer and proceed to question 2, when i come back to question 1, that answer should be visible in the … | |
when i am running this every page is taking the default fist value I have seven tab each tab having links now I want to highlight specific tab for which the link has been chosen but script is not working plz help here is the script <script type="text/javascript"> /*********************************************** * … | |
Hi folks, please help. My php script combine different fetch records and I use the jQuery pagination as the kind of menu. (jPagine from [URL="http://www.phpixel.fr/jpagine/"]http://www.phpixel.fr/jpagine/[/URL] I need change page numbers to words. I know the total number of pages. I tried use array in javascript but without success ... Many … | |
can someone help me setting up a log in form that can be found here in dani.. whenever you clicked the login link a box will appear wherein in thix box you can input your username and password? | |
So, I am new here and have a few questions about using the "this" keyword in Javascript. I am new to javascript but have much experience with C++. First question, is the "this" keyword just like using self? Secondly, if it is like self, and I use it in say … ![]() | |
ok, the link to site [url]http://www.hypn0ticproductionz.com/hptestsite[/url] if you click on the buttons to the side and then click on the bottom one again. it doesn't take it back to the original spot if you take a look at it you will see what i mean what is in RED is … | |
Pressing the enter key of the following page (created by JSP) submit page more than once. Both alert popup boxes appear as expected: alert('i ' + i + ' elem[i].checked ' + elem[i].checked); alert('alarmgroup ' + alarmgroup + ' rowsPerPage ' + rowsPerPage); appear. However, then this alert appear again, … | |
Hey Everyone, I have a blog that has three content/picture boxes on each page at the top. Below these boxes is the actual text content. Well what I want to do is create a script that will scroll smoothly down just right after those three boxes. This may sound confusing … | |
I have some ad code in a smarty .tpl file that I want to refresh every 10 seconds so it will load a new ad. My ads are getting plenty of views but I want people to multilple ads in one page view instead of when the whole page is … | |
I have created a script that will send form data via XMLHTTP using POST and then update a div with the results. This is working fine as the correct results are displaying in the table, however I am having a few issues with launching some JQuery effects. The problem I … | |
Dear all, i have checkbox ex: [CODE] <?PHP $price_1 = $100 $price_2 = $10 ?> <input type=checkbox name=products[] value=id_1> buy host <input type=checkbox name=products[] value=id_2> buy domain blah blah.... [/CODE] now i want added the javascript when check box someone show the price in text input ex: [CODE]<input type=checkbox name=products[] … ![]() | |
Hi, In my aspx page I have a gridview inside a panel as below <asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Height="781px" Width="1250px"> <asp:GridView ID="gvCashFlowDtls" AutoGenerateColumns="False" runat="server" Font-Size="Small" DataKeyNames="UID" Width="98%" onrowdatabound="gvCashFlowDtls_RowDataBound"> <HeaderStyle CssClass="GVFixedHeader" /> <Columns> . . . . . . . . . </Columns> </asp:GridView> </asp:Panel> This is the style I used … | |
hello all, i have this code [CODE]<script type="text/JavaScript"> function checkbox_click (number) { alert("number is" + number); } </script>[/CODE] [CODE]echo "<input type=\"checkbox\" name=\"boxname\" " value=\"5\" onClick=\"checkbox_click('3');\" /> \n"; [/CODE] i want add more code in javascript when is check show me in input text the number and when i check mutlti … ![]() | |
Hi All, I'm developing a Calendar project . I have all the concepts and framework with me upto my knowledge. I need to show the events on a particular day which i will fetch it from mysql values by PHP. Forgive me if im not posting in a professional way. … | |
My javascript function setHw is not called by pressing the return key in all of the following pages. Please help. [CODE]<div id="rowPerPageDiv"> <form name="tagform" action="Hw.htm" method="post"> <input type="hidden" name="currPage" value="0"/> Rows Per Page<input type="text" name="rowsPerPage" id="rowsPerPage" value="20" onsubmit="return setHw()"/> <input type="button" value="Apply" onClick="setHw()"><br> </form> </div>[/CODE] [CODE]<div id="rowPerPageDiv"> <form name="tagform"> <input … ![]() | |
I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } window.onload = function(){ try{ throw new MyError("Test Message"); } catch(e) { alert(e.name + ": " + e.message); } } [/CODE] … | |
I have an image rotator that uses nested intervals. The outer one switches the images, and the inner one preforms the fade. The problem is is that the display is not updated during the interval function, and so, the fade is not displayed; the new image just appears- no fade. … | |
Hi I'm new to Javascript and trying to get a layer div to display next to the mouse cursor. My code works great in IE and Chrome browsers but won't work in Firefox. If I remove the part bewteen the asterisks which gets the cursor position it works fine, but … | |
While cleaning my computer, I notice that I have a lot of files that are marked as LOCAL file under File type. Does anyone have a clue as to how to open these? My cleaning software is flagging these files as files that are junk files that need to be … | |
![]() | Hi again, I'm trying to load a text file into a variable and I know of the jquery load [CODE] $("div").load("file.txt"); [/CODE] but I want to be able to load it into a var, does anyone know how to do this? Thanks in advance. ![]() |
Howdy, First off, I should say that I am jumping on posting this issue much quicker than I normally would - but I'm not really in a patient mood now, and I'm far from being a fan of anything the W3 has done. Anyhow, I am in the process of … | |
Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the … | |
Having a problem that I can't seem to find a solution for. I am using a picture as a button for my site and when you click the picture it brings you to the main page of the website. My problem is that I want the button to make a … | |
Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the … ![]() | |
I wrote this code because I wanted the members of my volunteer organization go have a place they could easily get the most current list of email addresses to send a message. This code reads the names and addresses from the database, and creates a comma delimited list of addresses … | |
I'm a little out of my depth in server-side scripting, so I have to ask for some help here. I had some great help yesterday getting a 'select-all' checkbox script working, but have run up against a wall on the next step. Here's what I want to do, it relates … | |
I have written code for adding and removing dynamic rows.i am using same file for both ADD and MODIFY operations.this page is working for ADD operation. lets say for MODIFY operation one employee has added 3 rows and i need to display those rows and user can edit thoese rows … | |
hi, i need load a url in a div i have found many samples that work in that way, the problem is that i need javascript working in the destination link and for some reason the javascript dont work in the div that i load. there is any way to … | |
Hi, I would like to pass data to dialog box where the page in background is faded out. A good example is when I click 'LOG IN' on DANIWEB, I get a dialog box with username and password fields and the rest of the screen is in gray. Can someone … | |
<HTML> <HEAD> <TITLE> MEA </TITLE> <link rel="stylesheet" type="text/css" href="test2.css" /> <style> .suckerdiv ul{ margin: 0; padding: 0; list-style-type: none; width: 160px; /* Width of Menu Items */ border-bottom: 1px solid #ccc; } .suckerdiv ul li{ position: relative; } /*Sub level menu items */ .suckerdiv ul li ul{ position: absolute; width: … | |
I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } body.onload = function(){ try{ er = new MyError("Test Message") throw er(); } catch(e) { alert(e.name + ": " + e.message); … | |
[I][B]please,help me i want to convert date(string) to date (date time), this date i make setting for day with one (constant)[/B][/I] [I][B]to use it in database i write in html [/B][/I] <html> <head> <SCRIPT type="text/javascript"> function startDate() { var d=new Date() var y=d.getYear() var m=d.getMonth()+1 var day=1 var date=m+"/"+day+"/"+y document.write("date … | |
Hi, I'm trying to change a background image used within a list <li>, yet have only been able to get this to work in IE and not Firefox. Please tell me what is wrong with this code: (Note: I have tried using style.backgroundImage yet that did not work in IE … | |
hi all, i am having a php page where we can upload and download files.Those files which are uploaded will be displayed in a table on the same page,for that i need to refresh page.So i used [CODE]<meta http-equiv="refresh" content="3">[/CODE] but it is refreshing for every 3 seconds. That causes … | |
Hi, I am new to ajax, but i want to learn cause it is used in our project.. So, here is my query, i am using .net 3.5 framework i've one dropdownlist and textbox controls in aspx page for dropdown: 1,2,3,4 (are the values in column1 in database table that … | |
Using javascript, I want generate buttons and textboxes dynamically depending on selection from dropdown. Use asp.net with c# languasge. I will try using above code.But not solved the purpose.Please suggest.[code]<head runat="server"> <title>Dynamically add Text Box and Button</title> <script language="javascript" type="text/javascript"> function add(type) { for(i=0;i<10;i++) { var element=document.createElement("input"); element.setAttribute("type", type); element.setAttribute("value", … | |
I'm pulling my hair out trying to find a checkbox check-all toggle script that will pass an array of selected to my server side PHP script. I really want a master checkbox that serves as a select-all/deselect-all control. I've looked at countless examples online, and the closest I can find … | |
I want this form as lightbox form. Is it possible. [CODE]<form action="lims_updated_north.php" method="post"> <table class="mytable" align="center"> <tr> <td>Code</td> <td> <input type="text" name="al" id="al" value="<?php echo $al; ?>" /> </td> <td>Owner Name</td> <td> <input type="text" name="cd" id="cd" value="<?php echo $cd; ?>" /> </td></tr> <tr> <td>Mobile</td> <td> <input type="text" name="nid" id="nid" value="<?php … | |
Write a program that creates a text file that contains a power of two table in HTML format. The file could be called "twoPowerTable.html". When it is viewed with a browser you will see something like: Power of 2 Value 0 1 1 2 2 4 3 8 4 16 … ![]() |
The End.