473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Opening a pop-up from a pop-up

I have a site at http://www.honeyantgallery.com which shows paintings
by Australian Aboriginal artists. A visitor can click on a thumbnail
of a painting and an enlarged version pops up in a new window.

The client now wants to add close-up details of paintings to be linked
from the pop-up but I can't get the pop-up to create another pop-up -
the close-up detail opens in the same window and looks silly.

Is there a way to achieve this? The only artist for whom a close-up
has been uploaded is Andrew Spencer Tjapaltjarri so it will be
necessary to click on "Paintings" and select him from the drop down
list of artists.

Howard
Jul 11 '07 #1
3 1155

"Howard Martin" <cs*@koalanet.com.auwrote in message
news:gr********************************@4ax.com...
>I have a site at http://www.honeyantgallery.com which shows paintings
by Australian Aboriginal artists. A visitor can click on a thumbnail
of a painting and an enlarged version pops up in a new window.
Or if they have scripting disabled (or on a device without scripting),
nothing happens. Use a link to change to the page with the enlarged image
(including navigation to get back of course.) Popups are annoying and are
problematic due to blocking utilities. If you do decide to use script to
open another tab (preferred method) or window, don't overwrite the location
of the links, use onclick handlers.
Jul 11 '07 #2
While the city slept, Howard Martin (cs*@koalanet.com.au) feverishly
typed...
I have a site at http://www.honeyantgallery.com which shows paintings
by Australian Aboriginal artists. A visitor can click on a thumbnail
of a painting and an enlarged version pops up in a new window.

The client now wants to add close-up details of paintings to be linked
from the pop-up but I can't get the pop-up to create another pop-up -
the close-up detail opens in the same window and looks silly.
Here's an idea... You currently show the artwork in the popup with a link
above saying "click for close-up detail". How about, that link shows a
similar page in the same window (not another popup) showing the closeup
image with a similar link above saying "return to overview" or something
similar?

Also, follow the advice about not using javascript as your link address. Try
something like

<a href="enlargement2.html?pic=354" onclick="openWindow2(this.href, '469',
'311'); return false;">blah</a>

Hope that helps,
Nige

--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. ni***@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"
Jul 11 '07 #3
On Wed, 11 Jul 2007 23:11:13 +0100, "nice.guy.nige"
<ni********@deadspam.comwrote:
>
Here's an idea... You currently show the artwork in the popup with a link
>>
Also, follow the advice about not using javascript as your link address. Try
something like
Many thanks, David and Nige. I woke up to an email from the client
saying he is happy with the way it is but I think I will (later today)
follow the advice of both of you.

Howard
Jul 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jean-Fran?ois Lacrampe | last post by:
Hello, I want to write a _very_ simple text parser that would replace a string like: "This is text with /italics/, *bold* and _underline_." and generate automatically something like this: ...
2
by: Dena Leiter | last post by:
I want to send people to a new page using a redirect but I want a new window to open. Is this possible? I've tried this: <meta http-equiv="refresh"...
5
by: PM | last post by:
Has anyone found a way to open a file exclusively where it will fail if the file is already open, i have tried the following _FileStream = new FileStream(@"C:\Data.txt", FileMode.Open,...
1
by: Alfons | last post by:
Hello, I have build a program that can do file transferring between a Windows XP computer and a DOS computer via a serial port. The Windows program I have build in C++ with Visual Studio 6.0....
8
by: Vigneshwaran G via DotNetMonster.com | last post by:
Hi , I am in need of opening a new IE browser with an URL from my windows form, coded in vb.net. I tried with the following code. Dim psi As New ProcessStartInfo psi.FileName = "iexplore"...
1
by: kevcar40 | last post by:
hi is it possible to stop a form opening if the result of the query is null? eg select a company name from a combobox if the name is not in the table (ie the query returns null) can i stop...
11
by: emailus | last post by:
I am webmaster for the domain <www.alpha1.org.au>. Not being an expert in html, I take advantage of my domain Registrant's web building tool, 'Instant Website'. This tool is provided as part of...
15
by: Umesh | last post by:
how to open a website like yahoo.com and use it as input? The following code doesn't work. #include"stdio.h" int main() { FILE *f; f=fopen("http://www.yahoo.com","r"); if(f==NULL)
3
by: Luke Davis | last post by:
I'm looking for an effective way to open and close TCP ports. Can I do this through Tcpclient? And I know this is a potential security risk, so what kind of permission must the person running...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.