15,120 Topics

Member Avatar for
Member Avatar for NewOrder

This is javascript: [CODE] function OpenNewWindow(book) { if (book==1) { document.cover.src='images/KanyLogo.jpg' MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, top=400') MyWindow.document.write('10% Discount for Java Demysti? ed!') } if (book==2) { document.cover.src='images/KanyLogo.jpg' ; MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, …

0
63
Member Avatar for Acute

Hi everyone, I have a jquery script that prepends a <div> tag on button click. Additionaly in this script there are some jquery effects(like slideDown) applicable to <div> tags that were before(and for them effects work fine) and also to <div> which was prepended. However, after new <div> is prepended …

Member Avatar for bvelez352
0
62
Member Avatar for HelenLF

I have a JQuery script that gives a neat effect on the navigation and want to include a simple fading slideshow on the same page. Any script I have tried for the slideshow either uses JQuery or Mootools and it conflicts with the navigation script. Can anyone recommend a smooth …

Member Avatar for pritaeas
0
80
Member Avatar for azegurb

Hi all, I have small bbcode script that works perfectly in IE. but in mozilla it doesn't work here is script [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > <html> <head> <head> <!-- ... --> <script language="JavaScript" type="text/javascript"> var v=2; <!-- function createTag(tagId,areaId) { // var x=tagId; var txtArea = …

Member Avatar for Troy III
0
89
Member Avatar for niimenz

Am a newbie with jquery implementations I currently want to implement an overlay and a dialog the same way its used for this sites login can anybody help me implement this stuff

Member Avatar for codewall
0
91
Member Avatar for cj333

I modify a php comment system. I want add it after every article witch are query from database. this is the php part [CODE]<?php ... while($result = mysql_fetch_array($resultset)) { $article_title = $result['article_title']; ... ?> <form id="postform" class="postform"> <input type="hidden" name="title" id="title" value="<?=$article_title;?>" /> <input type="text" name="content" id="content" /> <input type="button" …

Member Avatar for cj333
0
203
Member Avatar for fahad4014

Can any on plz guide me how to make a voting pole in HTML.. IF someone give me i would be very very thankful.. Regards, MAlik

Member Avatar for Shanti C
0
84
Member Avatar for samsons17

Hi I am creating a facebook like wall system.And at this point,my problem is I cant get the wall writing back the "Whats on your mind?" in the textarea after a message has been post. [ATTACH]19029[/ATTACH] And this is the javascript for the wall : [CODE] var searchLabel = $('#tab1 …

0
69
Member Avatar for brainbox

Hi, I am new to web development, i need to develop a comment box, and save those comments in a file( either database or normal text pad), so that i can retrieve them later and display them on my web. My server does not support php or anyother special scriptin, …

Member Avatar for ana10192000
0
264
Member Avatar for Reliable

Hey everyone, Got a problem. I don't know JS and I've googled my problem. Either I'm not find what I need or I am not understanding what I've found. As the title says I have a form which check boxes. The last check box is labeled "other". What I want …

Member Avatar for @developer
0
64
Member Avatar for tinker

my problem is that, i have a button that contains values and carry it to javascript here is the code below for the button that carries value 1; [CODE] <button onclick="passValue('1')">Pass Me</button> [/CODE] here is the javascriptfunction that will be called by the button above; and this script would set …

Member Avatar for tinker
0
189
Member Avatar for Mapper99

I have a simple jQuery click handler that animates the change of a divs background image. I would like to create some reusable code so I would not have to copy my code for every div I would like this effect on. How would I go about this? [CODE] <style …

Member Avatar for Airshow
0
153
Member Avatar for 612wharfavenue

Im trying various ways to trigger a transition, the simplest being the use of css pseudoclasses: [CODE] //leaving out default header stuff// <head> <style> .item{ opacity:1; -moz-transition: opacity 1s ease; } .item:hover { opacity:0; } </style> </head> <body> <img src="myimage.jpg" class="item" /> </body> [/CODE] If i use js to make …

Member Avatar for bvelez352
0
82
Member Avatar for soomro_moon

it shows this result 1296673200000. i need that in this format m/d/y.how can i do that? [CODE]function calDate() { var date1 = new Date(document.getElementById('date_field1').value); document.getElementById("date_field2").value = date1.setDate(date1.getDate()+5); [/CODE]

Member Avatar for Airshow
0
90
Member Avatar for JZM

Hey, Were I am stuck is with the jquery I have a form that is done in a form class and when an option is selected from the dynamically populated drop down menu I would like it to fill in the text boxes so they can be edited. I currently …

0
81
Member Avatar for andrewliu

Hello I hope you can assist me with this :) [CODE]$(document).ready(function(){ $(".downservices").mouseenter(function() { $(this).parent().find(".servicesdropped").slideDown("fast").show(); $(this).parent().hover(function() { }, function(){ $(this).parent().find(".servicesdropped").slideUp("fast"); }); }); });[/CODE] This code allows me to make a drop down menu when the cursor hovers over a link. I have a horizontal menu, so when I hover over a …

Member Avatar for bvelez352
0
162
Member Avatar for dikri100

I can code it with this account just click on a link I need one that relies on various link on the same page. codigo need cookie. <script type="text/javascript" src="file:///D|/Downloads/cookie.js"> </ script> <script type="text/javascript"> var = CookieUtil { get: function (name) { var cookieName = encodeURIComponent (name) + "=" cookieStart …

0
66
Member Avatar for ben.marks

Hi there, Got some form validation but doesn't seem to even be running through it. First off the form is displayed, if you click in 'Name:' the 'ID:' box disappears so that you cant type in both, after it disappears (and vice versa), the validation should check its correct, but …

Member Avatar for ben.marks
0
208
Member Avatar for manish250

hello all i have a jsp page in which i am using a function for detecting the ascii value of key pressed.it has to give alert if other than any alphabet key is pressed.Below giving the explaining code [CODE] function checkname(e) { var cc=e.keyCode; if(cc >=65 && cc <=90 || …

0
161
Member Avatar for fawadkhalil

Hi people I have radio button list populated from database. By default first value is selected. How can i call JavaScript function if user selects another value in radio button list.

Member Avatar for jbisono
0
119
Member Avatar for ello

Guys, just a quick question, is there any way to get this AJAX to be called on a button click? I know how to use buttons to call JS functions but I'm not sure where to add the open and closing parentheses with this AJAX...I've tried encasing different parts, but …

Member Avatar for McLaren
0
204
Member Avatar for youlichika

I need click `ben10` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `winx` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `pocoyo` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. but my code not worked. can anyone help me? and if I …

0
61
Member Avatar for McLaren

Here is the button: [CODE] <input class = "preview" type="submit" name = "Preview" value="Peržiūrėti" /> [/CODE] and here is the submit: [CODE] $('input.preview').click(function() { $('form').attr( 'target', '_blank' ); document.myform.submit(); }); [/CODE] So when I submit with jquery, and try to get with php the data [CODE] print_r($_REQUEST['Preview']); [/CODE] It does …

Member Avatar for McLaren
0
129
Member Avatar for soomro_moon

can any one help me out.what is the problem with this code? [CODE]<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 type="text/javascript"> function combofunction(){ // actions that you want to perform //You will receive a different greeting based //on what day it is. Note that Sunday=0, //Monday=1, Tuesday=2, …

Member Avatar for Shanti C
0
131
Member Avatar for soft_coder

Hi! I want to create a circle using ext-js and fill it with 3D gradient. But I don't know. I searched almost all the APIs but I couldn't find the method to do so. Any help will appreciated.

0
55
Member Avatar for bkv.kannur

I am using ajax to pass php variable to javasccript function as shown below for my particular application. i am using the foolowing function from ajax.js freely available from net to implement the ajax functionality as var abc = new sack(); PHP portion which passes the response text: ************************************ <? …

Member Avatar for SatishU
0
663
Member Avatar for MoShapes

Hi, So, I have a client that wants a new background image every time page is reloaded. I thought I have to script and thought I had it working but when I applied it to all my pages from a template I made in dreamweaver it doesn't work. It only …

Member Avatar for SEOCoder
0
164
Member Avatar for Buppy

Hi, I have a HTML document with form. The form has several radio buttons. I want different elements of HTML (including <input> elements) to appear when each radio button is selected. Also, it is intended to show only those elements for a specific radio button. For example, if i select …

Member Avatar for Troy III
0
719
Member Avatar for f_atencia

I have a client-side form and it submits to itself using the 'GET' method. When the form is submitted, I can get the results, but I can't seem to hide the form itself. Is there a way of doing this using Javascript in an ASP file? The document.getElementById("myDiv").style.display="none" doesn't seem …

0
69
Member Avatar for felix001

On random pages of my site im getting the following error: [CODE]Permission denied for <http://googleads.g.doubleclick.net> to call method Location.toString on <http://fir3net.com>.[/CODE] I have no clue on how to debug this or what could be causing this. I have searched the web but no one seems to know what this is …

0
63

The End.