15,127 Topics

Member Avatar for
Member Avatar for mr_furley

I have page1.php that has the a link to a popup. I need to send a variable to the popup window. I'm currently using this in the body: [code=php]<a href="#" onclick="actpopup(<?echo($act_id);?>)"><?echo($date);?></a>[/code] This is the function actpopup [code=php] url = "serv_act.php?act_id=act_id"; options = "height=175, width=300, location=no, scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=50"; window.open(url,name,options); [/code] But for …

Member Avatar for michealcdz
0
115
Member Avatar for samarudge

Hey, So I'm writing an application in Adobe Air (AJAX) and I've come upon a little problem. I've created a function to set a minimum size for the window [CODE]var check_size = function() { if ( window.nativeWindow.width < 690 ) { window.nativeWindow.width = 690; } if ( window.nativeWindow.height < 400 …

Member Avatar for fxm
0
242
Member Avatar for tejasluvs

Hi all, I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but …

Member Avatar for fxm
0
196
Member Avatar for eshko

Hello everyone! Does anyone of you knows a good free CKEditor + CKFinder alternative? Cheers, Eshko

Member Avatar for sunhater
0
211
Member Avatar for SerjSagan

I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked …

Member Avatar for SerjSagan
0
402
Member Avatar for businessglobal

I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] …

Member Avatar for fabio70
0
211
Member Avatar for andydeans

Hi, I was looking for a quick answer on this as i have been wondering what is the advantage of using javascript files in an includes folder rather than on page? So for example i have a javascript validation on my page, does it make a difference to the way …

Member Avatar for d5e5
0
64
Member Avatar for kds27

Does anybody know of a good script to display a .jpg in place of a .swf if Flash is disabled. Example: I have index.html as a regular Website with an embedded .swf If this is viewed on a SmartPhone, how can I have a .jpg auto load instead of Flash? …

Member Avatar for fxm
0
49
Member Avatar for Froger93

Hello Guys, Right my problem is, I am creating a slider where in which each element is slid (using animate width) into place. This is how it works, the element currently displayed is give a margin-left: of 842px (same as my slider width) and then a margin-top: of 300px (height …

Member Avatar for Froger93
0
164
Member Avatar for MDanz

i have a php code in a div. I'd like to cancel clicking on that div, until the page loads. i'm having the problem if i click on the div too fast which calls a popup div... it doesn't get the content from the php.. so it is a blank …

Member Avatar for scrappedcola
0
78
Member Avatar for fawad123

My problem is very easy. I have written the following PHP code to generate the arrays of textareas: for ($i=0; $i<length; $i++) { echo '<textarea type="text" name="username'. $i.'" cols="60" rows="4" onkeydown="check_username(this.form.username'. $i. '.value)">'. $sentences_data [$i]. '</textarea> <span id="username_label"></span><br/>'; } The Java function is function check_username(username) { if (ajax) { ajax.open('get','testuser.php?username=' …

Member Avatar for vsmash
0
155
Member Avatar for ShArKss

Hey Guys, So I'm making a webpage that has a form that is based on the selected section of the website... And I got a few questions/issues. [LIST] [*]Is it normal that I have to make a different name for a value from a section that needs a javascript (line …

Member Avatar for vsmash
0
247
Member Avatar for brenton_77

I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [url]http://www.w3schools.com/php/php_aja...p?output=print[/url] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an …

Member Avatar for vsmash
0
94
Member Avatar for bbman

Hey, I am looking to have a menu similar to the one on: [url]http://maplestory.nexon.net/[/url] I want it so that whenever any menu item is hovered, a whole menu shows. Anybody know how I would go about doing this? Thanks a lot

0
45
Member Avatar for whinkz_zl16

[quote=peter_budo;269339]another think to keep in mind, if you take that script from somebody site it may not work properly/ at all because it need some data[/quote] hi,, i'm whinkz,,hmm juz wanna ask u how to run javascript program properly?,,,,i was juz doing a school report,,, i dont have any idea …

Member Avatar for dibakar borgoha
0
133
Member Avatar for Roshan_Jain

please help@ i plugin the thuderbird to my java class and now i want to store the thunderbird send ,save ...mails to local database how i can be connect thunderbird to database for this.

0
41
Member Avatar for bapu435

i am developing a website in html in which the contactus page i have to connect to ms access database i am not able to get it ,can any one tell me how to get that one.

Member Avatar for Ezzaral
-4
7K
Member Avatar for sureshrajanmca

cannot close the page in mozilla, so i set dom.allow_scripts_to_close_windows true manually. then i used window.close() its works fine. my problem is, i want to set dom.allow_scripts_to_close_windows enable true automatically using javascript code, its possible are not?

Member Avatar for kvprajapati
0
67
Member Avatar for niths

Hi all, i am having a page wer we can see a dropdown of projects and below that list of users with check box. so wen we select a project from dropdown,the page gets refresh and the assigned users for that project wil be shown as checked. this is done …

Member Avatar for pritaeas
0
72
Member Avatar for Batoul88

Can anyone Help me ??? I need css style like in the picture bellow???? thanks alot......... [ATTACH]15283[/ATTACH]

Member Avatar for samaru
-1
108
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Member Avatar for ms_sws
0
2K
Member Avatar for tech.b

hey buddy i read this code of urs on one of the threads my concern is tht i need to to atore the data form each row in the table into an array..... or a srting..... could u please help me with this??? <script type="text/javascript"> # function showContent() { # …

Member Avatar for samaru
0
160
Member Avatar for rahul8590

I recently herd the buzz about JSON and stuff was also saw the coding style , but still i am not able to appreciate it . Well i am working in python web framework (not Django) and also using templating language. when i wrote a program to just to add …

Member Avatar for samaru
0
192
Member Avatar for smith32

hello, can u plz help me?? I can't run the javascript on Mozilla nad IE(can run on Chrome) I don't know why. I think my javascript has some problem. Here is my code ..... [CODE]<script> function check() { if(document.getElementById("name").value==""||document.getElementById("address").value==""||document.getElementById("phone").value==""||document.getElementById("email").value==""||document.getElementById("username").value==""||document.getElementById("passwd").value==""||document.getElementById("passwd2").value==""){ alert("You need to complete the form"); } else continue; } function …

Member Avatar for diafol
0
121
Member Avatar for ekseks

Here is a sample of our project which involves counting votes, the problem is that we implemented a pop-up window thus clicking a submit button to be able to vote (which is in the pop-up window) well what our problem is that we need to increment or rather add +1 …

Member Avatar for ekseks
0
148
Member Avatar for printsmarter

we've got an issue on our new test site that i'd like you to be able to solve; we have product pages; example page: [url]http://www.printsmarter.co.uk/newPrinttest/34-Brochures.html[/url] there is a selection of menus on the screen that you can change select different options to show you a price. issue is as follows; …

Member Avatar for macneato
0
202
Member Avatar for adobe71

I want to create Google Custom Search TextBox that has background image and image disappears on onmouseclick and appears back on onmouseout. What is the code behiend it.Pls write the code. [B]THANX[/B]

Member Avatar for pritaeas
0
50
Member Avatar for ekseks

Can someone give me a simple code of hovering my mouse into a picture in a html then the picture automatically has a white light fade on it thanks... I've been searching over the internet and they're just giving me a fade effect... I just wanted a simple white highlight …

Member Avatar for ekseks
0
69
Member Avatar for wemustdesign

I have a form, I have successfully passed the username from jquery [CODE] $.post("http://www.photographycourses.co.uk/cpl/cplfunctions.php?action=checkUsername", { username: username} ); [/CODE] to php script. The php script checks the database to see if the username exists: [CODE] if ($num >=1){ echo= 0; }else{ echo= 1; } [/CODE] How do I pass the …

Member Avatar for rajarajan2017
0
84
Member Avatar for zaki_bwz

Hello. i have a trouble with my php and javascript code. I want to get database from form that use javascript that use onSubmit as form validator. It work when i refer to another page as addDb.php then add to database. I want to stay on current page then php …

Member Avatar for blackhole
0
211

The End.