15,120 Topics

Member Avatar for
Member Avatar for Inny

Id like to limit the text chars shown in this script because too many chars are displayed causing overlap (see link) no idea what to do, please help? p.s I dont know js so if you could kindly be very specific, thanks. :) see it here (bottom of page 5 …

Member Avatar for stbuchok
0
331
Member Avatar for steventaal

Hello everyone, I wrote an Ajax API, and I thought that it may be of some use to you all. I will post the code and explain it here. [CODE]/* <!Tut note: do not use "var" to declare x or req. function makeReq() { target="http://yourserver.com/login.php"; data="yourdata=this&itsplace=thisstring"; req = new Request("post", …

Member Avatar for urtrivedi
0
112
Member Avatar for kwamba

I have finished desgning a website for a student exchange program. Please assist in availing the code JS code for slide shows on web background Help please It's urgent

Member Avatar for divyakrishnan
0
66
Member Avatar for Stefano Mtangoo

I have decided when I have free of free time I will be playing around small php editor. I was wondering where I can get a list of keyword for mentioned languages, preferably in csv or like format Thanks! [B]EDIT:[/B] I forgot CSS

Member Avatar for Stefano Mtangoo
0
142
Member Avatar for steventaal

Hello everyone, I wrote an Ajax API, and I thought that it may be of some use to you all. I think that it's pretty self-explanatory. Post or PM me if you all need more or need help. Peace! -Stev

0
214
Member Avatar for Xtremefaith

Ok so with the help of the Daniweb community here I've gotten better with AJAX/jQuery, enough to make a photography with it rather than flash. I'm very excited with how most of it is working but I've hit a brick wall I really need help with. [B]Outline:[/B] I have a …

Member Avatar for Xtremefaith
0
471
Member Avatar for asif49

I've put on my website a box which gets longer in height when it is clicked, I did this using the following code: [CODE] <script type="text/javascript"> var x=100; /*original height*/ function expand() { document.getElementById("move").style.height=x+'px'; /*Height from css.css in the div called "move"*/ if(x>300) { /*Desired height after expansion*/ clearTimeout(t); return; …

Member Avatar for asif49
0
97
Member Avatar for akshayphp

I want to know that "how to show hidden fields when a user selects a particular option in the html form" I want the fields to be hidden first,then when the users selects: Option A- Particulars fields which have I will create for this option must be displayed. If Option …

Member Avatar for svilla
0
173
Member Avatar for filch

Does anyone use the Maphighlight plugin by David Lynch ( [url]http://davidlynch.org/js/maphilight/docs/[/url] ). It is supposed to be able to group areas on a map so that if you role over one of the members of the group, the other members highIight. I cannot get this to work. I have tried …

0
70
Member Avatar for wilko1995

Hi, How would i go about creating a menu like the one that this website has? [URL="http://oas.com.au"]http://oas.com.au[/URL]

Member Avatar for AleMonteiro
0
87
Member Avatar for Jeroen van Zijp

Hey all, To make it more user-friendly, I decided I want to add a JS form validation to my contact form. The essence of the JS should be that it calls for a check.php?input= with the entered captcha code appended. Then the PHP script would echo "valid" or "invalid". For …

0
104
Member Avatar for Moss ali

Hi Dudes i need a javascript code for code behind using c#.When user click on delete button the popup dialog open Do you really want to delete Yes/No on Yes i want to put my Delete Method there.Pls help me.Thanks in advance.

Member Avatar for nakor77
0
223
Member Avatar for n3xtgen

I am new to AJAX and want to create something with three dropdown boxes. When a user selects the first one, the second dropdown populates with the corresponding fields, and when they select something from the second dropdown, the third populates. After selecting an option from the third dropdown I …

0
55
Member Avatar for vinothaviji

Hi..everyone, i have been designed a form then validate using php with ajax. I comple ted that php coding.But i know little bit about ajax.how to validate multiple fields in a form

Member Avatar for Taywin
-1
122
Member Avatar for Violet_82

Hi all, I am in the process of redoing my website and I have done pretty much all the html and css for it ([url]http://antobbo.webspace.virginmedia.com/photogallery/test/home.htm[/url]), so now I would like to add some javascript/jquery. This is essentially what I would like to achieve. On this page [url]http://antobbo.webspace.virginmedia.com/photogallery/test/gloom.htm[/url] I have a …

Member Avatar for Violet_82
0
935
Member Avatar for sun-tzu

[CODE] // Add to cart function $("#add-to-cart-form").submit(function(event) { /* stop form from submitting normally */ event.preventDefault(); $(".add_to_cart_message").show().html('Adding item to cart'); $.post("http://www.wghandcrafted.com/add_to_cart.php",$("#add-to-cart-form").serialize(), function(data) { $(".add_to_cart_message").html(data).delay(3000).fadeOut(); $("input.quantity").val(''); $("#cart-panel-widget").load('http://www.wghandcrafted.com/cart.php'); }); }); [/CODE] And the form: [CODE=HTML] <form id="add-to-cart-form" method="post" action="#"> <input type="hidden" name="pid" value="<?php print $P['id']; ?>" /> <div class="spacer"> <label for="qty">Quantity:</label> <input …

0
63
Member Avatar for sun-tzu

I just made this code today for a site I'm working on and figured people may try to improve it. To use: [CODE] $("#randomize").randomize(); [/CODE] [CODE=HTML] <!DOCTYPE HTML> <html> <head> <title>Random Pick Test</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js"></script> <script type="text/javascript" src="randomize.jQuery.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#randomize").randomize({ direction: 'topToBottom', evenBG: '#FFF', evenFG: '#000', …

Member Avatar for Taywin
0
700
Member Avatar for AODfan

Hello, New to JavaScript and I have an assignment where one piece of it needs to have the first name, last name, area code, and phone number when prompted by a function, once that info is had, it then needs to use the constructor function that is there to process …

Member Avatar for Taywin
0
201
Member Avatar for cjohnweb

Hey there, I'm still kinda learning JS. I can't figure this one out. I googled and discovered the issues is with placing the <!DOCTYPE html> tag at the top, but how to resolve the issue? I've a document with some Javascript and JQuery in it, it works great! I add …

Member Avatar for Taywin
0
2K
Member Avatar for deceivingrakesh

I'm having a problem with css positions !! i want the position of an image to be fixed when the user scrolls till some point and the position should be set to relative after that . Thanks in advance !

Member Avatar for Taywin
0
125
Member Avatar for lailalaila

Hi there, I'm trying to figure out how I can have a script add up the number of radio buttons selected for each category. For example, on a test, I'll have three options for each question. I want to add up how many A's are selected, how many B's are …

Member Avatar for MartinRinehart
0
120
Member Avatar for jpknoob

Hi, i am trying to make a form that when a button is clicked, a hidden div is displayed with radio buttons. i have managed to do this, however, the pagerefreshes and after a few seconds the page resets back to normal. can anyone explain what i'm doing wrong. My …

Member Avatar for gotboots
0
193
Member Avatar for deepak.marur

I'm ExtJS newbie. I need to send the contents of a ExtJS Textarea to the backend server for saving (autosave facility) as the user types in. How do I buffer the contents and push the buffer to the server after some threshold value. A code sample would greatly help me. …

Member Avatar for jogesh_p
0
324
Member Avatar for Matthew N.

Hello. I'm going to show you how to make a basic php image gallery. Firstly, create the following files [LIST] [*]index.php [*]view.php [*]/images (dir) [/LIST] Now, for the code. index.php [CODE] <?php $img = array(); $img[] = array('title'=>'img1', 'src' = 'img1.jpg'); ?> <html> <head> <title>mygallery | homepage</title> </head> <body> <h2>mygallery</h2> …

Member Avatar for Matthew N.
0
416
Member Avatar for DaSpirit

I need to update the SQL table every minute, as if typing on an online notepad, that save frequently. So of course, I have: [CODE]<textarea rows="20" cols="80" id="notepad"> <?php $con=mysql_connect("localhost","username","password"); if(!$con) { die('Could not connect: '.mysql_error()); } mysql_select_db("database", $con); $result = mysql_query("SELECT * FROM Notepad"); while($row = mysql_fetch_array($result)) { echo …

Member Avatar for pritaeas
0
120
Member Avatar for stoopkid

All I am trying to do is place the marker number in the map. I was able to do this with V2 of Google Map API, but now I have not a clue how to do it in V3. I've exhausted Googling this issue, and now come to my favorite …

Member Avatar for pritaeas
0
110
Member Avatar for adn295

I have gone through the basic techniques to implement comet server like streamhub,Maven/Jetty etc. I have following questions for that : After that I found the issues like in case of Maven/Jetty internet connection is required for downloading certain files from net.So it it possible to implement it if no …

Member Avatar for adn295
0
151
Member Avatar for jonsan32

Don't know what I'm doing wrong, but I'm positive it's me. This dropline menu works perfectly in Chrome, but completely goes to crap in every other browser (not just IE, which I'm used to). If you have any pointers, please pass them my way. I've pasted the code - in …

Member Avatar for jonsan32
0
176
Member Avatar for sanstepsan

I have included the following code in my website as a game for young kids to try and locate the erased position of a golf ball. Firefox runs the code perfectly and when the correct location is clicked the small golf ball pops up at that point. In IE however, …

Member Avatar for Taywin
0
88
Member Avatar for vasuv

Hi, I am new to HTML kind of stuff. I have some documents in my own folders for different applications. I want keep all the documents in related Hyperlink under that particular department. after creating all the hypertlinks that link link should navigate to that particular document. once it is …

Member Avatar for Taywin
0
102

The End.