Forum Moderators: open

Message Too Old, No Replies

Iframes

Linking them

         

biocell

8:29 pm on Feb 23, 2003 (gmt 0)

10+ Year Member



ok i have been using iframes for about 2 weeks andi was wondering how to link them because how i used to do it was make a whole new apge for every link is there an easyer way to link them?

tedster

9:50 pm on Feb 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's very much like traditional frames. You can give the iframe a "name=" attribute in the <iframe> tag. Then your anchor tags elsewhere on the page can include a "target=" attribute that uses the name you assigned to the iframe. Those links will load inside the iframe without reloading the entire page.

biocell

10:03 pm on Feb 23, 2003 (gmt 0)

10+ Year Member



thanks thats what i need so like in target i put the frames name? like if the frame name was name=main in target i put _main?

tedster

10:53 pm on Feb 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You got it - and it's best to use quotes.