15,700 Topics

Member Avatar for
Member Avatar for design.eng

I having troublw with uploading images, this is the script that I use along with the function of the process and the display page of the product! [CODE] function copyImage($srcFile, $destFile, $w, $h, $quality = 75) { $tmpSrc = pathinfo(strtolower($srcFile)); $tmpDest = pathinfo(strtolower($destFile)); $size = getimagesize($srcFile); if ($tmpDest['extension'] == "gif" …

0
89
Member Avatar for papanyquiL

Hi, I have a navigation bar with images as the buttons with no text on them. I'm trying to make a simple slide down menu on hover so people know which pages those images will direct them to: eg 'home', 'about', etc... However, I can't seem to get it to …

0
91
Member Avatar for reececropley

Title doesn't really give this thread justice ... I have a content div with an image and text included into it. This same div class is being used multiple times. What I want is to be able to click the image, and have the <p> in that div toggle to …

Member Avatar for reececropley
0
345
Member Avatar for JameB

I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, …

Member Avatar for JJenZz
0
330
Member Avatar for manisvembu

Hi ... I Need to work with more AJAX Content, So i want a JS Function with Arguments like URL(the url to Ping), Parameters to Send , ctype(Content Type XML,JSON or TEXT). All i need is when i Call the Function with these Arguments , the Function should return the …

Member Avatar for manisvembu
0
118
Member Avatar for jrock2004

Ok so I am trying to setup on my site to have 6 of my recent tweets. I am trying to use the .getJSON method and it is just not working. [CODE] $.getJSON("http://api.twitter.com/1/statuses/user_timeline/jrock2004.json", function(data) { $.each(data, function(){ $('<div></div>') .hide() .append('<span>' + this.text + '</span>') .appendTo('#tweets') .fadeIn(); }); }); [/CODE] Any …

Member Avatar for JJenZz
0
103
Member Avatar for phphit

For some reason, Javascript I am trying to execute with php is not working. Below is my code. [CODE] <script type="text/javascript"> function GetIst() { var d = new Date() var gmtHours = -d.getTimezoneOffset(); document.write(+ gmtHours); } </script> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for vibhaJ
0
753
Member Avatar for jeffreyjs

I am currently trying to store location data into a database and when i display it on a website, the location data is hyperlinked and when i click on it, it will act as a search query to display the location on Google Maps in a iframe. Does anyone know …

Member Avatar for jeffreyjs
0
241
Member Avatar for minstantmoney

Hi Every one, I have just now uploaded a new site which is in php and uses RSS feeds with include file.In my code editor the pages are displayed perfectly but on my server it denotes xml error and no RSS feeds are displayed.I have tried my best to find …

0
62
Member Avatar for sskarth

Hi, I have a javascript array that contains only integers.I need to pass this array via AJAX as a variable. How do I convert a javascript array to a variable so that I can pass it via AJAX. On the receiving php page how do I convert back the var …

Member Avatar for scrappedcola
0
147
Member Avatar for readbanana

I have a textbox in a column of a gridview. Onfocus of the textbox, css implements a background color change. Also, for the edges of the textbox (to be rounded - look nice) I have two divs surrounding my textbox. Onfocus I want these divs to be visible and onblur …

Member Avatar for macgurl70
-1
112
Member Avatar for RGStrat

Hello, I was wondering how I could dynamically generate an image via Java/Javascript. Here is what I need: There will be a tiny sprite-like image in the middle. What I want is to have a partial circle around the sprite appear. It will have a drop-down with 3 options, each …

Member Avatar for RGStrat
0
114
Member Avatar for hindu times

Hi there, Im working on this page - [URL="http://www.rjt-online.com/photos_titletest.php"]http://www.rjt-online.com/photos_titletest.php[/URL] When you click the Filter By buttons it alters the content of the iframe below it. This works fine in ALL browsers. However, when you click the browser "back" button it should return to the previous clicked Filter By button (and …

Member Avatar for hindu times
0
886
Member Avatar for chicopeich

Hello i have a stupid problem but dont get to resolve :S i have to put a javascript between labels [CODE]<head></head>[/CODE] inside a part of my web [URL="http://www.lupok.com/veocine"]veocine[/URL] but i dont want the javascript is in all the site. Do you know any way to use different headers in wordpress …

Member Avatar for fxm
0
52
Member Avatar for thenanox

Hello everybody: This is my first thread in here. I readed a lot of good problems and solutions in this webpage. Right now im having troubles with one form submit in IE. Here's the thing. I'm trying to generate a PDF in PHP, i'm using mPDF to show the html …

Member Avatar for thenanox
0
384
Member Avatar for hindu times

Hi there, I'm new to this forum and am trying to find answers to a few issues I've been having. I'm building a website for my music (I'm a novice with web design so bear with me) and I'm having trouble with this page - [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL] As you can see, …

Member Avatar for hindu times
0
295
Member Avatar for baudday

Hi, I need to do the exact same thing this website <http://abtees1.com/> does when you mouseover one of their shirts. I have absolutely no idea how to do this and I can't seem to find anything on the internet quite like it. Any help is greatly appreciated. Thanks!

Member Avatar for Jayavardhan
0
107
Member Avatar for Mean Machine

Does anyone know if there are any ajax functions that would allow me to pull certain content from one page and display on another in a named <div>? I currently have some code that pulls all the content and works very well. I am looking to enhance this to say …

Member Avatar for ~s.o.s~
0
138
Member Avatar for mapman146

I am currently Building a sort of portfolio site. I uses a Lightbox to display content, which is this first script. <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js'></script> And a scroll to function from the jquery library below. <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script> Independently the scrips work flawlessly, but once I incorporate both only one of …

Member Avatar for mapman146
0
81
Member Avatar for alexgv14

I am looking for something that creates the similar effect that this website does. Does anybody have any ideas? Anybody seen any tutorials or plug ins for it in jquery? Thanks

Member Avatar for ppetree
0
103
Member Avatar for Anujay

Hi, I created one Dropdown menu like --Jump To--- . a)google b)Daniweb When i click on the Jump To menu it displys two or more options like google or daniweb like above. When i click on the google it must call to hyper link and displays google website and daniweb …

Member Avatar for toydiaz
2
174
Member Avatar for JameB

I've implemented changing src of an image using javascript but I don't want any javascript in my website now. So I need help to do that in PHP! :) What am I doing: In the main index.php file, [code=xhtml] <body onload="load_images();"> [/code] Then I include a random file [code=php] include("content_to_display.php"); …

Member Avatar for JameB
0
880
Member Avatar for EvolutionFallen

Hi, I'm trying to make a link that changes my web page into a printable format and back: [code=HTML]<a id="print" href="#" title="Print map">Printable version</a>[/code] The switch to printable format works fine: [code=JavaScript] $('#print').click(function() { $('img').attr('src', newsrc); $(this).html('Screen version'); $(this).attr('id', 'screen'); return false; }); [/code] But going back, it doesn't work …

Member Avatar for EvolutionFallen
0
96
Member Avatar for ultimatebuster

I have an object: [CODE] function cat(){ this.timesSaid = 0 this.sayMeow = function(){ setTimeout(this.meow, 1000) } this.meow = function(){ this.timesSaid++; alert("Meow!") } } [/CODE] However, I keep getting this.timesSaid as undefined. I assume it has to do with me calling it via setTimeout. How do i work around this problem?

0
66
Member Avatar for palcham

Hi I cann't get count the selected list box items using javascript so you please help me. if you know means please send to me Advance thanks

Member Avatar for taur
0
226
Member Avatar for _mike_

Hi, i'm trying to achieve the exact same effect as the 4 bottom tabs of this page : [url]http://uk.virginmoney.com/virgin/[/url] Most Jquery I have seen 'pushes' the content above or below it up or down the page as it reveals the hidden content, the above example reveals the content over the …

Member Avatar for pritaeas
0
187
Member Avatar for readbanana

I have a column in my gridview that loads images from a database. Right now, I have the image in the column and when you have your mouse over the image, a div with a larger image pops up next to it. What I want to do is have an …

Member Avatar for peter_budo
-1
124
Member Avatar for Smudly

I'm creating a page that calculates a number depending on what value is inputted into a text field. I need to create some javascript that updates this new calculated value and outputs it next to the input field. Anytime the user changes the number, it recalculates the value. My calculation …

0
74
Member Avatar for thom22

Hi, i have been struggling for a while now trying to finish this, i am new to a lot of this and although i have had some tips i think i am getting myself more lost. So i have stripped the code to a point where it almost works. DEMO …

0
95
Member Avatar for jaycastr

Hello All, I am Writing a code that adds a row of cell(with inputs in them) to the table. But I want the user to complete each cell before adding a new row. I was attempting you use a for statement to go through each of the cells to check …

0
62
Member Avatar for jaycastr

Hello All, I have a simple question How do i get a variable from one function into another function. I am new to javascript. Here is my code[CODE] function timestart(that) { var x = new Date(); that.value = x; } function timeend(that) { var y = new Date() that.value = …

Member Avatar for jaycastr
0
28K
Member Avatar for nodoso

Hello everybody, I have some trouble with the google maps api. I want to add markers from a xml file to my map but it seems that the function is not parsing my xml file and I am clueless. Any ideas here is my code: [code] <!DOCTYPE html> <html> <head> …

Member Avatar for SolidSolutions
0
948
Member Avatar for yesiamchamp

Hi, I want to implement the layout, which have been implemented by a developer on myspace. You can have a look at the panel by visiting this link -> [URL="http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=158486"]Myspace[/URL] I want to implement it in jquery and one more thing, the panel should load after the page has been …

Member Avatar for scrappedcola
0
88
Member Avatar for toydiaz

hi, i have one database employer, where i m gone found datas, so i want one script in javascript and php, when i clic in name of employer list then show me all information, like number, photo... that belongs to folowing employer. please help me. i uprociate any help.:'(

Member Avatar for Jayavardhan
0
137
Member Avatar for Rameshkeerthi

Hi All, I have a problem in one coding part that was " I want to display one prompt box. When i click on the particular prompt box then it prompts for your name. When you given a name for example Mother, it must display a message like "Greeting mother" …

Member Avatar for Rameshkeerthi
0
111
Member Avatar for Squit

hello i have this function to check all the checkboxes in the form. function msgSCheck(){ chk = document.msgFList.msgCList; if(document.msgFList.msgCheckCtrl.checked==true){ for (i = 0; i < chk.length; i++) chk[i].checked = true ; }else{ for (i = 0; i < chk.length; i++) chk[i].checked = false ; } } and input checkboxes like …

Member Avatar for rajarajan2017
0
98
Member Avatar for donnyv

Hello, I am trying to insert an html document into a modal window based on the results of a database query using plone/tal and jquery. What I need is for the "href records/rpc*_url" to be a link to the html document of the same name as the query result. i.e. …

Member Avatar for rajarajan2017
0
210
Member Avatar for Chokladkakan

I am new to Daniweb, but I have browsed the forum here for a while and it has often solved problems of mine, so now that I encountered a pickle which I cannot seem to solve in a satisfactory way using only googling, I'm asking for some hands on help: …

Member Avatar for Chokladkakan
0
136
Member Avatar for srdva59

h, i have this for call the hs.expand using a link: [code=html]<a onclick="return hs.htmlExpand(this, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, objectHeight: 400} )" class="highslide"href="link"><call </a>[/code] that work fine, but now i want call the same function using a function like this: [code=JavaScript]hs.htmlExpand(null, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, …

Member Avatar for Pedro José
0
773
Member Avatar for toydiaz

hi, i need validate dinamic table javascript before i insert data do db, i m new here. please help me. here is 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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> </script> <script type="text/javascript"> /*<![CDATA[*/ function addRow() { var …

Member Avatar for toydiaz
0
99
Member Avatar for jaycastr

Hello All, This is my first post on here. I am new to javascript and I have a problem. how can i 1. Have a button that adds a new row of cells to a table 2. In these cells there are input boxes/check boxes/dropdown list/ radioboxes and textarea. 3. …

Member Avatar for jaycastr
0
143
Member Avatar for jaswinder_singh

hii frnds i hav creates a txt file in server ,i want to open it in notepad of client machine !!can we?? i think it can be passible wit an ative x but i dont know how! plzz help me :(

Member Avatar for rch1231
0
112
Member Avatar for canterorist

hi! i only want to know how to get the value of the array in javascript using class? [CODE] <div class='view'>1</div> <div class='view'>2</div> <div class='view'>3</div> <div class='view'>4</div> [/CODE]

Member Avatar for fxm
0
99
Member Avatar for _mike_

Hi, i'm trying to achieve the exact same effect as the 4 bottom tabs of this page : [url]http://uk.virginmoney.com/virgin/[/url] Most Jquery I have seen 'pushes' the content above or below it up or down the page as it reveals the hidden content, the above example reveals the content over the …

Member Avatar for Jayavardhan
0
195
Member Avatar for _mike_

Hi, i'm trying to achieve the exact same effect as the 4 bottom tabs of this page : [url]http://uk.virginmoney.com/virgin/[/url] Most Jquery I have seen 'pushes' the content above or below it up or down the page as it reveals the hidden content, the above example reveals the content over the …

Member Avatar for almostbob
0
220
Member Avatar for Charles1718

[CODE]if(response==="success"){ $('<p></p>&nbsp;|').appendTo('form textarea').html(''+file); } else{ $(''); }[/CODE] Hi!, I'm trying and playing arround with the .appendTo, to specify only on one text area, rather than .appendTo to every text area, is there any way to do that? or it is not possible? i try with the "div" and "id" "p" …

Member Avatar for Jayavardhan
0
134
Member Avatar for pbcomput

hi. i want to check expire date with mysql query between start date and enddate. if the end date is bigger then today's date then its good else it didnt display records. can any one please help me out. Thanks in advance. :)

Member Avatar for jhansianamaneni
0
191
Member Avatar for joncache

Hi Guys, I'm trying to do up a contact form that after a user submits the information, the drop down contact box will slide back up instead of redirecting to another page. The script works fine in Chrome and Safari, but Firefox and IE keeps redirecting to the php page. …

Member Avatar for Jayavardhan
0
109
Member Avatar for xSDMx

Hello, I'm not sure exactly how to do this, but I was wondering if someone could help me out. I have variable $z, and it sets the number of poll options (fields) available ($z was originally a database item set by the administrator). Instead of having $z set by the …

0
67
Member Avatar for sskarth

Hi, I have a small problem and have been trying to figure out a solution for this without any success days. I did search the forum but didn't find any solution. This is my situation. I am generating a chart (using an opens source chart called amCharts) that allows me …

Member Avatar for sskarth
0
234

The End.