15,127 Topics

Member Avatar for
Member Avatar for SolidSora

I got 3 frames to my animation and I'm trying to get it to play correctly. BUt, it will only play 1 frame of the animation. Here is my code: function playHomeAnimation(){ var timer =0; timer+=1; if(timer==0){ document.getElementById('home').src="home3.jpg"; } else if(timer==1){ document.getElementById('home').src="home2.jpg"; } else if(timer==2){ document.getElementById('home').src="home1.jpg"; } else if(timer>=3){ timer …

Member Avatar for Airshow
0
187
Member Avatar for godinu

Hello, I need something quite similar to the script that eventually loads in the main area here: http://www.discmakers.com/livequote/ -- I'm looking for a way to allow the user to input type of jewel case, packaging, quantities, etc. I like the way this example has drop-down menus for the user to …

Member Avatar for godinu
0
221
Member Avatar for rotten69

Hi everyone, I am trying yo loop through an array property that is multi-valued and so the condition is if that property has what the value specified then alert with a message saying hello.. The other idea is kinda complex that is to check using RegExp... Here is the code.. …

Member Avatar for AleMonteiro
0
97
Member Avatar for DJ-DOO

Hi! I'm hoping someone can help me here, I've been looking at highcharts as a way of graphing my dynamic data from my sql db....What I've come up with so far is below, it's strange, it seems correct, the data is correct, however, I can't get my chart to render, …

Member Avatar for pritaeas
0
442
Member Avatar for aks.steven

Dear All friends, I am developing one application which is running on ie all versions. but when I run same application on firefox/mozilla it shows error. html code: **<iframe id='mFrame' name='mFrame' class='mFrameCSS' src="" frameborder=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 width=100% scrolling=no></iframe>** JavaScript code : **<script language=javascript> var lMWFrame=document.getElementById('mframe'); alert('lMWFrame :--->'+lMWFrame); //shows …

Member Avatar for LaxLoafer
0
210
Member Avatar for ak47carbon

what is frameworks, whats the benefits of framework which is famous framework how to use it , what is cakephp i know what is cms but i didnot know when a person ask me in intervew which version of cms are u using,?i always make my own cms for website …

Member Avatar for pritaeas
0
204
Member Avatar for mithunhussey

<div style='float:left;padding:5px 5px 5px 0;'><a expr:share_url='data:post.url' href='http://www.facebook.com/sharer.php' name='fb_share' type='box'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div> i need to add '<?php echo $strALink;?>' this variable into tis code . for facebook sharing i don't know . plz help me.

Member Avatar for mithunhussey
0
158
Member Avatar for arunthewolf

Kindly note the error which i made in my code : <html> <head> <script type="text/javascript"> function createCanopyPath(context) { // Draw the tree canopy context.beginPath(); context.moveTo(-25, -50); context.lineTo(-10, -80); context.lineTo(-20, -80); context.lineTo(-5, -110); context.lineTo(-15, -110); // Top of the tree context.lineTo(0, -140); context.lineTo(15, -110); context.lineTo(5, -110); context.lineTo(20, -80); context.lineTo(10, -80); context.lineTo(25, …

Member Avatar for lambing
0
232
Member Avatar for ryanhx64

**Ok i have this script it opens desired page then closes at desired amount of time. How do i make it redirect to something rather than google.com when closing** <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Test Page</title> <style> body { font-family: sans-serif; } </style> </head> <body> <p><a href="#" id="target">Start …

Member Avatar for firdaus_lazim
0
386
Member Avatar for plorkz

Ok, I'm new to visual studio 2010 and also new to AJAX in .NET (I've done AJAX via jquery and classic ASP before). I want to simply make a call from a client-side function to a server-side ASP.NET (VB) function to get a set of data, could be a datatable, …

Member Avatar for JorgeM
0
104
Member Avatar for webflybullet

It is possible to build the deaktop web application with the extjs. Please see the demo at here: http://www.tomatocart.com/products/store-demo.html It's very good.

Member Avatar for pritaeas
0
54
Member Avatar for rotten69

Hi there, I was trying different types of array initialisation in Javascript and the book that I was reading, said it is possible to initilaise an array with a speicified number of elements in it. However, I tried it and unfortunately, it didn't work. As you can see the code …

Member Avatar for sepp2k
0
220
Member Avatar for kurtzky

I have an ASP Classic page with SHIFT_JIS charset. It has a meta tag under the <head> section like this: <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> My page has a text box (txtName) that should only allow 200 characters. I have a Javascript function that validates the character length, which is called …

Member Avatar for kurtzky
0
447
Member Avatar for dinners

I have written a form in html and wish to submit it and run some php code, however once the php file has finished it main job I want to use it to redirect to my homepage where I am using AJAX to change content (where the form is). Is …

Member Avatar for dinners
0
231
Member Avatar for rotten69

Hi there, I was wondering what the string.split() does. And another question is that I want to loop through the class like Math and find out what functions are defined in it.But, I was not too sure how to that. I tried a couple of things but they unfortunately didn't …

Member Avatar for rotten69
0
219
Member Avatar for simplypixie

I have the following script: $('#login-box .forgot-pwd').click(function (e) { e.preventDefault(); $('#login-box #main-login').hide("fast"); $('#login-box .login-error').hide(); $('#login-box #forgot-login').show("fast"); $('#forgot-username').focus(); $('#login-box .forgot-send').click(function (e) { e.preventDefault(); $.ajax({ url: '/login.php', data: $('#login-box form.get-password').serialize() + '&action=forgot', type: 'POST', success: function(html) { if (html == 'success') { $('#login-box #forgot-login').hide("fast"); $('#login-box').append('<p>Your password has been emailed to you</p>'); $('#mask …

Member Avatar for simplypixie
0
290
Member Avatar for abhi10kumar

I have city and its corresponding locality. When user clicks city then its locality will show in Dropdown-Checkbox. How I can do with jQuery, AJAX and MySQL.

Member Avatar for abhi10kumar
0
1K
Member Avatar for spyece

Hello, This is my first tumblr theme attemt and this is what i have got so far, the masonry is working on the main page, but when the infinite scroll jquery plugin loads the second page the sorting acts funny, here are the urls → Live Url : http://rmlthemer1.tumblr.com Complete …

Member Avatar for lambing
0
262
Member Avatar for vijayram

Hi everybody, what can i missing my code jquery click function display only error function alert msg. plz help me. function changePage(page) { $("#criteria_page").val(page); $("#search_new_friend").click(); } function inviteToMypeople(personalId) { if (confirm("Are you sure you want to invite " + full_name + " to your layer?")) { $.ajax({ url: $("#url_invite_to_layer").val(), data: …

Member Avatar for lambing
0
133
Member Avatar for Neetumishra

Hi, I am very new in writing javascript so please apologize for that if I am asking very simple things. I am trying some thing like this but it's not working: <script type="text/javascript"> $(document).ready(function() { $("#accordion").accordion(); }); $(window).load(function() { $('#slider').nivoSlider(200); }); </script> Please can anyone help me regarding this. I …

Member Avatar for lambing
0
87
Member Avatar for dartiss

I'm struggling with a bit of JavaScript and I was wondering if somebody could help? I have the following code in some JavaScript... var state = document.getElementById(id_image).src; id_image contains a specific ID of an image file that I'm looking for. The result should return the image URL. However, if the …

Member Avatar for dartiss
0
192
Member Avatar for Violet_82

HI guys, I was reading some tutorial about a crossfading gallery, and I am having a few problems understanding it Here's the code. HTML (just the relevant bits) ... <div id="photos"> <img alt="Glendatronix" src="../../images/glenda_200.jpg" /> <img alt="Darth Fader" src="../../images/fader_200.jpg" /> <img alt="Beau Dandy" src="../../images/beau_200.jpg" /> <img alt="Johnny Stardust" src="../../images/johnny_200.jpg" /> …

Member Avatar for pritaeas
0
192
Member Avatar for daniel36

i have the code in my project- <Script language="JavaScript"> function goto(form) { var index=form.select.selectedIndex if (form.select.options[index].value != "0") { location=form.select.options[index].value;}} </SCRIPT> <FORM NAME="form1"> <SELECT NAME="select" ONCHANGE="goto(this.form)" SIZE="1"> <OPTION VALUE="">-------Choose a Purpose------- <OPTION VALUE="<?php echo base_url()."admin_panel/post_pmb/project"; ?>">Project Discussion </option> <OPTION SELECT="SELECTED" VALUE="<?php echo base_url()."admin_panel/post_pmb/general"; ?>">General Discussion</option> </SELECT> </FORM> in this code …

Member Avatar for niranga
0
326
Member Avatar for Nabaneeta

I have two dropdwon box. First box has names of the states. Choosing a state will populate the second dropdown box that contains cities of that selected state. For all states city names are stored in mysql database table. now I am little confussed how to model the table and …

Member Avatar for diafol
0
402
Member Avatar for chrishea

I'm not very familiar with Javascript or Regex but I built a script that is working well with one small flaw in the Regex part. What I want to do is to find commas following alpa-numeric characters (actually almost anything other than a double quote) and then replace the comma …

Member Avatar for pritaeas
0
279
Member Avatar for lambing

is it possible to access an Iframe without a source in IE8 and setting it's content? (e.g. iframe_obj.contentWindow.document) For example I wanted to get the head tag inside that dynamically created iframe: iframe_obj.contentWindow.document.getElementsByTagName('head') Then setting it's content: iframe_obj.contentWindow.document.getElementsByTagName('head')[0].appendChild(dom_obj);

0
59
Member Avatar for cgull

Hello, I am trying to create a jquery banner. I found lots of tutorials and managed to create a banner but I still need some help. I have 4 divs: First div slides from top Then Second div fades in Then Third div fades in and changes it's width Then …

Member Avatar for cgull
0
139
Member Avatar for Albert Pinto

Hi people, need some help... I have a dropdown list with some options in it.. I have 2 buttons Select all and Reset. What I want is, on click of Select All button, all the options inside it should get selected. and Reset button should clear the entire form. This …

0
109
Member Avatar for Larrywaz

<script type="text/javascript"> function moveover() { document.getElementById('image').width="1080"; document.getElementById('image').height="600"; } function moveback() { document.getElementById('image').width="180"; document.getElementById('image').height="100"; } </script> </head> <body> <img id=image src=images/PCF10.jpg onmouseover="moveover()" onmouseout="moveback()" width="180" height="100" /> <br /> <br> <body> <img id=image src=images/PCF94.jpg onmouseover="moveover()" onmouseout="moveback()" width="180" height="100" /> <br /> </body> </html> I have a page with multiple small images posted …

Member Avatar for JorgeM
0
136
Member Avatar for iamthwee

Hi, At the moment I'm learning Jquery and I'm using youtube for my tutorials which is great. I've downloaded the Jquery toolkit and I'm just playing with it. Just wondering what are the best resources to use? What do you use?

Member Avatar for Violet_82
0
168

The End.