15,127 Topics

Member Avatar for
Member Avatar for tt13

Nowadays i'm working very hardly on one prohect - mini social network with some advantages: You can generate tree style map ([url]http://goo.gl/ZP5yc[/url]) of all relationships of user. For example B, C, D are friends of A. On profile page of A when you click on "generate" button it shows A …

Member Avatar for Ezzaral
0
78
Member Avatar for dhruv_arora

Hey, I have started learning Javascript programming, I wrote these two codes and it thy are not working, it shows a blank page when i load those files. Please help. [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=utf-8" /> <title>Untitled Document</title> </head> <body> …

Member Avatar for dhruv_arora
0
170
Member Avatar for hajjo

[CODE]function moveScroll(){ try { var $j = jQuery.noConflict(); var scroll = $j("#applicationBody").scrollTop(); var anchor_top = $j("#searchResults").offset().top; var anchor_bottom = $j("#bottom_anchor").offset().top; alert(anchor_bottom); if (scroll>anchor_top && scroll<anchor_bottom) { clone_table = $j("#clone"); if(clone_table.length == 0){ clone_table = $j("#searchResults").clone(); clone_table.attr('id', 'clone'); clone_table.css({position:'fixed', 'pointer-events': 'none', top:0}); clone_table.width($j("#searchResults").width()); $j("#searchResultsList").append(clone_table); $j("#clone").css({visibility:'hidden'}); $j("#clone thead").css({visibility:'visible'}); } } else { …

0
64
Member Avatar for Nitin Daphale

In my project, I have a page which having, Ajax PopupExtender,UpdatePanel,<AJX:TabContainer> . When I set control values(textboxes,labels) on that page, I am not able to refresh the page even through web browser(retype url). All values persist on the controls. Anybody can talk about problem and solution? Thanks in advance.

Member Avatar for Nitin Daphale
0
182
Member Avatar for mrjimoy_05

Hi guys, Why my code below doesn't work? How to make them work together on one page? [CODE] // THIS CODE IS FOR DATE PICKER <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#datepicker").datepicker({dateFormat: 'yy-mm-dd 00:00:00'}); }); </script> // THIS CODE IS FOR VALIDATOR <link rel="stylesheet" …

0
73
Member Avatar for navi17

Hello friends, Well i just realized onmouseover on select options not working in IE/Chrome/safari. i think bec. IE/chorme doesnot support onmouseover. Can any one tell me the alternative of onmouseover? Thanks

Member Avatar for sharga
0
2K
Member Avatar for ofir0803

Hi I have this code of zebra stripes. [CODE] <style type="text/css"> <!-- .paint {background: #caf2fe;} --> </style> <script type="text/javascript"> $(document).ready(function(){ $("tr:odd").addClass("paint"); }); </script> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>Text1</td> </tr> <tr> <td>Text1 details</td> </tr> <tr> <td>Text2</td> </tr> <tr> <td>Text2 details</td> </tr> <tr> <td>Text3</td> </tr> <tr> <td>Text3 details</td> </tr> </table> [/CODE] …

Member Avatar for twiss
0
1K
Member Avatar for subhra44

Can anyone tell me the diff between the following two statements [CODE] var username=document.forms['myForm']['username'].value; var username=document.myForms.username.value; [/CODE]

Member Avatar for urtrivedi
0
208
Member Avatar for sganandhsg

Hi All I need open a document in Read only mode using Javascript. i find out code like "wordDoc.ActiveWindow.View.Type = Word.WdViewType.wdReadingView;" how to use this into javascript any one help me for this... Thanks

Member Avatar for stbuchok
0
47
Member Avatar for phoenx

[CODE] <html> <head> <style type="text/css"> .all_display { border-left:8px solid lightgray; border-top:8px solid darkgray; border-right:8px solid #505050; border-bottom:8px solid #505050; background-color:white; width:60%; margin-left:20%; } .inner_tablecell { font-size: 14px; font-weight: bold; text-align: center; width: 12px; } .fake_link { color: blue; font-weight: bold; text-decoration: underline; cursor: hand; cursor: pointer; } .img1 { background-image: …

Member Avatar for IIM
0
266
Member Avatar for sha11e
Member Avatar for jvjvjv_

I am have been trying to teach myself ASP.NET and Javascript for a project and have been stuck on one problem for literally dozens of hours now. I found a really nice javascript drag-and-drop list online, copied the source offered and split the css into a .css file, the javascript …

0
118
Member Avatar for extemer

hi guys i have a problem i am searching for it but couldnt find that code right.can any one fix it.i want to change my text field colour to red while it is left empty or doesnt specify the condition applied on this...here is my code below [CODE] <!doctype html> …

Member Avatar for diafol
0
99
Member Avatar for phoenx

[CODE] <html> <HEAD> <style type="text/css"> body { background-color: black; color: black } a { font-weight: bold } a:link { background-color: black; color: blue } a:visited { background-color: black; color: blue } a:active { background-color: black; color: blue } a:hover { background-color: white; color: maroon} input { font-family: monospace; font-size: 24px; …

0
67
Member Avatar for phoenx

[CODE] <HTML> <HEAD> <TITLE>Number Blocks</TITLE> <!-------------------- Design --------------------> <STYLE> .bigcell { BORDER-RIGHT: #6699ff 5px solid; BORDER-TOP: #6699ff 5px solid; BORDER-LEFT: #6699ff 5px solid; BORDER-BOTTOM: #6699ff 5px solid; BACKGROUND-COLOR: #6699ff; TEXT-ALIGN: center } .cell { BORDER-RIGHT: #6699ff 2px solid; BORDER-TOP: #6699ff 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10pt; BORDER-LEFT: #6699ff 2px solid; …

0
74
Member Avatar for astnrocker

There is an extra row on top and on the side of 1-10 that I don't want on my table. How can I remove this? [CODE]<script type="text/javascript"> /* <![CDATA[ */ var numRows = "10"; var numCols = "10"; if (isNaN(numRows) || isNaN(numCols)) { }else { var tblHTML = "", rowHTML; …

Member Avatar for Airshow
0
101
Member Avatar for manavsm

i want to change the default value of dropdown list to 0 i.e selected index value shud become 0 when press the cancel button so that watever i selected previously is removed i want it in javascipt only...i have done it in c#...since there s no forum for javascript i …

Member Avatar for dnanetwork
0
191
Member Avatar for Tellalca

Hey; I am learning some javascript. I tried to write a trivial code to validate email but my code does not seem to work it should. It should turn the background color of text box green when mail contains both '@' and '.' characters and red otherwise. However what the …

Member Avatar for Airshow
0
104
Member Avatar for bangla

I have a web site written in html. I want to have a warning mesage in my web page saying they are not allowed to copy any of my data. Also, if they do copy, how can i tell who copied my data? Pls advise. Thx.

Member Avatar for Tellalca
0
82
Member Avatar for matricol

I need a auto indent program for .pd's, .js's and html code what do you recommend?

Member Avatar for Tellalca
0
148
Member Avatar for jssutton11

On a webpage, I have a table (generated on page load through php/html) on the side that has several links (one on each row), and when you click any of them it calls a javascript function (href='javascript:newtable()') that uses an ajax requests to populate the table again (performed by a …

Member Avatar for jssutton11
0
183
Member Avatar for vizz

can anyone help me to create jquery, javascript one page template exactly or looklike below [URL="http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5"]http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5[/URL]

Member Avatar for matricol
0
92
Member Avatar for oggiemc

Hello All, Assume i have the following code: [code] // This code is defined in one file : editor.addMenuItem = function( name, definition ) { if ( groupsOrder[ definition.group ] ) menuItems[ name ] = new CKEDITOR.menuItem( this, name, definition ); }; // This code is defined in another file: …

Member Avatar for Airshow
0
134
Member Avatar for shaya4207

Hi guys/gals, I have a menu with a div displaying onmouseover, and hiding onmouseout, it works great except in IE if I click on the [ICODE]<select>[/ICODE] tag, it triggers the mouseout event, interestingly enough the same does not happen when I click on a text field.. Code Example: [CODE] <ul> …

Member Avatar for shaya4207
0
198
Member Avatar for Cake2011

I have been racking my brain for days now and cannot get the button to work with my tell a friend script. <form> <input type="button" value="Close Window" onClick="window.close()"> </form> I'm trying to add it to my web site [snipped] Any help or guidance would be appreciated. Thanks Cake

Member Avatar for twiss
0
283
Member Avatar for prabhjitsw

Hi again,Guys.Here's my problrm. In [B]Appointments.php[/B] ,In the [B]Sector Drop down list[/B] when i select a sector,through AJAX i have selected the list of hospitals for the sector using [B]fun1()[/B] and displayed it back here in [B]appointsment.php[/B].Now that's ok. But when i try to acess the hospital select lists value …

Member Avatar for ko ko
0
155
Member Avatar for Ignatius88

[CODE]<script type="text/javascript"> function insertPreference() { var row = document.getElementById('voteTable').rows[0]; var cell = row.cells; var id = cell[0].innerHTML; var title = cell[1].innerHTML; alert(id); alert(title); } </script> <table id="voteTable" border="1"> <tr> <td id="id">3</td> <td id="title">This is an example of storing the table value into a database.</td> <td id="vote"> <input type="radio" name="yesorno" value="true" …

Member Avatar for twiss
0
2K
Member Avatar for vedmack

Hi I'll describe the following scenario: I got a table with td's and each of the got onchange and onclick when i change value of a td and click on other td i get the onchange event(of the first td) being fired and then the onclick (of the other td) …

Member Avatar for Airshow
0
99
Member Avatar for bhagawatshinde

Hi all, I am generating a html report displaying the records. In that report their are 10 rows and 4 columns. In 4th column i am adding the button. Now i want to use button click event i.e onclick() . 1) how i call the javascript function/Javascript. 2) how can …

Member Avatar for bhagawatshinde
0
616
Member Avatar for Nimerion

Hi ppl, I need a javascript that can do.. "When you leave a page to alert you how many times have you clicked". I have no ideas, and almost no exp in this.. So PLEACE help me.. Sorry for the bad english..

Member Avatar for Luckychap
0
71

The End.