I have pages that I want a particular person to download dozens of images.
Instead of opening each image separately with right-clicks, I want to be
able to have them simply click, and the program will offer to save all the
images to a location they specify. Can I do that with JavaScript?
I am working on a small gadget which downloads a series of images from the web and displays the images in a loop. However i am having trouble saving the xmlhttprequest to a file to use later in an array. I have read that it should be easy to save the .png using Scripting.filesystemobject but have been unable to find any information on how to do it.
I wish to give the user the ability to download a file. The variable "url" is set to the url of a file on the server. I want to give the user the ability to either open it (if known type) or save it.
The following works for documents such as MS Word, but not for images (jpg, etc): window.open(url,'Download');
Any suggestions how to not just create a new window for images, but give the choice whether to save it or view it?
I know that there are some really nice jQuery UI. However, I'm really new to jQuery and I need to save the order into a SQL Server database so that next time if the same user comes back to the site, the picture will be in the same order that he/she reordered it previously.
I have recently worked on a flash based learning course and built functionality where users throughout the course can type in their own notes based on the course, and they can revisit these everytime they launch the course, the functionality is simply using flash cookies to store the notes on the users machine. I wanted to build functionality so that they could then save these notes to their hard disk and e-mail them on. To do this I call a javascript function from flash which opens a new webpage, passes through the notes from flash and uses document.write to write the notes to the new webpage. Then the user Saves (as web page html only) to save a copy to their machine.
The problem is I want to do this web page up a bit more, add graphics etc. but if I save as web page html only it won't include any images I add to the html page, and if I change it so that they save as (Web Page Complete) rather than write the webpage out with the notes it will write the webpage with the code document.write(string) but as this is on the users hard disk now string will be undefined as it no longer run alongside the course. Is their any other way anyone can think of doing this type of functionality, I am trying to stay away from using PHP
I want my prompts to come up each one asking how many books were borrowed each day i got the prompts coming up but what i need is each prompt to state which day its representing...
For example first prompt will pop up saying how many books monday then next will say Tuesday etc...
Does anyone know how to make it prompt the user if they try to close the browser window? Basically if someone goes to file->exit, or tries to navigate to another site, I want a confirmation box to pop up and say are you sure?
Please note I am not using this to annoy regular visitors - this is only going to be a part of my admin panel where I frequently forget to complete the last step, I just want to add a friendly reminder for myself.
A Client of mine wants a popup window to appear when a visitor to his site tries to leave. In this popup window he wants to ask 4 simple questions and offer a free gift.As popups are unpopular, and are generally blocked I went looking for another way round the problem.In some sites that I see now, I see a confirm box asking "Are you sure you want to leave this page?"Sometimes with a customised message in there as well.I was thinking of using something similar, and when the visitor presses "cancel" (to stay on the page and prevent the window closing) to then show the popup (either redirect to new page or use modal dialog overlay box, eg jQuery Thickbox).
In my site I show low quality pictures. When someone right clicks an image and selects 'Save Picture As...', I wish to let him save the high quality picture.
When you right click on a link you get the option to save target as...(ie) and save link as...(netscape). Is there some JavaScript to call this function like the JavaScript to open a new window?
how to change images based on action. Even clicking changed images should do respective actions. and while displaying only one image at a time sholud get displayed. I am using three images for a single column of a table in Jsp. Code:
What I'm looking to do is have a folder of images that I have show up on my website.I'm also looking to pull from this folder up to 6 or 7 times on the same page w/ randomized pictures that do not repeat.Finally, I'm looking to be able to size and name these images based on which image randomly pulls. b/c it's not grabbing the images.
I have to do a slideshow with images of different widths... am using cycle plugin, which I like very much... I have a little test slideshow here, http:[url]....it's not centering imgs in containing div (I made div width of widest image.. this will work for my situation, in which imgs will be hard-coded..)if you inspect img element in firebug (#slideshow img), it shows that the plugin adds a style of position: absolute; top: 0px; left: 0px .to the img; why does the plugin do this.. how can I center the images in containing div...
I need to refresh multiple images on my site. So every time the page gets refreshed the images need to change. It worked fine with the script below, but this is only related to 1 image
I tried to copy the script and change the "ID's" but this does not do the job.
I am trying to make different images hover over a table of sliced images when you mouse over a particular image. ex. mouse over image 1 = have image 1.1 hover over entire table of images in spot A; mouse over image 2 = have image 2.2 hover over entire table of images in spot B....ect. what i have so far only allows me to mouse over image 1 and have image 1.1 hover over entire table in spot A. Any time i try to move forward with more div's on other images it just jacks everything up.
Iīve just launch my website-portfolio, well itīs not yet the final version but it is almost and despite I am satisfied with the final result Iīve detected a really strange bug that only happens sometimes. The thing is when the first introduction Slide appears (the one with the hand-made drawings), sometimes the images shrink from the normal size to small tiny images. This doesnīt happen always and if you refresh the page it disappears.
Follow the link to the page were the bug happens - [url]. I'm using jquery cycle plugin, check it out.
i used setTimeout() function in my image gallery to scroll images , i used setTimeout("myfunction()",1) in my script. Now my image gallery is working properly but problem is that the speed of scrolling images if normal in firefox, but in internet explorer it is slow, and in google chrome it is very fast , Sir how to resolve this problem
I prefer jQuery over flash and not sure how to tackle this, so please advise as best you can. Trying to create a site that allows for images to go full browser and then have the ability to have the other images slide in based on a click.
I also want to float a menu that will allow it to pull in other media (video, that would slide in the same way). The best example I can share is this: http://j.mp/5U79i1 What he is using is flash based (slideshowpro director and slideshow pro for flash). Not interested in flash for this personal project.
There is a slideshow on my website that reads in the address of local images and puts them in a slideshow rotation to be displayed on the page. I currently have to "hard code" the addresses in, similar to the JavaScript below:
However, I want to be able to place images in the Images directory without having to make sure the files are named the same as in the code. I would like JavaScript to go out to a local directory, see what's in there, grab anything in jpeg format (regardless of the name), and put it in the slideshow rotation.
I'm having difficulty loading images via Ajax on a site that I've been working on.I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into a pre-defined content div. For some reason though, it seems that big images don't seem to load consistently when using this technique. Usually, they will just show up as broken images, but when I navigate to the url of the image that is 'broken', it displays just fine. Also, occasionally after navigating to the actual url of the image, my browser will cache the image and then it will display just fine when loading it through Ajax.
I am trying scrolling of images as like: [url]. I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px.
I tried even with image border propoerty and image style properties both border and padding as 0 20px. Both not working properly. The style padding property is working fine in firefox and google chrome. But it is working in IE 6.0
if i have an xml file on a server, lets say a dvd collection. and i have a form that gets information for a new dvd and i append this dvd to the dom. This i can do no problem so far using javascript the only thing that i can not do is save the changes this is easy in vb.net and c# but seeing as i have to work with the server its a whole new world. I dont want to have to use asp or anything that requiers expensive software and or ides. If it can be done with jscript this would be great. or does this sort of thing depend on the server itself?
I have a number of images placed on a map (the images are dots indicating a location)
When clicked, that displays different textual information somewhere on the page. View here and click the dots on the map for what I am trying to explain: [url]
What I want to do now is to toggle these dots so that when clicked, the dot turns white. This I could do with some code I found on the net. However, I need it to toggle all images. In that if one image has been clicked and turned white, and then the user clicks a different black ot, then that black dot should turn white, and the white dot should turn back clack.