Closed Thread Icon

Topic awaiting preservation: JS newbie question (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8260" title="Pages that link to Topic awaiting preservation: JS newbie question (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: JS newbie question <span class="small">(Page 1 of 1)</span>\

 
indus2002
Paranoid (IV) Inmate

From: Maine
Insane since: Nov 2001

posted posted 08-14-2002 21:12

I want to have a new window to open to the size of the image that the thumbnail link is pointing to....say like 392 x 500 and another image is 500 x 387. Can I get some help please.....I wish I knew JS so I wouldnt have to ask you guys.

Peace

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-14-2002 21:15

http://www.bugimus.com/gurus/image_popup/imagepopup.html


Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 08-14-2002 21:28

is this what you mean?
http://www.ozoneasylum.com/Forum2/HTML/001708.html


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

indus2002
Paranoid (IV) Inmate

From: Maine
Insane since: Nov 2001

posted posted 08-14-2002 22:36

Yes.....yes yes.....thanks a bunch Mr. Max and Petskull. It's is exactly what I am looking for.

Peace

indus2002
Paranoid (IV) Inmate

From: Maine
Insane since: Nov 2001

posted posted 08-15-2002 14:48

Problem is that I am using this on my cousins photography business site and I don't think that will be allowed. I guess I will have to look elsewhere or just ditch the whole thing for the site.

indus2002
Paranoid (IV) Inmate

From: Maine
Insane since: Nov 2001

posted posted 08-15-2002 15:31

I came up with this that I found that I can use for free and I am just testing it out. I wanted to know how I can get the background of the pop up to have a black background instead of the white it shows up as....

<html>
<head>
<title>Untitled Document</title>
<script language = javascript>
function image_open(image_loc)
{
var var_image = new Image();
var_image.src = image_loc;
width = var_image.width + 20;
heigth = var_image.height +30;
str_style= "\" width="+width+",height="+heigth+"\"";
window.open(var_image.src,"myImage",str_style);

}
</script>

</head>
<body bgcolor="#000000" text="#000000">
<img src="file:///D

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-15-2002 16:28

indus2002:

Why can't you use Bug's code? He won't mind I'm sure but you could always email him and ask his permission but I do beleive that he did that so people could use it. Or am I just not understanding your situation?

Later,
C:\


~Binary is best~

indus2002
Paranoid (IV) Inmate

From: Maine
Insane since: Nov 2001

posted posted 08-15-2002 16:41

CPrompt....it's for a business site or I may just have read his comments the wrong way. I could email him and ask...I just dont wanna take it without it being ok to use.

quote:
Written by Bugimus
Copyright © 1998-2001 Bugimus, all rights reserved.
You may use this code for non-commercial use provided you leave this comment block intact
or credit me in your code.
A link back to Bugimus' page would be much appreciated but not required.



Peace

[This message has been edited by indus2002 (edited 08-15-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu