When I Click On A Picture That Is Supposed To Open Ina New Window It Never Does?
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
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
Nov 16, 2009
I'm using an <A> tag with an onclick event to open a window with JS (window.open)... In FIREFOX, if I click very quickly, multiple windows open. Not a problem in IE.
View 8 Replies
View Related
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
View Related
Sep 28, 2009
I wrote following code for the purpose to single right click to open new window, while left click would open another window. It works for IE but does not work for Firefox.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US|zh-Hans|zh-Hant">
<head>
[Code]....
View 21 Replies
View Related
Feb 23, 2004
I am looking for a script which will open multiple urls each in its own window from one click.
View 1 Replies
View Related
Jan 13, 2011
I have the following code:
Code:
$(".buy_icon").click(function () {
window.location = "[URL]"
});
Which loads the URL in the current browser window when the div (buy_icon) is clicked. How can I load the URL in a new tab or window?
View 2 Replies
View Related
Oct 23, 2011
I have a member search component that I've built that uses AJAX to update results on search filter change.Each result has a link with it to add that member as a friend, when you click the link it fires a modal window (colorbox) with the member data and add and cancel buttons.
Everything seems to work ok, except you have to click the link twice for the modal to fire. Is there something I can do to prevent having to click this twice to load?
View 10 Replies
View Related
Nov 21, 2010
Here's what I have so far, it doesn't work:
HTML Code:
I have a popup that submits a link. After the link is submitted, I want the user to be able to close the popup and go to the submitted link in one click. How can I do this.
I have my reasons for using popups, it's hard to explain. Please don't tell me how bad popups are, I know they're bad.
View 2 Replies
View Related
Sep 24, 2007
Basically I want some of the links in my page to open in new tabs (I'm
using Firefox) or windows if the user has their options configured
that way. And I want my page to remain intact as it involves some AJAX
and takes a while to load.
But ...and this seems to be a big "but"... I don't want the focus to
move away from the page I'm on. So techniques such as <a
target="_blank"or <a onclick="window.open(...)"aren't working for
this requirement. I even tried using a separate function and
attempting to return to the original window straight after using the
following function: Code:
View 7 Replies
View Related
Sep 25, 2010
I am using:
echo("<td class='ddclick'><a href='#'><b>$value</b></a>");
to make a column clickable and then when clicked I need to open a pop-up window. I use the click event to get the data I need to pass to the new widow. This is working.
Then I use window.open(URL...) to open the window.
Now, I need to stop the information from the click event of the href from being passed to the browser. Is the href the proper way to do this or can I make it clickable via jQuery?
It does open a new page in firefox but generates an error in IE 8.
Is there a jQuery way to open a pop-up window that will work in IE and FF?
View 9 Replies
View Related
Feb 2, 2010
I'm having a little problem with creating a element in internet explorer. The element that I'm creating is a div with a few style attributes to to it. The div is suppose to cover the whole page almost like a black transparent window on the page. However it is not. The messed up part about this is that it works fine in Firefox, google chrome and I'm sure other browsers (though haven't tested) and when I go to apply the div in my actual code as javascript is suppose to when you tell it create it, it works fine. No problems whatsoever.
function showPhotoUpload() {
var overlay = document.createElement("div");
overlay.setAttribute("style","z-index:3; background:#111111; width:100%; height:100%;
[code]....
View 7 Replies
View Related
Feb 7, 2009
I have this piece of code which is opening link in new window:
How to change this code so link would open in the same window?
Probably I should change this part: javascript:void window.open
View 1 Replies
View Related
Jul 13, 2009
I cant really figure this out, the only thing i could see messing it up is the javascript:void(0) inside the anchor link but since there is a double click function and a click, it should only be one click.I put autoOpen which i think is also causing it, but i did that so theuser can open it, close it, and open it again so the delay "double click" is saying for the first time initialize and then the second click is opening?? if so how do i get around this?
HERE IS MY JQUERY
$(document).ready(function(){
$("#pro_edit_profile").hide();[code]....
HERE IS MY HTML FOR THE LINK
<a href="javascript:void(0);" id="pro_edit_pic_link" name="Change
Profile Picture">Change Profile Picture</a>
View 1 Replies
View Related
Jul 20, 2005
I'm a newbie...I'm having trouble changing the size of an image when I
use different window sizes when loading the and resizing the browser window.
View 3 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
Jan 17, 2012
I have a problem on the links on my page im working.sorry guys still a noob and my english is not that good. :b. my question is like i have a list of packages of food. [link_a] [link_b] [link_c] and i have a function that i put in my head tag:
function linkA()
{
window.open('link_a.html','link','width=300,height=200,resizable=yes');
}
now i can go to linka.html by click my link <A HREF="javascript:linkA()" >link a</A> is there a way i can have one functions that can open a link depend on what page .when it clicks then go to its designated page or i have to stick on writing function for linkB ,C,D and so on.
View 7 Replies
View Related
Oct 19, 2011
How to open a link on the same window using window.open or any other method in JavaScript.
View 2 Replies
View Related
Aug 13, 2009
So I wrote some javascript to open a popup window when the thumbnail pictures are clicked. Everything works fine except for two minor details I would like to fix.
1. The images are distorted in the popup window.
2. I want to be able to resize the window and have the picture inside resize along with it.
<script type="text/javascript">
function enlargeImage(Url,width,height){
var enlarged = new Image();
enlarged.src = ''+Url+''
var prevW = window.open("","newWin","width="+width+",height="+height+",
top=140,left=200,scrollbars=yes,resizable=yes");
prevW.document.write('<html><head><title>Preview Image</title><style type="text/css">body{margin: 0px; padding:0px;}
img{margin: 0px; padding: 0px;}</style></head><body>
<img alt="Click to Close" title="Click to Close"
style="border: 0px; padding: 0px;"
src="'+Url+'" width="'+width+ '" height="'+height+'"
onclick="java script:window.close();" /></body></html>');
}
</script>
And here's a copy of one of the pictures I have in my table (the code I mean)
<TD rowspan=1 style="width: 104px"><center><a href="java script:">
<img alt="Click to Enlarge" title="Click to Enlarge" src="landscape/landscape/images/archery.jpg" width="120px" height="100px" style="border: 0px" onclick="enlargeImage(this.src,'800','600');" >
</a></center></TD>
View 1 Replies
View Related
Jan 29, 2010
I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
View 4 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
Dec 1, 2011
Code: window.location but have it open in new browser window (like with target="_blank", not window.open)
View 7 Replies
View Related
Jul 23, 2005
Through window.open or window.showmodaldialog, I want to open a word
or excel document in Print Preview mode. Bcos I don't want the user to
make any changes or save it but the user can ONLY VIEW OR take a print
out.
View 1 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