boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

link targeting

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
Witchy Mama



Joined: 02 Apr 2004
Posts: 14

PostPosted: Mon Jul 05, 2004 6:47 am    Post subject: link targeting Reply with quote

ok well I am working on a new layout which includeds iFrames, >>click here<<, anyway I want to know how I would be able to make it so that when you click on the archives (which are in the smaller frame) it will open in the blog section (the larger iframe).

Oh yeah and in the smaller frame is it repeating 3 times? cause it is for me, tis very odd, anyone know how to fix that?...[/url]
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Mon Jul 05, 2004 3:12 pm    Post subject: Reply with quote

Have you named the iframes? Then it's easy, just:

Code:
<a href="http://www.sigg3.net" target="nameofiframe">Sigg3 dot net</a>


If you haven't named it, it should look like this:

<iframe name="sigg3" blah blah blah>NO-Frames_Message</iframe>
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Witchy Mama



Joined: 02 Apr 2004
Posts: 14

PostPosted: Tue Jul 06, 2004 2:11 am    Post subject: Reply with quote

ok so I just put that code around the [quote]<?php include("b2archives.php") ?>
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Tue Jul 06, 2004 8:12 am    Post subject: Reply with quote

Let's say your mainframe is called "main", and your littleiframe is called "small". By default (unchangeable I guess) the index itself is called _parent, but don't mind that.

If the link to the archives is in _parent, just add a target="main" to your link-tags.

AHA!

I just noticed:)
You don't link the b2archives include. you make a new file called archives.php for instance, containing the <include> command ( See my own example: http://www.sigg3.net/archives.php ), which is the file you'll link to..
You can't target an include, 'cause it's like an iframe (only alot better).
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group