14,054 Topics

Member Avatar for
Member Avatar for nyny11211

any ideas why this does not load? thanks for any assistance [CODE]<html> <head> <script type="text/javascript" src="coomang.js"></script> <title>JS COOKIE MANAGER</title> <link rel="stylesheet" type="text/css" href="coomang.css"> </link> <script type="text/javascript" > function loadcontent() { var x= "<div class="general">"; x += " <div style="width: 150px; position: fixed;">CREATE COOKIE:</div>"; x += " <div style="position: relative; left:170px">"; …

Member Avatar for almostbob
0
210
Member Avatar for bben95

Hi Does anyone know how to get this javascript code working please? [ICODE]<script language="JavaScript"> var blnSiteUp="1" var camera="Please wait for my javascript to check if the webcam is online..."; document.write (camera) function setblnsiteup() { var blnSiteUp="0"; } </script> <img id=test onerror="javascript:setblnsiteup();" style="visibility:hidden" src="http://ip.benellis.info/images/bg1.gif"> <script language="JavaScript"> document.write (blnSiteUp) </script> <script language="JavaScript"> …

Member Avatar for Airshow
0
460
Member Avatar for public-image

Hi I have a div that is hidden until a button is pressed to show it, although when the user clicks the close button or the open button the div will hide, although it will keep the users last viewed page within that div there unless they logout or reload …

0
60
Member Avatar for HelenLF

I have this piece of code in the head of my document which allows image magnification. [CODE] <script type="text/javascript"> jQuery(document).ready(function($){ $('#[COLOR="red"]image1[/COLOR]').addimagezoom({ zoomrange: [5, 5], magnifiersize: [530,300], magnifierpos: 'right', largeimage: 'images/products/large/[COLOR="red"]KALLY[/COLOR].jpg' }), $('#[COLOR="Red"]image2[/COLOR]').addimagezoom({ zoomrange: [5, 5], magnifiersize: [530,300], magnifierpos: 'right', largeimage: 'images/products/large/[COLOR="red"]EDITH[/COLOR].jpg' }), }) </script> [/CODE] At the moment it allows …

Member Avatar for @developer
0
111
Member Avatar for miganper

Hi, i have working with an aplication ... this: [url]www.plantasic.es[/url] and like you can see, by clicking in a line at the right, each one displays a different image. When the image is loaded, there's a javascript code for re-measurement, for adjusting to the available screen area. The easy implementation …

Member Avatar for miganper
0
253
Member Avatar for terrymold

Hi again I have an HTML form with three groups of inputs. These inputs are all text. Group 1 has 1 input, group 2 has one input, and group 3 has 3 inputs. What I would like to do is this... If a user inputs any data into a particular …

Member Avatar for terrymold
0
82
Member Avatar for dlannetts

hi, i want to build something, like and app, to start with i need like and endless scrolling space with NO scroll-bars, and secondly want it to scroll with my mouse, by hovering my mouse cursor to the left of the page the page would scroll to the right, im …

0
100
Member Avatar for dylank

Hey guys; I've been working on a little concept webpage, and it works great in any browser !IE. But, any IE browser will not render the middleAlign DIV's as centered in the web page (like all the other browsers do). Apart from that, and a few other little quirks, it …

Member Avatar for dylank
0
84
Member Avatar for youlichika

I tried to make a easy google news search api. I know google news api search can show max 8 items per page, and 8 pages(total 64 items). 1.How to add `image{}`(I want to show the news image), I read the document in google official website, but not understand. 2.Can …

Member Avatar for youlichika
0
207
Member Avatar for sakush100

MY JAVASCRIPT TO SUBMIT A FORM INSIDE AN IFRAME [CODE]<script> function fsubmit(g){ window.frames.[g].document.g.submit(); } </script>[/CODE] MY PHP CODE TO GENERATE HTML [CODE] echo'<a onclick="fsubmit('.$nayaid.'99999)" href="#"><img border="0" src="images/close_small.png" width="10" height="9" title="Ignore '.$fnam.' '.$lnam.'"></a></font></b></td></tr></table></td></tr></table><span style="font-size: 8pt">&nbsp;<br></span></div><div style='display:none'><iframe name="'.$nayaid.'99999" id="'.$nayaid.'99999" src="frames/ignore.php?id='.$nayaid.'" width="1" height="1"></iframe></div>' [/CODE] onclick event supplies a value in the javascript on …

0
65
Member Avatar for mhs.praveen

My Jquery function goes like this <script language="javascript" src="jquery.js"> function TestJQ() { alert("Inside a JQ Function"); } </script> I also added jquery.js file to project. When i try to call this function from Silverlight project it throws an error Failed to Invoke My Silver light code: void MainPage_Loaded(object sender, RoutedEventArgs …

Member Avatar for mhs.praveen
0
147
Member Avatar for scarcella

I have a website which dynamically gets images and then displays it but i have sub image which has to update the main image, but this main image is a lightbox which uses href link so i am wondering if someone can show me how to update this href using …

Member Avatar for Ezzaral
0
145
Member Avatar for Ruthan7

Hi All I need help in making a Drop down search box I have dropdown HTML code and also Search Box HTML code, could you please help me in making both as one I made sample code but not sure why its not working, please do the need full [CODE]<HTML><HEAD><SCRIPT …

Member Avatar for Ruthan7
0
216
Member Avatar for tcollins412

I have this script and i need some help [CODE]<script type='text/javascript'> numcount=0; t=setTimeout("test()",30000); document.getElementById("incrementBtn").disabled=false; timer_on = 1; function increasecounter() { timer_on = 1; numcount++; document.getElementById('countdiv').innerHTML=numcount; t=setTimeout("test()",30000); } function test() { if(timer_on) { timer_on=0; document.getElementById("incrementBtn").disabled="true"; document.getElementById("score").innerHTML = document.getElementById("countdiv").innerHTML; } } function reset() { timer_on = 0; numcount=0; document.getElementById("incrementBtn").disabled=false; document.getElementById("countdiv").innerHTML = 0; …

Member Avatar for @developer
0
201
Member Avatar for tcollins412

I am writing a JavaScript program that you click the mouse on a button and it shows how many times you have pressed the button. here is the JavaScript for it [CODE]<script language="javascript"> var numcount=0; function increasecounter(){ numcount++; document.getElementById('countdiv').innerHTML=numcount; } </script>[/CODE] and here is the html: [CODE]<div id='countdiv'>0</div><br/> <input type=submit …

Member Avatar for @developer
0
311
Member Avatar for athlon32

Hello Daniweb, I'm currently working on a pretty straight-forward AJAX application. In this application, I get some XML, and then parse it. An example of what I'm working with is as such: [code] <?xml version="1.0"?> <postRoot xml:lang="EN"> <post type="comment" date="January 1, 1970"> <user>athlon32</user> <content>Hello World</content> </post> </postRoot> [/code] Now, I've …

Member Avatar for @developer
0
89
Member Avatar for scarcella

I have a website which dynamically gets images and then displays it but i have sub image which has to update the main image, but this main image is a lightbox which uses href link so i am wondering if someone can show me how to update this href using …

-1
72
Member Avatar for bben95

Could somebody please help me to add a function to this script in which the image to test if the server is up has a timeout, so it shows an error message to the user instead of just loading forever. The current function of the code is: Attempt to load …

0
136
Member Avatar for logicslab

Hi pals , I am really stuck in parsing a JSON string and take it's values. I got the json string as {"user":{"id":"1","firstname":"Freelogin","created":"0000-00-00 00:00:00","lastname":"Administrator","email":"fred@websecurify.com", "usergroup_id":"1","status":"1","ip_enable":"N","priv":"0","expire":""},"data":{ "1":{"5":{"last_update":"2010-12-13 16:16:16","status":"0"},"3":{"last_update":"2010-12-13 16:41:48","status":"1"}},"2":{"6":{"last_update":"2010-12-13 16:41:48","status":"1"}}},"server_array":[{"id":"1","name":"anes.yyy.net"},{ "id":"2","name":"neseema.xxx.net"}],"service_array":[{"id":"5","name":"POP3"}, {"id":"6","name":"Cpanel"},{"id":"3","name":"SMTP"}],"sort_by":"servername", "sort_order":"ASC","pagelinks":"","totrows":"2","offset":"0","limitvalue":"10", "rows_monitor":2,"current":"monitor","uri":false} Friends How to Parse this and take the Results for further processing in javascript.... I am waiting …

Member Avatar for NightLight
0
151
Member Avatar for markiz

Inside client control I generate a button, with script to run. I want to call object's Print() method when this button is clicked, the result value must be passed to Print() as well. How can I do that? This is my object: [CODE] Type.registerNamespace("CustomControls"); CustomControls.FirstObj = function(element) { CustomControls.FirstObj.initializeBase(this, [element]); …

Member Avatar for NightLight
0
71
Member Avatar for arctushar

Hi want to add facebook like chat script in my web site. Can anybody help me. Actually I want to know how it work.

Member Avatar for NightLight
0
51
Member Avatar for erum

see the piece of code [CODE] <tr> <td> Start Date of Conference</td> <td> <asp:TextBox ID="txt_startDays" runat="server" onchange="checkdate(this);" ></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_startDays','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> </td> </tr>[/CODE] [CODE]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="calendar.aspx.vb" Inherits="gfln1.calendar_aspx" %> <!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 runat="server"> <title></title> <script runat="server"> …

0
74
Member Avatar for alanlee9898

I would like to have two dropdown list search for my posting in my blog. Example: First dropdown list : Select Cuisine Second dropdown list : Select Location Then Search button. I can't figure out the javescripts. Please help. Thank you so much!

Member Avatar for Ruthan7
0
293
Member Avatar for MoreBloodWine

I had this in another board but after takin a second look I think this is where it belongs, in any case. ------- How can I preceed the ticker with ND News: using hex color #FF0000 ? Everything I have tried, as far as placing the text goes doesnt work, …

0
104
Member Avatar for abhijitkane

I'm trying to display an image in a canvas element. After computing the required width and height of the canvas, I'm calling the drawImage() method on the canvas context. Here is the javascript code: (c is the id of the canvas, ctx is the context) [CODE] $("#c").width(aw); $("#c").height(ah); ctx = …

Member Avatar for collapsar
0
127
Member Avatar for Cool&Awesome

Hi Everyone, I have a very simple js function to toggle div visibility, here's the working version: [CODE] function Toggle(obj) { var state = document.getElementById(obj); if (state.style.display === 'block') { state.style.display = 'none'; } else { state.style.display = 'block'; } } [/CODE] Now, as I have multiple divs, I want …

0
77
Member Avatar for nonshatter

Hi all, I'm relatively new to JS and I have an issue which I can't seem to get my head around... I have a perl script which iterates through an array and populates a table with its values. Within the created table I have a link in each row which …

Member Avatar for nonshatter
0
141
Member Avatar for Gunto

Hello! I have a table with cells, and each cell contains the following code: [CODE] <td align='center' bgcolor='#C45651' width='80' height='60' nowrap='yes' id='$' onClick='callPicture(this);'><p dir='ltr'><img border='0' src='X.jpg' width='80' height='60'></td> [/CODE] The javascript function [CODE]function callPicture(ID){[/CODE] gets the cell's ID and uses it. (This table is being written cell be cell dynamically …

Member Avatar for @developer
0
139
Member Avatar for kiranking

In my form there are two anchor tags [B]Add[/B] and [B]Clear[/B] having same class called button. What I am trying is submit the form data to another page(post) using ajax & clear is for clearing the data using javascript.The problem is that as both buttons having the class the same …

Member Avatar for kiranking
0
147
Member Avatar for dylank

Hey guys - I'm working on a new website template. It works great, except for a little bug with the Contact panel. It should slide into the screen from the right side into the center, but fails to do so. I believe it is because of the CSS property "display" …

Member Avatar for Airshow
0
82

The End.