15,127 Topics

Member Avatar for
Member Avatar for team_ferrari22

Hi, In Google Chrome the [COLOR="Green"]'chrome.tabs.captureVisibleTab(integer windowId, function callback)' [/COLOR] method will return a data URL of the JPEG encoding of the visible area of the captured tab. We want to save that content as image to hard disk without opening/passing the contents into new html page. Does anybody know …

0
68
Member Avatar for Rec3000

Hi all. I'm trying to implement a rotating image system written in Javascript into a PHP website. The PHP page and the Javascript both work fine independently, but integrating the JS is proving tough and giving me errors. Here is the top part of the PHP page: [CODE]<? include ("./application.php"); …

Member Avatar for Rec3000
0
141
Member Avatar for sbedaniweb

How do I associate a button with a function andn still have it display text, click to calculate,and start a function in JavaScript

Member Avatar for d5e5
0
72
Member Avatar for phuong_bg

I really like the drag-drop box from bbc.co.uk, but I don't know how to do it. Can anybody help me to create a page like that?

Member Avatar for harrierdh
0
78
Member Avatar for LloydFarrell

Hi all, I am trying to rotate adds that are from tradedoubler !! I have created a mysql db as follows id,add,link,title and i can succesfully connect via a php include and rotate my query to show a different add each time the page loads [code] $sql = mysql_query("SELECT * …

Member Avatar for LloydFarrell
0
225
Member Avatar for venus_me11

i really need help.. i want to have a realistic bus seating reservation like in some airline reservation we have today... not just like using ordinary tables with rows and columns... i dont know how and where to start.. please help..

Member Avatar for Graphix
0
80
Member Avatar for lifeworks

Hi Simple problem. Ive designed a calendar for booking our boardroom - and I want it to refresh live - so using a timer and an ajax call. Thing is, if you select a new day (also using an ajax call), when it refreshes it needs to refresh with the …

0
75
Member Avatar for feoperro

Hi, I have pasted my code below, please paste it into a JSP and tell me why it gives the error "Unterminated String Constant" [CODE] <html> <head> <title>Debugging</title> <script language="javascript"> function changeOn(object, objectId) { alert('in function'); if (object == 'bookingsButton') { alert('first if'); document.getElementById(objectId).src = 'Images/BookingsOn.png'; } else if (object …

Member Avatar for feoperro
0
201
Member Avatar for venus_me11

I want to have this kind of look [url]http://kleankanteen.com/faqs/faqs.html[/url] when i click the (+) button, the solution/answer will appear and when i click the (-) button, the solution/answer will disappear here is the sample that i want please help.. i dont know if this is javascrip, ajax or something...

Member Avatar for venus_me11
0
86
Member Avatar for smartness

Is it possible to Copy data from a <input> box the the main windows (the input is opened in a pop-up). I've seen date-time pickers can do that, but can't find the function!

Member Avatar for smartness
0
164
Member Avatar for sandipan.rcciit

hi frnd, i have a html form with some text fields and i have a check box that when i click on it the data form 1st text box come to the next one. its working fine when i write the text in text box. but if i use php …

0
72
Member Avatar for julzk

Hi, I have the some php/mysql queries that pull data from my database and then echo out json_encode($rows);. In turn I display the data in my divs from JSON array's. My query is, I am trying to work out how to incorporate the an auto refresh on each of the …

0
60
Member Avatar for team_ferrari22

Hi, We are developing a Google Chrome Extension to capture whole web page as image. Most of the available Extensions will open a tab/window on the click of a button,where they are showing the captured web page as image(in new html page).And are telling to right click on the image …

0
73
Member Avatar for feoperro

Hi, I was wondering if it's possible to vertically align a table, using the page as reference to alignment. I don't want to valign the content INSIDE the table, but align the table itself so that it is always situated in the middle (vertically) of the page. Thanks, -Ashton.

0
118
Member Avatar for hajjo

I want to resize a page dynamically so that it removes the scrolls i want to resize both heights and widths.. I want to bring the size of heights and widths of the scrollls..and resize based on it making overflow:hidden wont solve it.. because it will remove scrolls but wont …

Member Avatar for hajjo
0
61
Member Avatar for JerieLsky

Hi.. I'm trying to study jQuery and I've got a question in some parts of a code.. Here is the code.. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="stylesheet" herf=".css" type="text/css"></link> <script src="jquery.js" type="text/javascript"></script> <script src=".js" type="text/javascript"></script> </head> <body> <div id="switcher"> <div …

Member Avatar for pritaeas
0
109
Member Avatar for ady_1

Hi, I am using Jquery and the tablesorter plugin to sort a table of information. Within the table i have a column of checkboxes. A user can check the boxes and press the submit button which will $_POST the checked boxes onto the next page. Everything works if i dont …

Member Avatar for pritaeas
0
40
Member Avatar for emhmk1

I have a ajax script below which should get the info from the database with the option selected however when i select a name another select menu appears with the same details in. [CODE]<script language="JavaScript" type="text/javascript"> function display_data(id) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Your browser does not support AJAX!"); …

0
59
Member Avatar for cjay175

Hey, I have, what I think is an easy situation to solve. I am trying to have variables dynamically written to html depending whether a checkbox is ticked. This is what I have right now - if someone might also know the proper way to write this it would be …

Member Avatar for cjay175
0
96
Member Avatar for thebluestar

[CODE=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> function sendto() { var Lname = document.myform.last.value; var Fname = document.myform.first.value; document.write("Hello!," + " " + Fname + Lname); var choice = confirm("Your name is true? OR press Cancel …

0
58
Member Avatar for chevechiva

Hi again chaps, here I come with one very common problem which I haven't been able to find a proper solution. Please take in consideration that I've made my part of research. Here's the thing; I am building a website with a very plain main page. It displays some text …

Member Avatar for chevechiva
0
161
Member Avatar for Azzyh

Hi. Firstly i would like to say hello to everyone on Daniweb.com, im new here. I am using jQuery and AJAX. And i dont know what possible could be wrong with this i made. The script i made, should insert data into database through a form. Let me show you …

0
43
Member Avatar for arunss

Am designing a web page for mobile browsers. I have a div (having id 'wrap') which is 320px width and margin:0 auto. My all contents including header is within this wrap div. When I view it on my desktop browser it is positioning in center with a width of 320px. …

0
70
Member Avatar for MJ Pieterse

Hi, not sure if i'm posting this in the right category... i'm not sure if there is a tutorial or anything like this that exists because i've been on google for the past two weeks trying to find a tutorial that will allow me to build my own thing like …

0
69
Member Avatar for sonu

i want to display images based on the text clicked from the list on my webpage, am unable to decide which option to choose for this.. pl help,thanks

0
45
Member Avatar for drabsch

i have a video player and i need to detect when the scrubber is more then 20.6% across this is the script i got so far [CODE] function ad() { if (document.getElementById('scrubber').style.left > "20.6%") { document.getElementById('ad').style.display = 'block' }else{ setTimeout(ad(),1000); } } [/CODE] this is the scrubber and the ad …

0
115
Member Avatar for xuexue

hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it

Member Avatar for xuexue
0
604
Member Avatar for claudiu_is

Hi, I need help I have a form with an input field [B]addEdit[/B], after pressing a submit button I need to read the value from [B]addEdit[/B] and sent it to db. The problem is [COLOR="Red"]no value is sent through $_POST['addEdit'][/COLOR] . Why ? [CODE=html]<form name='frm' method='POST' action=''> <table cellpadding="0" cellspacing="0" …

Member Avatar for JRM
0
142
Member Avatar for MDGM

Hi all, Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How …

Member Avatar for Pharoah
0
115
Member Avatar for girl.java

hi everyone!!! how are you? i'm trying to make some game using while loop this is my code but, Unfortunately it doesn't work :( please help me [CODE]<html> <SCRIPT LANGUAGE='javaScript'> var puzzle=rabbit; var input; var i=0; input=window.prompt('White and fast with four legs ??guess the answer',' '); while(puzzle != input){ alert('hehe …

Member Avatar for girl.java
0
86

The End.