I can't for the life of me figure out how to fill 12 text boxes with a repeating number of numbers (this is for a 1 year forecast).If a user enter 3 different numbers in the first 3 text boxes and leaves all others empty I want that series of numbers repeated in the rest until the end when I click a button.
I am trying to create a javascript code in which I prompt the user for a number (an integer from 0 to 100) to search for, then search a function with the number they entered and then display whether the number was found, and if found, a location where it can be found within the list.
I'm trying to create a calendar application that users can upload pictures and then put them on a calendar. I'd like to display all of the images and then drag them from one pane to the calendar. I'd like it to be something similar to the following link:
I have an array "personen" I first show in an list in "divLijstDerPersonen" and eliminated the Duplicates. When I click on a name in that list I get a column from all the "personen" with that name. function link_Click() Now I want to make another div with all the details, pictures etc from the person I select in that colomn. function iets_click() but for some reason I'm not able to get the document.getElementById("autoid" + i);
The problem is that I wanted to do a web page where you can choose the characteristics that you expect your dog to have and on the next page the pictures of the dog should be shown. I did a questionnaire where the visitor can fill in the attributes of his dream dog. This is done in a selection field. The different values should bring the dog breed that can be taken into consideration. Additionally there should be a box to tick if something is absolutely necessary.
I made the site for this as well, but I don’t really know how to work the part out. I hope someone can give me hint.
This is the part with the function. I only took one as an example:
I want to have multiple small pictures on my site(lats say 9 - box of 3x3). I want to make an interface in which user will be able to select 2 pictures and press the submit button.
So i want to get the numbers of the 2 selected pictures(lets say they have numers representing them 1,2,3,4...) in the POST variable so i can do something with them in my PHP scripts.
I'm confused about this as I am very very new to JavaScript.
I am using a number of photos on one page that are selectable to then move over to a second page with a working slide on it.
I need the user to be able to select 4 of the pictures and have their selections be viewable in page 2 slide show. How would I do this? I'm very confused
I have been using this sideshow example which works great but I want to be able to click on the slideshow picture to take me to another link (hyperlink)
I also wanted to have links next to the slidehsow which would go to a certain picture in the slideshow for example by pressing link "go to picture 3" it would scroll automatically to picture 3 in the slideshow
I have been using examples from: [URL] this but I am willing to change to another version if I can't do that with this slideshow scrit
I know this is probable a easy one for most of you...But this is my first Javascript. I am trying to write a code that will add two numbers entered by a user and calculate the sum. When I wrote the code inside the HTML it worked fine. But I have to use a .js file and call the function from there. And now my code does not work.code...
I am starting to learn javascript and have been trying to make a image gallery. I was hoping to take an array of src and create a link for each one which when clicked on changes the src of an already existing img.My question though is how would I make the buttons for the numbers.I feel like a loop would work for this but I just can't seem to figure it out. I don't know how far off I am in thinking that through a loop I could create functions with a name plus the i variable.And in each function there could be something like:
Code: document.images["destination"].src = images[i] That would then produce an <a> with the href equal to the function name + "i" with the title being "i" as well.
Am I way off? How would I execute that? A little explanation about my code. I am going to be using a loop to add the images that will vary in amount for each page that is why I have the push function just for this test. And the document.ready is because I've been using some jQuery.
thta should of out put me "hello world" as it is what it is in array but it does not as there is 422 there That's my ID from database, and I gotta use itNow, if I change that ID to something in letters say to "i" then everything is fine. ex
PHP Code:
json_data_object.i.name
That one would work, but then I have to chnge JSON string thta pulls data from DB and i cant really do that...So the question is how can I make 422 (numbers) works the same way as just string values in the array/object tree?
I want to implement a little JavaScript that allows the picture to be swapped for a virtual tour, a QuickTime mov file. Here is the syntax for the test.mov file that should replace the test.gif
Now you probably say .... listen dude, check out the 101 postings on swapping images..... Well, just to make it a little more complicated, I want to add the HOTSPOT functionality. When you make the QuickTime movie (virtual tour - aka 360 view), you can identify hot spots. These are basically areas that the user can click on to get the next virtual tour / movie. Now, in test.mov, there is a hotspot66, when you click on it,you are supposed to link through to NewMovie.html (which would contain NewMovie.mov), but I want the same file to remain on the screen and NewMovie.mov to be placed into the image area.
Seems that we have moved (prematurely of course) to JavaScript 102....
I have a webpage with thumbnail images that I want to be able to click on to play associated Quicktime movie files in either IE or Netscape. I'm having difficulty finding any HTML or Javascript code for doing this, and was wondering if this is not an easy thing to do. Is there some special code needed for detecting Netscape Quicktime plugins, and what about IE?
I am looking for a upload form to upload pictures and then when the pictures are uploaded, then they get emailed to me. Kind of like a contact form but attached is the pictures.
1) in the object tag add the following parameter <PARAM NAME=wmode VALUE=transparent>
2) in the embed tag add the following attribute <EMBED src="jet.swf" wmode=transparent ....
3) add the same name-value pair to the following script <script type="text/javascript"> AC_FL_RunContent 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' ,'wmode','transparent',...rest of your name-value pairs go here ); //end AC code </script>
I have this script:URL...that takes latest movies from youtube channel.When you click on the movies below it should load the movie to the playerit works well on Firefox but not on IE or Google Chrome
I've run into a problem on a particular project, and it seems to be browser specific. [code]...
Now, this works all fine and dandy in Firefox and Safari, but in the IE's, it will switch properly, but if you switch while in the middle of a movie playing and then switch back to it, the video is paused at the spot where the switch happened and will not play again. That does not happen in Firefox or Safari. Your thoughts? Is this just a cache thing with IE that can't be worked around?
there is some kind of flash rotator on the home page. This is my code attempt to move between preloaded swf animations using javascript. I've tried giving id of the object or embed but this won't help. Of course this is not that simple and the code isn't working. My intent is to have animation change when clicking the next button.
<html> <head> <script type="text/javascript"> var flashNumber = 0; var items = 3; [Code]....
And i want to make the mainDropDown have the same options as dropDown1 what is the best way to do this? I tried just assigning the mainDropDown= dropDown1 element but this doesnt work. Is my only option to delete the children of mainDropDown, store the dropDown1 elements in an array and then re-create the elements of mainDropDown in a for loop?
If so how do i delete a child and also create another?
I want to make around 3 drop down menus ... where the content in each drop down list is based on the users previous selection from the previous drop down menu ..
for example, suppose we have the following information Honda : <model names> from 1990-2005 Toyota: <models name> from 2000-2005 ford : <model names> from 2000-2003 etc....
the first drop down menu is of course "Make" and the next is "year" then "Model"
how can i make it so that if the user selects Honda then only information about honda appears in the next two menus .. and when they select year ... then only Honda models from that year will appear in the final menu, "model".
I would like to create a space within my e-commerce web store to create an order based upon a base product with uploaded images or text that can be dragged in by the end user (for a custom design).
Something like the customink lab
Are there any tutorials or plugins to get me started?