15,127 Topics

Member Avatar for
Member Avatar for vedmack

Hi I'm creating a popup to display a loading message, inside this popup i placed an animated gif... the problem is that the gif is not being animated (it is an animated gif...) , its is being shown but without the animation... This is the code: [CODE]oPopupLoading = window.createPopup(); var …

Member Avatar for Airshow
0
112
Member Avatar for <?davec

Hi there, I'm using this script for collapsible divs... [url]http://www.harrymaugans.com/2007/03/06/how-to-create-an-animated-sliding-collapsible-div-with-javascript-and-css/[/url] Everything's working fine but I need to add an image for show/hide state. When the div is showing the header displays an "open" arrow...when closed it displays a "closed" arrow. Any help is really appreciated!! Thanks :) Here's the JS... …

Member Avatar for Airshow
0
109
Member Avatar for GreaseJunkie

Hi, I could use some help with my code. I am validating a form before processing the PHP to SQL and would like it to let the user know if they have done something wrong before the form can process. This code below changes the bad fields to yellow (BRIEFLY), …

Member Avatar for GreaseJunkie
0
183
Member Avatar for public-image

Hi Everyone, I have got a DIV that I need to refresh, its content consists of an image that will change on the insertion of a row to the SQL Database, however, when I use a refresh on my div it does refresh but does not change the image... My …

Member Avatar for hielo
0
169
Member Avatar for nikc121

I have been playing around with this code for far too long. The code worked fine at first, but when I tried to validate under strict I got a "name" attribute in the form element not valid, so I took it out. Now its keeps saying that document.quiz is not …

Member Avatar for Airshow
0
369
Member Avatar for cutekate

Hello Everyone, I have triple drop down menu. I want to display the contents of the table based on the third menu selection. The code is in the link [url]http://php.pastebin.com/hgazULxi[/url] I know I need to include a onchange function to <select name="genus"> but as you can see I have a …

Member Avatar for Airshow
0
125
Member Avatar for djcrab

I'm taking a "self-paced" class trying to learn a little javascript. I'm doing the old Dino Quiz trying to add pop up alerts after a click on a radio button of any question. I only added the javascript functions "scoreQuestion" at the top. The rest was already typed for me …

Member Avatar for djcrab
0
163
Member Avatar for programmer12

Hi, I have a piece of Javascript that I need help revising it to fit my needs... My NEEDS: I need this script to work with Megavideos as well, Right now it works with just Youtube videos, and Vimeo Vids. Here is the Script: [CODE] (function($){$.prettyPhoto={version:'3.0'};$.fn.prettyPhoto=function(pp_settings){pp_settings=jQuery.extend({animation_speed:'fast',slideshow:false,autoplay_slideshow:false,opacity:0.80,show_title:true,allow_resize:true,default_width:500,default_height:344,counter_separator_label:'/',theme:'facebook',hideflash:false,wmode:'opaque',autoplay:true,modal:false,overlay_gallery:true,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},markup:'<div class="pp_pic_holder"><div class="ppt">&nbsp;</div><div class="pp_top"><div class="pp_left"></div><div …

Member Avatar for programmer12
0
216
Member Avatar for funlove201

what should I do if I want to open [url]http://www.google.com[/url] on click of a form button.... thanks in advance

Member Avatar for aquilax
0
70
Member Avatar for fobos

Hello all, well i have a problem, but it sorta works. Here is my code. [CODE=JAVASCRIPT] var toggleState = 0 function toggleMe() { if(toggleState == 0) { alert("Checked"); toggleState = 1; } else { alert("Unchecked"); toggleState = 0; } } [/CODE] HTML [CODE=HTML] <input type="checkbox" onclick="toggleMe()" />Toggle me <input type="checkbox" …

Member Avatar for fobos
0
94
Member Avatar for mayuri_desh

need to write the below javascript function in php..please help [CODE]myStartDate = new Date('April 1, '+curYear+' 1:59:59');[/CODE]

Member Avatar for P0lT10n
0
82
Member Avatar for dantheman50_98

Hi There, - I've got a list similar to the following: <ul> <li><a href="item1.php">item1</a></li> <li><a href="item2.php">item2</a> <ul> <li><a href="item2-5.php">item2-5</a></li> </ul</li> <li><a href="item3.php">item3</a></li> </li> - Item 2 needs to have a class added to the li using jquery. I've tried the following but it isn't working: <script> jQuery(function(){ $(this).parent('li').addClass('current'); }); </script> …

Member Avatar for dantheman50_98
0
163
Member Avatar for shuka79

Hi guys, I have developed a menu structure that has several sub-menus which are hidden until you click on the menu item. Once this happens I have got a onclick event which will display the sub menu below, changes the font colour of the menu item you have just click …

Member Avatar for AleMonteiro
0
182
Member Avatar for maxelcat

Hi I am doing some simple jQuery work and I have a little problem. There are some image panels. If you roll over them a little div animates in. This new div sits on top of the image, and is about 1/4 of the size of the triggering image. Its …

0
67
Member Avatar for eefh01

Hi, I am just trying to have a login form on a page using div tags. After successful login without refreshing the page, the textboxes on the form should be replaced by Welcome message or displaying username and Logout button. Can somebody throw a little light to show me the …

Member Avatar for Airshow
0
94
Member Avatar for mushget

Hi , I need to do javascript money validation for a field. the condtions are 1) depending on the Locale (not sure if this can be done in JS like US,Germany..) 2) verify if it has $,pound symbol, yen symbol.. 3) group the digits either like 00,00,000 or 000,000,000 4) …

Member Avatar for Airshow
0
124
Member Avatar for akvlko

Hi Friend, I have a Jquery Validation code in which I have written [CODE]element.focus();[/CODE] When I view that page into other browser I able to modify that previous Field if I was left next field blank or wrong input. but in chrome i wont able to do so..! Can you …

Member Avatar for akvlko
0
112
Member Avatar for cancer10

Do u know of any free javascript script that will popup as a bubble with some information on it when I click on any form element in a page? I can show you an example of what I want: [URL=http://www.imagebam.com/image/0c790e4092858][IMG]http://thumbnails5.imagebam.com/410/0c790e4092858.gif[/IMG][/URL]

Member Avatar for maxvergelli
0
183
Member Avatar for Nathaniel10

I would like to place a caret (^) above certain characters in my text. The text decoration options I find are underline, overline, and strike-through. I also find ASCII characters with carets but theses are only vowels, and I would like any character to have a caret. Is it possible …

Member Avatar for aquilax
0
85
Member Avatar for lgriess

How can I create a double click event on a Web Form TreeView .net object that has no defined double click event on the leaf node?

0
59
Member Avatar for Clarkeez

Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate …

Member Avatar for diafol
0
75
Member Avatar for MDGM

Hi all, I want to know if it is possible and how to intercept an existing javascript keybind and block it. For example, a website has some javascript that, when the user hits the letter "H" on the keyboard, the website automatically runs a function, e.g. redirecting to another web …

Member Avatar for Airshow
0
291
Member Avatar for manu_gupta

Hi All, I have a problem with Internet explorer as in my applications second page within few minutes I am getting - The web page cannot be displayed. The first page is working fine but in the second page it expires soon - Please help.

0
29
Member Avatar for ivan3510

Hi! Sorry for my bad english. Darkening page in ie doesn't work well. On the left side there is part of the site that isn't covered with dark! In firefox this is well, whole page is covered, but in ie not. Thanks. (There is an attachment).

Member Avatar for ivan3510
0
109
Member Avatar for pietpiraat

Hello, I have a jQuery datpicker setup like this: [CODE] <script type="text/javascript"> $(function() { $('input').filter('#startPicker').datepick({ minDate: new Date(2010, 11, 20), maxDate: new Date(2010, 11, 27), multiSelect: 999, altField: '#date' }); }); </script> [/CODE] is it possible to show the number of dates the user clicks on in the altfield, or …

0
121
Member Avatar for aizel

i don't know if this converter is created in javascript [url]http://www.oanda.com/currency/converter/[/url] i want to make like that but first i want to start on the combobox.. how to put a image in a option value in a combobox?

Member Avatar for aizel
0
136
Member Avatar for Cool&Awesome

Hi everybody! I am calling the functions below from html anchor tags, for the purpose of opening/closing a popup window. Now, when i refresh or change the page, i can't close the window anymore (except manually). I understood there is some reference to the popup that gets lost when you …

0
67
Member Avatar for lgriess

I'm having a problem with the following code: I have the following jquery call: the problem is that I have several `<select name="^DDLColumns1..2..3..4`. etc.. controls on my page, however this is only populating the first one: `<select name="^DDLColumns1"` anybody know why the select would do this? <script type="text/javascript" language="javascript"> $().ready(function() …

Member Avatar for Airshow
0
171
Member Avatar for meghab

Hi All, I am creating an application in which I want to keep refreshing a jsp file and in that jsp file i need to keep calling another url of type [url]www.daniweb.com/receive.jsp?a=xxx&b=xxx[/url] and save this url in database. Here the url keeps changing in every second ie. values of a …

Member Avatar for Airshow
0
96
Member Avatar for newprog50

I need help with an assignment. Don't need the answer, just what is wrong with my code. I need to create a init() function. Create a variable named allSelect that references elements in my document. For each item in the allSelect object collection, add an onchange event handler that runs …

Member Avatar for hielo
0
141

The End.