Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening asp page

Status
Not open for further replies.

colly24

Technical User
Jun 27, 2002
11
US
Hi,
I'm running a script to link to another ASP page. But when selected i get an error message saying:

"IE cannot download d from....plannedActualsMetrics.asp'||http. IE was unable to open this internet site. The requested site is unavailable or cannot be found. Please try again later."

The link itself is:
Code:
<a href="javascript:top.window.location.href = 'PlannedActualsMetrics.asp'">[ Metrics ]</a>

So it seems to be appending the http extension to the end of the link and i can't work out why because it does still link to the required page, but this error message is a pain.

any help would be great

 

Try this instead:

Code:
<a href="#" onclick="top.location = 'PlannedActualsMetrics.asp'; return(false);">[ Metrics ]</a>

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top