15,127 Topics

Member Avatar for
Member Avatar for Remulon

Hi, I am writing a DHTML application which uses AJAX to show dialogue windows etc.. (all the bells and whistles). When I display a DHTML dialogue in the foreground, I use JS to create a div which is a "layer" in between the foreground and the background which essentially "darkens" …

Member Avatar for Remulon
0
130
Member Avatar for khr2003

Hi I am trying to use onclick to add text to a textarea, the function I am using is: [CODE]function addtxt(input,add) { var obj=document.getElementById(input) var txt=document.createTextNode(add) obj.appendChild(txt) }[/CODE] and the line that I use to call the function - through php- is: [CODE]<a onclick=\"addtxt('post','$code');\"> <img src=\"smiles/$smile\" alt=\"$smilename\" border=\"0\" style=\"cursor: pointer;\"></a>[/CODE] …

Member Avatar for khr2003
0
164
Member Avatar for UzuNarU

Hi I am working on a website, that has 2 JavaScript elements. I have a post in another thread about loading content into a HTML DIV, I have that partially working. Doesn't work from a link yet. Does work on initial page load. Ok my problem is: I am using …

Member Avatar for Airshow
0
147
Member Avatar for CasTex

Hello, I have a script that like; [code=JavaScript]<script language="JavaScript"> document.write('<input border=0 type=button value='' '); document.write(' onClick = "location.replace('); document.write(' document.stats.site.value + '/');"'); document.write(' value="Search">'); document.write('</input>'); </script>[/code] Works nice. It directs the user to the location that written in the text input. I mean user write a site and the script …

Member Avatar for CasTex
0
1K
Member Avatar for happylondoner

Hi there I need to create three dropdown boxes (box 1:colour, box 2: price, box 3:brand) and when the user presses "GO" they are returned with the correct information, pulled from corresponding fields in my MYSQL database. For example, colour: silver, price £100-£200, brand:samsung...should return 5 items on the page. …

Member Avatar for happylondoner
0
112
Member Avatar for websurfer

Hi, all: I got a form where some checbox fields will hide or show as user clicks specific choices. Problem is, if one mistakenly checks one of these checkboxes and then hides it, it still does retain the checked value, even if hidden. How can I make sure that the …

Member Avatar for websurfer
0
126
Member Avatar for rockaskane

Hi everybody! Lets see if i can explain what i am trying to achieve. i have a form to insert some products into a data base... just a normal form. The hardest part is this. i have a javascript code on a text field that launches a page in a …

Member Avatar for msvinaykumar
0
106
Member Avatar for rodmastar

I am not a java guy.. but made this code ( to open new page sized.. on another page of mine but darn i can not get it to do so on this page? Is it a DIV thing... new to these tags too/// [url]http://www.mastar.com/Presentations.html[/url] Where it say Teamviewer button …

Member Avatar for CasTex
0
158
Member Avatar for veledrom

Hi, I have 3 tables and want 3rd table to appear at the bottom of the page when it is printed off because it will be footer.How can i do it? Thanks [code] <table> <tr> <td>Table 1</td> </tr> </table> <br /> <table> <tr> <td>Table 2</td> </tr> </table> <br /> <table> …

Member Avatar for Airshow
0
114
Member Avatar for k2k

hi, thanks for ppl answered my last thread and i did get that overcome. thanksss big picture: now. last last problem, my program generates 10 random questions with random wrong answers in radio and one correct answer also in radio. when i click checkAnswer it should check the right answer …

Member Avatar for essential
0
188
Member Avatar for cjay175

Hi all, Thanks for any help anyone could give. I am using Jscrollpane to customize my scroll bars. I have the plugin working but what I am wondering is how to implement scrollBy function to scroll by paragraphs. This is what I currently have: Head section script: [CODE] <script type="text/javascript"> …

0
52
Member Avatar for ChrisJ

Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish this? It's ben suggested …

Member Avatar for abhihome
0
88
Member Avatar for CaptainColossal

Hi I have an HTML document with a table that is 3 rows of 3 cells each, that presents 9 flash presentations in those cells. I want to use a pair of radio buttons to toggle the presentations in those cells as follows. The page will load with a "jpg" …

Member Avatar for Airshow
0
133
Member Avatar for Enrico!

Hi, every one....recently i have learn how to delete rows from a table, but i was trying to do it by mean of the row id, and i could do it...so if any one have a wonderful idea..please let me know. please could you also upload the code when you …

Member Avatar for sysel
0
8K
Member Avatar for MJ Pieterse

i'm not sure if this is the correct place to post this, but i have a li menu with a sub menu that uses javascript. my normal code for a menu would be for instance: [code] function mmLoadMenus() { if (window.mm_menu_123456789_0) return; window.mm_menu_123456789_0_1 = new Menu("Tables",80,16,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#004E69","#C6282B","center","middle",3,0,1000,-5,7,true,true,true,0,true,true); [/code] the …

Member Avatar for Airshow
0
120
Member Avatar for boemboem

Hi, I'm new to Daniweb :) and I have a problem which might be not possible. I want to have a image as bookmarklet. In IE, you have to right click on the image and "save as" favorite or "save as" favorite bar item. [IMG]http://www.twiturl.nl/docu/ie.jpg[/IMG] In FF, you can drag …

Member Avatar for boemboem
0
95
Member Avatar for k2k

say i have: document.writeln("0") document.writeln("1") document.writeln("2") document.writeln("3") document.writeln("4") how i do generate them in different order each time but all of them must display? ... please help ex: .... 1 ........ 3 ...........0 ...........4 ........... 2 then another output would be: ........3 .........2 .........4. .........1 ............0 ... all random but …

Member Avatar for essential
0
133
Member Avatar for lithodora

Form Validation Script: [code]<script language="javascript"> function handler(where){ //check for unusual characters var iChars = "!@#$%^&*()+=-[]\\';,./{}|\":<>?"; var wspace = " "; for (var i = 0; i < where.value.length; i++) { if (iChars.indexOf(where.value.charAt(i)) != -1) { return false; } if (wspace.indexOf(where.value.charAt(i)) != -1) { return "nope"; } } } function emailhandler(where){ …

Member Avatar for foryounow
0
138
Member Avatar for DealthRune

I am using this thread to show an example to a website on my javascript table editer I made. To see the script in action, just put it in one of your text editers (i.e Note Pad, ect... ect...) Description: With this, you can add cells, delete cells, add rows, …

Member Avatar for DealthRune
0
141
Member Avatar for drugoholic

The code below is to validate the email field in my form, if the field left empty the javascript will alert "please fill in your email" and then it'll take you to a blank page that says "false". I don't want that to happen, I want them to re-enter their …

Member Avatar for Airshow
0
169
Member Avatar for punithapary

Hi, In website i am having popup window.Whenever refreshiung the page popup window will come Its working now and i want to move that popup window based on the mouse movement can anyone give some sample code for this thanks in advance

Member Avatar for creativeweb
0
299
Member Avatar for jonow

Is there a way to set up a system there extracts SWFs from a webpage automatically? It would be something were you have a text box and you enter the URL of a page into it. The page contains a SWF. The program goes looking in that page and finds …

Member Avatar for essential
0
123
Member Avatar for servis

i have displayed a button on a page, by which a user may report anything to admin about contents complaint. when user click on this button, it leads to a new page where in a form he fills data & send to admin. now i want when user click on …

0
59
Member Avatar for drugoholic

Hey there, I'm having a javascript problem and I can't really figure this out, some help would be greatly appreciated. I have this custom made html/javascript form that passes the submitted values to another form (iframe) found on another website. All the fields are working except the "Country" field. This …

Member Avatar for drugoholic
0
123
Member Avatar for maicod

Hello, I use javascript to play remote flv videos on my site. But I tried to play videos from youjizz(dot)com using flowplayer and also jw player. The videos are accessable and they are playing fine in FF but if I want to watch them in IE or Opera the player …

0
50
Member Avatar for jaykom

[code]$(document).ready(function() { var childrenEle; function toggleReq() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().not("div,legend").each(function () { var divEle = $("div").attr('id'); if($(this).attr('class') == 'required') { $(this).css("display","block"); } else { $(this).css("display","none"); } }); }); } function toggleAll() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().each(function () { $(this).css("display","block"); }); }); …

Member Avatar for mschroeder
0
116
Member Avatar for mehrdad39

I am a beginner (very beginner) in vbscript and am having a problem running the following script. This was a html file that I converted to vbscript. I keep getting the same error no matter what support files (recommended) I put in the same or windows directories. Would someone be …

0
59
Member Avatar for vinpkl

hi all i have two dynamic drop downs of dealer id and category id which work properly with window.location [code] var dealerid; function getList(xyz) { window.location='manage_products.php?category_id=' + xyz; } function getProducts(dealer_id) { var catid=document.form1.category.value; window.location='manage_products.php?dealer_id=' + dealer_id + "&category_id="+catid ; } [/code] but now i want to add static drop …

Member Avatar for essential
0
208
Member Avatar for tefflox

I have no experience with javascript, so I would like to know if it is possible to align a paragraph of text so it is placed in the middle of any browser window, using only html and css. Can this be done without js? If not, how much javascript will …

Member Avatar for michaeli99
0
120
Member Avatar for webCurious

Hello all! I have 3 different links on my main page (main.asp) - X,Y,Z. Link X opens x.asp , Y opens y.asp, Z opens z.asp When clicking on X, x.asp opens in a pop up. When I click again on X, the focus will come to the same pop up …

Member Avatar for essential
0
222

The End.