codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  iframe targeting  singhan at 08:58 on Tuesday, February 15, 2005
 

I have a linking problem-that is probably simple but keeping me up!

So my problem is: I have page1.htm with text links on the bottom, one link is A.

I want A (/forum/A.htm) to open in page2.htm in the iframe named frame. I used this code:
<A HREF="/forum/page22.htm" onClick="window.self.location='/forum/A.htm'"
TARGET="display">A</a> but it opens page2.htm but not with the A.htm in the iframe.
I changed target to "frame", self... still not working-I don't even know if that's the problem.

Any help appreciated. Thanks!

  Re: iframe targeting  websandy at 09:19 on Tuesday, February 15, 2005
 

your problem seems to be not very clear.....
one mistake that is obvious is u r providing both href and also onclick which is very much wrong...

so can you be more clear and complete

  Re: iframe targeting  singhan at 16:30 on Tuesday, February 15, 2005
 

I'll give the url and maybe that would help. On the http://www.spa1221.com/press2.htm page I want the Legal text link (on bottom of the page) to open up the http://www.spa1221.com/customerservice2.htm page that contains the iframe named "frame" . It does that now, however in the iframe is the cs.htm page and I want it to have the legal.htm page there instead.

Make more sense?

Thanks

  Re: iframe targeting  websandy at 06:14 on Thursday, February 17, 2005
 

In the Customerservice2.htm where you have a iframe
name 'frame' for which you have given the src="/forum/cs.htm" rereplace it with src="/forum/legal.htm"








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: C# and EXCEL question saving a file saving the the first column as read only
•  Iexplore -
•  Iframe and Div Layer Scrollbar Problem
•  Left margin increases as page fills.....
•  Re: Parse error that is slowly driving me insane
•  simple javascript/dhtml drop-down menu
•  notify an object that the user interface has changed one of its properties
•  Re: Print and print preview file on the website without using the File - Print on the IE
•  how we convert image into byte array in rmi


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005