How to open small window inside an...

User 107145 Photo


Registered User
88 posts

I am trying to open a small window inside an already open window. I have some thumbnail images on a page. When you click on an small image, I would like to have a small window open with a larger image and some descriptive text. I know ... <a href="largeimage.html" target=_blank> will open a new window but how do you size the new smaller window?

I also do not want the smaller window to have a tool bar, scrollbars, menus, etc. Just a simple plain window with the larger image and some text. How is this done?

Thanks for your help
pk
... so much to learn!!
User 193638 Photo


Registered User
557 posts

I am not sure if this is what you might be looking for. But it is an earlier thread on somewhat the same subject.

http://www.coffeecup.com/forums/designer/insert-a-frame/
User 122279 Photo


Senior Advisor
14,613 posts
Online Now

Check out the various options here:

http://www.dynamicdrive.com/dynamicindex4/indexb.html
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 364143 Photo


Guest
5,410 posts

New window/tab will open differently depending on browser and version.
CoffeeCup... Yeah, they are the best!
User 131437 Photo


Ambassador
151 posts

Be very careful, you are entering very dangerous waters. What you want to do is fairly easy it is also why every browser has pop-up blockers. It is another function that has been co-opted by the "bad-guys". Doing this could get your site black-listed as potentially dangerous.

But since you wanted it you've got it.


<a href="#" onClick="MyWindow=window.open('http://www.microsoft.com','MyWindow','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=300,height=100,left=20,top=20');
return false;"> Click here </a>

Visit <a href="http://leviabbott.com" target="_blank">LeviAbbott.com</a>!
User 38401 Photo


Senior Advisor
10,951 posts

You could also try something like http://visuallightbox.com if that's what you are talking about is a zoomed in larger image that could have a caption. I'm not sure if it does captions, but I would think so, haven't tried that lol.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.