Click On Picture Fo Bigger Picture
Oct 17, 2006
I'd like to know please if there is a Javascript solution for enlarging pictures.
The outcome I am seeking is for the user to click on a thumbnail picture which then links to a bigger picture I dont want to use a HTML hyperlink.
View 4 Replies
ADVERTISEMENT
Feb 25, 2011
So I wish to be able to click on a small thumbnail (small_tn1.jpeg) and a bigger picture pops out in a new window. (big_tn1.jpeg).I have looked at lightbox-versions but they are to complex with code.I want to use one function openBig() to be able to use on all my pictures on the site. So all my pictures will be named; small_tn1.jpeg, big_tn1.jpeg, small_tn2.jpeg, big_tn2.jpeg...I haven't found any that full fill my request. The closest code I found is for only a single-image. http://www.pcurtis.com/popup_advanced.htm*It's a school assignment, so I can not use jQuery or target="_blank"*
View 3 Replies
View Related
Apr 28, 2009
The code is working 100%, but the only problem is with the function calling statement. It is working on the first img (picture) i want it to be called on the second picture.
<!DOCTYPE html PUBLIC "-w3cDTD xhtml 1.0 strict EN"
<html xmlns=http:www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = http:www.w3.org/1999/xhtml">
[code]....
View 1 Replies
View Related
Nov 23, 2010
I am trying to change a picture in a program but I keeps being a broken picture link.
[Code]...
View 1 Replies
View Related
Jan 23, 2011
I've been working on photo gallery that can be seen here: [URL] I would like the title to change according to the picture selected. This works when you click on the thumbnail images. However, it current does not work with the drop-down menu, "back" and "next" buttons, or the automatic slide-show.
[Code]...
View 4 Replies
View Related
Jul 19, 2010
i looking for a way to stretch picture in background and put some divs over that picture with links and text. what i find so far don't work in all browsers any one know something like this?
View 5 Replies
View Related
Jul 20, 2005
Okay this is kind of an update/revision of what I posted before. Myproblem was that when I click on a picture that is supposed to open ina new window it never does. I tried downloading a newer version ofExplorer (IE6) but that did not help. I turned my pop-up software OFFso that would not interfere. When I click on the picture the bottomleft of my screen has the little explorer icon and says javascript:abrir ventana(??') the numbers vary from pic to pic and the "abrirventana" for "open window" is in spanish because the site has aspanish counterpart. This website worked for me on another computerwith XP but does not work with my windows ME. Could this be theproblem? Is there a way to fix this without upgrading to a differentversion of Windows?
View 1 Replies
View Related
Apr 14, 2007
i need to do a click on a picture in an iframe without using a mouse
click because this iframe is not visible.
Thus i wrote this :
function updtframe() {
strButton = document.getElementByName("submit").value;
document.getElementById("htmle").contentWindow.document.body.innerHTML
= strButton...;
}
And there I'm stopped idon't know how to make a click.
View 1 Replies
View Related
Jul 20, 2005
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.
View 5 Replies
View Related
Feb 11, 2007
Is it possible to get the width of a picture:
<img src="../graphics/press/bw21.jpg" width=400 height=555 alt="" border="0">
the make a box be exactly the width of the picture:
document.write('<div class="box" style="width:'+ w +'px">');
View 3 Replies
View Related
Sep 8, 2007
How can I get peoples IP, Location, Town, Browser, and others to display in a .jpg picture, for example; www.danasoft.com How do they do that? What program do I need to make something like that? I tried it in Adobe fireworks but It did not work out that well.. the html/javascript coding did not stay in the picture when I saved it as .jpg or any other file type..
View 4 Replies
View Related
Mar 5, 2004
if i have a picture 300x300 px on-line!!!
is there a way to select a piece of that picture where i want like 120x200 and that that piece is showed into new window!!
something like photoshop when i select with the mask!!!
suggestions?
View 5 Replies
View Related
Nov 1, 2011
I'm flabbergasted that I was able to get this to work.
Now - is there a way (simple way) to have the pictures fade in and out?
Right now it is instantaneous, kind of abrupt. I prefer subtle.[code]...
View 12 Replies
View Related
Jun 9, 2010
I have been trying for several days now to append a text caption to a displayed image using Javascript, but with no real success. Perhaps JS is not the best way. Has anyone a suggestion as to the best way to tackle this.
I want to replace the image captions with text ones to help speed up the site. It is my home site here [URL].
A modification of the existing code seems obvious, but I have been unable to do this.
View 6 Replies
View Related
Aug 2, 2005
Setting: chruch multimedia computer and projection system, with 2 display
monitors. The projector is connected to monitor #2.
Is there some way using JavaScript I can display a ".jpg" picture on display
#2? I know how to send the <form> tag to turn on/off the projector, but
don't know how to put up a picture. I don't want any browser artifacts to
show. Just the picture.
View 3 Replies
View Related
May 17, 2009
i was wondering if there is a way to automatically crop a picture, or only show a specific part of it with javascript.i dont know if this is important or not, but i want the cropped picture to fill the div its in, no matter what size the div is.
View 6 Replies
View Related
Apr 27, 2011
I'm working on an application that is supposed to allow a user to upload a picture, which would be immediately displayed... how do I go about doing this?
View 1 Replies
View Related
Aug 2, 2010
So I want to get view a picture off of the clients computer before uploading it, seems pretty easy with HTML 5 but I am having trouble with anything else. Here is a little code example.
<script langauge="javascript">
function changepic() {
document.getElementById('picview').img.src= "file:" +
[Code]....
View 4 Replies
View Related
Apr 8, 2011
I am developing a battleship game in javascript. I created a table of grid squares pictures. In the tags in included onclick = "a specific method to place a ship(this.id). This is not working. I am wondering if there is an easier way to pass an id through a parameter or would I have to do something different?
View 1 Replies
View Related
Oct 20, 2011
for my gallery I am using the fallowing HTML. The Images are defined as '1.jpg', '2.jpg', '3.jpg' etc.I would like to change it to 'text.jpg'. However, when I change the image names, thumbnail names and the HTML, I only have a loading screen. So there seems to be a part of the JS which needs to be changed. Any idea how to do that?
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:www.w3.org/1999/xhtml">
[code]....
View 4 Replies
View Related
Dec 9, 2011
I don't know if this is the right place to post this question but I think javascript might offer a solution. I have a 125 X 156 jpeg image with some text underneath in the right column of my home (.html) page and the same image and text in the right column of 47 other (.html) pages. When I alter the image and text in my home page I don't want to do the same 47 other times. How can I alter the image and text once and the alteration is reflected in all pages.
View 1 Replies
View Related
Dec 18, 2009
a simple script to load picture in window, scroll up picture and stop at top of picture.
View 1 Replies
View Related
Apr 11, 2005
Is there any possible way to get the picture size with JavaScript. Let's say from the file input box.
View 3 Replies
View Related
Feb 26, 2011
im learning javascript and im doing a project where i came to a wall. I have two pictures in my page and i want on mouseover one picture to jump on top of the other picture. How can i do this?
View 2 Replies
View Related
Jun 12, 2011
The background of this thread is about CAPTCHA:
HTML Code:
<script language=javascript>
id=Math.round(Math.random()*2)+1
document.write("<img src="+id+".jpg>")
</script>
above is the js code I use to generate a random id, which in effect displays id.jpg on the web page (assume we have id.jpg in the right folder).
When a user sees that page, he is going to choose what word describes the picture best. (purpose of CAPTCHA: verify the user is a human)
HTML Code:
<select name="selected[1]">
<option value="">Click to identify</option>
<option>Clock</option>
<option>Dog</option>
<option>Ship</option>
<option>Tree</option>
</select></td><td>
The selection is sent to backend php script using POST method.
Here is my problem: In the php script, I know, for example, the user chose Dog to describe the mysterious jpg generated by js code. But there's no way for me to know the id of the jpg file generated by js code. Hence, I will not be able to check whether the user chose a valid description of the jpg file.
How can I send information about the id of the jpg file to the php script?
View 1 Replies
View Related
Nov 3, 2009
How can you have a smaller version of a picture and when you click on it a bigger version pops up?
View 4 Replies
View Related