| View previous topic :: View next topic |
| Author |
Message |
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Thu Jul 19, 2007 4:31 pm iframe question |
|
|
|
| Hi, I'm in the process of building a website and I have a little problem with iframes. I know that this question has been covered numerous times in here but I still don't get how it works. My website has several pages beside the main page which is index.html What I want is that whenever my visitors click on a link to a page of my website, it would open in the iframes only and not having to refresh the whole page. I hope it makes sense and please help!!! |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Fri Jul 20, 2007 6:15 am |
|
|
|
| How do I target them? Sorry if this is such a dumb question, I'm really new to this and I'm not very good with html; therefore I'm using a program called "Webpage Maker V2" to design my website. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Fri Jul 20, 2007 8:13 am |
|
|
|
I've got that code from one of the thread in here but I still don't get how you do it. I want to target my frames somewhat similar to this website:
http://www.geocities.com/forever_anne_heung/
just a random webpage I picked
How do I go to target frames in frames? in other word, how do I target links inside the frames? Sorry for the trouble but I would really appreciate your help! |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
Posted: Fri Jul 20, 2007 10:08 am |
|
|
|
I looked at the source code but that did not have an <iframe> tag.
| Code: |
| <iframe src="http://www.example.com" height="450" width="200" name="framename"></iframe> |
is an example of the iframe and then you would target the name framename in your <a> tag.
_________________
Corey
Toll Free Numbers | Merchant Accounts |
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Fri Jul 20, 2007 11:08 am |
|
|
|
Can you help me with the html please! I tried to do it but it just doesn't work. I'm clueless when it comes to html
This is my html code
and this is what I get
how can I link page 3 to another page (i'll just call it "page4") which of course also load into the same iframe? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Sat Jul 21, 2007 6:52 am |
|
|
|
| Finally, now I get it. I have another question though. Instead of the text "page3", suppose if I have an image at its place, how do I link that? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Sat Jul 21, 2007 7:52 am |
|
|
|
| can you still explain that a bit further please,sorry! I really don't know where to start. What I get from your statement is that the image needs to be on a page of its own? And if I have more than one image, then I need to create HTML page for each of those? |
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Sat Jul 21, 2007 9:08 am |
|
|
|
| Oh, never mind! I think I know how to insert the images. However, I encounter another problem, I hope you can help. Now how can I target that image to another page which also would open in the same iframes? I put in the iframes code and when I clicked on the image, it opened to the page I wanted but that page doesn't seem to stay in the iframes box. |
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Sat Jul 21, 2007 9:33 am |
|
|
|
| Wow, i'm so happy I finally figured it out. I'm getting the hang of these HTML codes. I can't thank enough for helping me, appreciate it!!! Just want to add that although I kind of get how HTML works, I might have problems now and then during the process of building my website. So I might be back in this forum asking more questions about HTML. Anywayz,just want to comment that this forum is so informative, a great web help to newbie like me, definitely will check back for more tips and info on web designing. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
|
autumn
Joined: 19 Jul 2007 Posts: 13
|
Posted: Thu Aug 02, 2007 8:08 pm |
|
|
|
Hi, sorry for bothering you again but I need help. I didn't start a new thread because my question is about iframes. How can I get a page (let's just call it page1) to load into my "Main" page? so that when people type in my web addresss, they would automatically see page1 on the main page's frame box. I used the "target" code but it didn't work.
These codes are from my "Main" page
 |
|
|