Discussion Locked

Web site help

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Greetings, folks. I'm tweaking a company website, and I've come up against a problem I've never encountered before. I have a pop-up window that loads with my main page (an HTML page opened with a small Javascript). I have embedded a couple of hyperlinks within that pop-up, but when the user clicks on the hyperlink, it directs the pop-up window itself to that page. Instead of this, I want to cause the hyperlinks to direct the original browser window to the target page (preferred), or to openthe target page in a new browser window (acceptable). This is beyond my realm of experience, and I can't find any answers on how to do this in my ref manuals or online help. Suggestions?

Thanks......

5 replies

by shanghai sam

I think this will do what you are looking for. This is running on IIS 4.0 on NT4 server. This written to run in Internet Explorer 4.0 or better. Copy each of the sections into files on the web server. Put them all in the same web directory. When youopen the main.asp, it should open main in a normal browser window and then a popup window with pop.asp should show up. Click on the ‘next’ link in the popup window and the main window should change pages to next.asp. All you need to do is add more links to the popup page. Hope this works for you. I noticed you posted this in multiple areas. I figured I would respond to both of them

//////// main.asp ///////////

<%@ Language=JavaScript %>

Main page

//////////////////////////////////

/////////// pop.asp /////////////
<%@ Language=JavaScript %>

next.asp
Popup page

///////////////////////////////

////////// next.asp ///////

Next page

/////////////////////

This discussion is closed to new replies.