By: TREVOR
Date: 2007-02-11
Time: 10:49
|
Pop-up window and return from image in a BlockThere seem to be quite a few ways to do a pop-up - both with and without Javascript and I am confused.
TBS allows me to display my products on the screen in rows of 5 across. I now need to be able to click on a product image to pop-up a window showing a different image (such as "IMAGE2" from another column in my database) that gives the different colours/styles available for the product. I want to return back where I started when the pop-up is closed. My block html is
Best wishes....Trevor |
|
By: Keith Silav
Date: 2007-02-12
Time: 04:57
|
Re: Pop-up window and return from image in a BlockI am certainly no expert, but I think you will need to use Javascript. Javascript allows you to omit toolbars and open the window of a specific size. Javascript will also allow you to automatically navigate back to your original window after the pop-up window is closed. Take a look at this article:
http://accessify.com/features/tutorials/the-perfect-popup/ Good Luck, Keith Silva |
|
By: sheepy
Date: 2007-02-13
Time: 03:33
|
Re: Pop-up window and return from image in a BlockYou can start by adding 'target="_new"' to <a>, so that they opens in new windows. Or you can replace it with javascript for more control, but beware of popup blockers. All modern browsers come with one enabled, and almost all older browsers has one installed by vendor, repairman or user.
|