15,121 Topics

Member Avatar for
Member Avatar for jonsan32

**I have a fairly simple script, but I'm having trouble sizing up my randomly displayed images. I want them all to have the height of 150px. Any help would be great. Thanks! code below:** <script type="text/javascript"> window.addEventListener?window.addEventListener('load',function() { ray.rand('thisCell'); },false): window.attachEvent('onload',function() { ray.rand('thisCell'); }); // FF : IE1 var ray= …

Member Avatar for jonsan32
0
212
Member Avatar for venkateshyeluri

Hi, Im working on a html5 parallax site. I have a problem with the javascript, that it is not detecting the screen resoultion thought I have right css files in my folder. My js detects for one type of screen resolution but it is not detecting the remaining screen types …

Member Avatar for JameB
0
332
Member Avatar for Lucrezia

Hello, and congratulations for this beautiful and meticulous forum. I have a javascript/html/css issue that I'm trying to solve for about 3 days now, with no luck. I'm using javascript to toggle the visibility of a certain table. I set the table's display property to none (via js) in order …

Member Avatar for EricGeerts
0
2K
Member Avatar for PhilEaton

I am wondering how I can hide all divs on the page only using Javascript, I cannot use Jquery. Is there a way to do this without using the arrays that comes with document.getElementByTag? Or if there is not, could you show me how to hide all? Thanks!

Member Avatar for iamthwee
0
278
Member Avatar for rotten69

Hi everyone, I want to get started on learning jQuery Framework.I got the basics of the JavaScript at this stage. But now, I don't know where to start with jQuery. Other than the jQuery.com website. Would you suggest easy-to-follow introductions to jQuery? Is there a big difference between jQuery and …

Member Avatar for iamthwee
0
303
Member Avatar for sherrie.olsen

New here and looking to make a web application for mobile devices. I am a newbie programmer as well and have some experience making websites and simple c++ programs, so I do have an understanding of some languages. I want this application to access a subscription website and retrieve certain …

Member Avatar for pritaeas
0
130
Member Avatar for Nilophar

Hello, Here is the url : http://help.dottoro.com/ljqhsrpe.php Snippet available in above link not working with firefox. Version :14.0.1 OS :XP

Member Avatar for pritaeas
0
44
Member Avatar for samsam9988

Hi, <script language="JavaScript"> function Validate() { var image =document.getElementById("image").value; if(image!=''){ var checkimg = image.toLowerCase(); if (!checkimg.match(/(\.jpg|\.png|\.JPG|\.PNG|\.jpeg|\.JPEG)$/)){ alert("Please enter Image File Extensions .jpg,.png,.jpeg"); document.getElementById("image").focus(); return false; } } return true; } function refreshParent() { var URL = unescape(window.opener.location.pathname); var PARMS = unescape(window.opener.location.search); // window.opener.location.href=window.opener.location.href; var ms = new Date().getTime(); window.opener.location.href="/HousewareAdmin-web/categories_create/"+ms+PARMS; } …

Member Avatar for lps
0
130
Member Avatar for penet.biz

I need that when i click a button to open a popup text box(something like the box used for images) , and i need to use it whith php , to put it in php code so i can put it to show me a php string that i extract …

Member Avatar for Taywin
0
73
Member Avatar for wheels031799

What I am trying to do is a prize page that comes up every XX pages surfed. The new page would consist of three muscle cars that the user would click on their choice (hood is down). Choice would appear with hood up, showing engine which would have a changeable …

Member Avatar for wheels031799
0
145
Member Avatar for PhilEaton

I am trying to check for the background of an element, here is my code. But it doesn't work: I tried two ways, here is the first: function changeColor(field) { if(field.css('background-color','#ffb100')) { field.css('background-color','white'); } else { field.css('background-color','ffb100'); } } here is the second: function changeColor(field) { if(field.css('background-color') === '#ffb100') { …

Member Avatar for Taywin
0
273
Member Avatar for katties

Hi I have a function that reads a numeric value from a dropdown menu 'onchange'; the thing is, I have a couple of menus like that, and I would love to make my function more generic, so it would not need to be repeated every time for every dropdown menu... …

Member Avatar for Taywin
0
109
Member Avatar for biomedpro

hello, I seem to be having an issue. I can not get my Ajax contact form to work on IE. It seems to break the page and everything runs together and all print is layered on top of itself. Any thoughts?

Member Avatar for biomedpro
0
68
Member Avatar for freakthemighty

I'm building a CMS in PHP and this is my first attempt to use ajax to do something cool. It's making my queryies problematic, however. I'm writing in this forum because my PHP forms worked fine before I did the following: On my index page, I have a header with …

Member Avatar for freakthemighty
0
363
Member Avatar for jateshs1007

I need a guidance for making a website. I wanted to know how can I make a website like, from the below websites. 1. http://www.mohi.me/ 2. http://leotartari.com/ I am interested in learning the slider of each section. I know the all basics (HTML, CSS, Javascript, PHP, ...). So please just …

Member Avatar for <M/>
0
184
Member Avatar for wasim kazi

Hello, I have one CMS with fixed layout. In that I have make few changes depends on my current URL. If I am on my home page so This class given below is **div.layout-column.column-main.with-column-1.with-column-2 = width:790;** And If I am of some other page so this same class look like …

Member Avatar for wasim kazi
0
285
Member Avatar for lewilaloupe

Hi, Can't find what I am looking for anywhere and it's driving me crazy. I have a page on which I have 10 spots for images. Each spot needs to fade in/out about 5 images each, in a continuous loop. I can fade in/out on multiple images in a loop …

Member Avatar for Taywin
0
1K
Member Avatar for PhilEaton

How can I execute a function that will run while the client is waiting for the server response? Here is my code. I looked up and found a .load() function, but how does that fit into this? Any help would be great! Thanks $.ajax({ type: "POST", url: "mail.php", data: {name: …

Member Avatar for JorgeM
0
211
Member Avatar for calebcook

Hi. I'm trying to create a small editor for a website. One of the features is a drag and drop interface. I'd like for the user to be able to drag elements to another position in the page. I was thinking of having an iFrame of the site, and applying …

Member Avatar for DarkMonarch
0
133
Member Avatar for grant.baker

Hi I'm working on a form validation script. Up to this point, I've only written very basic regex validations. The input that I'm trying to validate should have entries in the following format AAA111 separated by comma space. So some sample entries are : `ABC111` or `ABC111, ABC112, ABC113`. Here's …

Member Avatar for grant.baker
0
287
Member Avatar for maranda.blanks

Simple instant price quote calculator javascript Hi there, I am trying to come up with an instant price quote calculator in javascript. Below is a sample of what I need Price per Meal Price per Week Shipping & Handling included Tax estimated Total Please let me know what other information …

Member Avatar for lps
0
294
Member Avatar for Violet_82

Hi there, I am working on a website at the moment and I am using the firefox console quite a lot. I am in the process of testing a script and I have noticed something really odd, hopefully somebody might be able to tell me whether there is something I …

Member Avatar for Troy III
0
108
Member Avatar for wheels031799

TrafficMad Dear Sir, I am trying to help a friend develop a “ prize page” for an existing site. While researching this I came across a script that I think this script could be adapted for my idea without too much trouble. Below my signature is the old “Lets Make …

Member Avatar for wheels031799
0
92
Member Avatar for nobuts

I have some line of javascript which is works well if it gets value from the same series of names. But I have a problem later when each values passed to another page which I'd like to break down which value is belongs to. So the question is how can …

Member Avatar for Taywin
0
2K
Member Avatar for jckb188

Hello! I am trying to figure out how to dynamically generate div ids, and then use onclick in correspondence with an image to pull up the correct div. I have been stumbling on this for two weeks and don't know where to turn at this point. Below is the current …

Member Avatar for Taywin
0
470
Member Avatar for kaito-poland

Hi every one. I have a problem with combinning two scripts. Fisrt script is working perfectly and taking stuf from mysql: function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new …

Member Avatar for kaito-poland
0
142
Member Avatar for xjshiya

Hello! I have a code here that has a dropdown box which is populated with data from mysql table, itinerary to be spicific (e.g. Tokyo- London, London - Tokyo, etc.). I also have a textbox that displays the block time (no. of hours required to travel a specific itinerary) of …

Member Avatar for xjshiya
0
1K
Member Avatar for jackfusion

Not to sure what to do say but here it goes. I am trying to test when a certain part of my page is in focus to display a message box. Here is the page [Click Here](http://yftg.ca/Untitled-5.html). I would like this code to running at all times when on this …

Member Avatar for jackfusion
0
80
Member Avatar for vishalonne

My code is working in IE 8 but not working properly in FireFox and Google Chrome. Actually by JQuery I am loading html page in div in same page this working properly in IE but in FF and in GC page opens but not in div it open like target_self …

Member Avatar for Atli
0
232
Member Avatar for karthikprs

Hi friends, I'm trying to do a online test software in which i would like to provide the user an option to calculate the answer in case of math questions. please give me ur valuable ideas. My reqt: On click of calculate(a button) the windows calculator should be invoked.

Member Avatar for peter_budo
0
58

The End.