15,121 Topics
| |
**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= … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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 | |
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; } … | |
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 … | |
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 … | |
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') { … | |
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... … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. |
The End.