The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> iframe?, Noob question but can't get it to work
CRazzym3x
post Feb 24 2008, 04:18 AM
Post #1





Group: Members
Posts: 1
Joined: 24-February 08
Member No.: 5,032



Hi, I am trying to make a website. It is consisted of 2 iframes. I am trying to setup a link (on a tree menu) which when you click it the desired website will load on the other iframe.

I can't get it to work:

My target iframe:
CODE
<td style='height: 500px; width: 100%'><iframe width='100%' style='border:0px;' src="test1.html" name='content1' /></td>


My link (example)
CODE
<a href="test2.html" target="content1">a</a>


When I load the webpage it wont load the src of the iframe, and when I click the link it opens it in a new tab/window.

It works on IE but not on firefox

This post has been edited by CRazzym3x: Feb 24 2008, 04:20 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 24 2008, 11:13 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Iframes need a closing tag.

But see also http://htmlhelp.com/faq/html/frames.html#frame-problems
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 03:49 PM