15,127 Topics

Member Avatar for
Member Avatar for sid78669

This is what I have in a page: [CODE=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Sandbox</title> <style type="text/css"> table.twocPC { width : 612px; border-width: 1px; border-spacing: 1px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; vertical-align: middle; } table.twocPC td{ border-width: 1px; padding: 0px; border-style: solid; …

0
112
Member Avatar for MDanz

i tried this code but onmouseover it doesn't stop the the slideshow? [code] function nextslide() { // Hide current slide object = document.getElementById('slide' + current); //e.g. slide1 object.style.display = 'none'; // Show next slide, if last, loop back to front if (current == last) { current = 1; } else …

0
68
Member Avatar for Violet_82

Hi peeps, I wonder if anybody can give me a hand with this. Basically on my website [url]http://antobbo.webspace.virginmedia.com/photography/testing/gloom.htm[/url] to view a picture you need to use the left hand-side menu. Now, all good except that when you want to view any picture at the bottom of the left hadn-side nav …

Member Avatar for Violet_82
0
366
Member Avatar for Hani1991

Hello everybody. I've tried the following code in the head: [CODE] <script language="JavaScript"> var TxtArea = 0; function insert_bui( t ){ if( !TxtArea ) return; tx = document.selection.createRange( ); switch( t ){ case "B": tx.text = "-b-" + tx.text + "-/b-" ; break; case "I": tx.text = "-i-" + tx.text …

Member Avatar for Hani1991
0
109
Member Avatar for elieobeid7

I have created 2 google chrome extensions for 2 different websites that i have nothing to do with. the websites are not mine. when you click on the extensions a login screen will popup, i want the users to be able to fill their login details and login to the …

0
110
Member Avatar for clbembry

I know Jquery uses AJAX, but is there any negatives of using setInterval rather than the usual method of polling with AJAX? EDIT: :P I now realize that setInterval is not a Jquery function, but that doesn't really change the question much.

Member Avatar for stbuchok
0
54
Member Avatar for karthik_ppts
Member Avatar for IIM
0
123
Member Avatar for KarthikOnIT

Hi Friends, I have been searching for JavaScript data visualization tools. The charts like "Icicles", "TreeMaps" are the ones I was looking for. I have found few open source libraries like the [url]http://thejit.org/[/url] However, libraries which has gradient effect with better UI would server the purpose. Please suggest some better …

0
109
Member Avatar for klemme

I have this bit which I have actually only tried in Google Chrome, but it works finte there: Im using ajax to get data from the Db, when popuating one select list based on whats selected from another: But in Internet Explorer 9, it doesnt work: [CODE] // JavaScript Document …

Member Avatar for blocblue
0
197
Member Avatar for cormee

Hi I'm getting a few spammers bypassing certain form elements on my site which I attribute to them having javascript disabled. Is there any way of diplaying the <form></form> content if it's enabled and otherwise displaying a message saying "We are no longer taking registrations". I'm not too concerned about …

Member Avatar for karthik_ppts
0
168
Member Avatar for Olivis

Hi! I'm new to javascript. Just trying to write some code that combines stuff. This is the javascript. [CODE]x=z; y=new Date(); function test() { if (y<3) { z=3; } else if (y>3 && y<7) { z=7; } else if (y>7 && y<10) { z=10; } } function test2() { if(x<4) …

Member Avatar for urtrivedi
0
163
Member Avatar for Punny

I want to send my information on a database. just wondering if I could use MYSQL? If its not possible, can I use JavaScript to send it on Java and make it work on MYSQL?

Member Avatar for rv1990
0
78
Member Avatar for arsala211
Member Avatar for newbie14

Dear All, I have page here with the treeview menu [url]http://183.78.169.54/tree/1.html[/url]. Now what I want to control is that once a submenu is selected then I want it to have a different font color how to control on that. Secondly I am going to have a validation form so based …

0
53
Member Avatar for ferat_tes

Hello, I need to write an extension for Chromium Browser. First i will just write a code to change the proxy. After that i will write all the extension. But i could not use proxy API. I write this code on the background page of extension but it did not …

0
335
Member Avatar for Waynef

Hi, This piece of code works in chrome & IE but not Firefox, can anyone see why? [CODE]function openimage(a, b, c, d) { var b = document.getElementById('photo' + a).value; var c = document.getElementById('album' + a).value; var d = document.getElementById('clicks' + a).value; if (d = 1) { jQuery.facebox({ ajax: 'profile/previewphoto.inc.php?photo=' + …

Member Avatar for Waynef
0
130
Member Avatar for vizz

How to check browsers javascript and cookies are enabled or not? And How to redirect on error page for each condition separately ?

Member Avatar for IIM
0
130
Member Avatar for de1337ed

Just two questions that are completely unrelated: 1. (Tough to Explain), But how do I create relational drop down menus? Let's use careers as an example. If someone were a computer engineer. I want them to chose engineer in the first drop down. Then then the second drop down will …

0
52
Member Avatar for kukuruku

I have this problem with xsl if I entered the state and the city is working fine ,but if I miss one or the other doesnt work Thanks [CODE]<?php $city=$_GET['city']; $state=$_GET['state']; $dom = new DOMDocument; $dom->load('Sample.xml'); $xsl = new DOMDocument; $xsl->load('asn6.xsl'); $xslt = new XSLTProcessor(); $xslt->importStylesheet($xsl); if(isset($city)) $xslt->setParameter(NULL, 'city', $city); …

Member Avatar for Airshow
0
126
Member Avatar for BlueCharge

Hi thanks for reading, got the following code, was working and not it is not. I want timers for each item, timer countdown being pulled from MySQL. Thanks. [CODE] <script type="text/javascript"> <?php $selectTimers = mysql_query("SELECT * FROM auctions ORDER BY itemID DESC"); while($fetchTimers = mysql_fetch_array($selectTimers)) { $itemID = $fetchTimers['itemID']; $itemYears …

Member Avatar for Airshow
0
202
Member Avatar for k9huey

I am making what I call a PM (Preventive Maintenance) Kit list. My users will use this list to generate a printable sheet to tell me what they used out of there kit. The list includes pricing per part and I would like the list to calculate the costing as …

Member Avatar for k9huey
0
2K
Member Avatar for Awah Mohamed

hi guys i want to use php websockets... i made a web socket but it didnt work i hope you guys know some javascript couz the client page is made with javascript and html5 this is the server's code: [CODE] <?php error_reporting(-1); $host = "127.0.0.1"; $port = 8000; $socket = …

Member Avatar for Awah Mohamed
0
247
Member Avatar for Studio

I am currently working on creating a vertical scroller and have got so far but have got stuck on some of the functionality My HTML looks like this [CODE]div class="outer"> <div class="slider-content clearfix"> <ul> <li><img src="images/img1.jpg" width="200" height="200" alt="img1"></li> <li><img src="images/img2.jpg" width="210" height="200" alt="img2"></li> <li><img src="images/img3.jpg" width="220" height="210" alt="img3"></li> <li><img …

Member Avatar for Studio
0
110
Member Avatar for Hani1991

Hello every single one :) I want to introduce you how to enable Javascript in web browsers where it's disabled.. This is only a try I'm going to make... And I want someone to kindly correct me if I'm wrong, or to say I'm right if I'm so. To enable …

Member Avatar for Pro2000
0
105
Member Avatar for Ritesh_4

Hello Is there a tutorial or example which could enable me develop a flipbook similar to the one shown on this link: [url]http://www.20thingsilearned.com/en-US/home[/url] ? I've tried google, but not found anything similar, except that link itself

Member Avatar for Ritesh_4
0
144
Member Avatar for Mkaveli

Hi i was wondering if someone knows some good tutorials on creating website with Node.js, jquery, ajax and HTML. Much appreciated, Mkaveli

0
59
Member Avatar for azegurb

hi all, i have search form that retrieves data from database. and i have select options. when i choose with only [CODE]select option[/CODE] it can populate data from database. but i want to retrieve data from database with both input tag (by typing into it) and select tag it cannot …

Member Avatar for azegurb
0
191
Member Avatar for iamthwee

Hello my fellow friends. I'm in need of help. I'm just no good with Javascript. What I have is the following... [url]http://vadikom.com/demos/poshytip/#async-simple[/url] Now it works well. But you have to create a new class for EACH toolip on the page and reference it to its class id. WTF? Anyway to …

Member Avatar for Airshow
0
111
Member Avatar for aleenkhan

Hello, I am a newbie for JS. I am unable to use two javascripts on a single page. Can someone help me as its not working perfectly? Below is my HTML Code.... [CODE]<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>HTML Frames Example - Content</title> <script type="text/javascript" src="js/mootools.js"></script> …

Member Avatar for Airshow
0
87
Member Avatar for mayankbha

Hello , I have created a page where user can uplaod a file and the file is upload in a folder. Also there are two divs. In first div user can see the file he uploaded and also can delete it. In second div the user can drag file from …

0
67

The End.