Frames

This is a discussion on "Frames" within the Web Page Design section. This forum, and the thread "Frames are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 25th, 2006, 20:18
New Member
Join Date: Jan 2006
Age: 18
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Frames

Hey all,

Sorry if this is wrong place to post this but it seems to be most fitting.

Ive got my main index file and int he navigation i have an iframe including a file with a login script to my forums. The problem is whenever someone tries to login it will load up inside the iframe and not the whole page. As it is a login script i dont see a way to add

target="_parent"

on the link as there is no link just

<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />

Is it possible to make every link in the iframe open in the _parent frame with some little magical code or do i add something like

<input type="submit" class="mainoption" name="login" value="{L_LOGIN} target="_parent" " />

Thanks for any help,
Point
Reply With Quote

  #2 (permalink)  
Old Jan 25th, 2006, 20:50
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Frames

Honestly, I think you have it right, did you try it?
Reply With Quote
  #3 (permalink)  
Old Jan 26th, 2006, 14:44
New Member
Join Date: Jan 2006
Age: 18
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Frames

Yea i tried

<input type="submit" class="mainoption" name="login" value="{L_LOGIN} target="_parent" " />

but it didnt work, is there some code that makes everything inside the iframe open in _parent?
Reply With Quote
  #4 (permalink)  
Old Jan 26th, 2006, 15:40
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Frames

What about changing the target attribute to the name of the desired frame?

Instead of target="_parent"

try

target="name of desire frame"
Reply With Quote
  #5 (permalink)  
Old Jan 26th, 2006, 16:00
New Member
Join Date: Jan 2006
Age: 18
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Frames

no such luck , ive tried

<input type="submit" class="mainoption" name="login" value="{L_LOGIN} target="_parent" " />

<input type="submit" class="mainoption" name="login" value="{L_LOGIN} target="SiteName" " />

Howabout in the iframe options which are:

<IFRAME SRC="forums/Index4.php" WIDTH=170 HEIGHT=200 frameborder="0" scrolling="no"></IFRAME>

I add something, ive allready tried adding target="_parent" but there could be something else?
Reply With Quote
  #6 (permalink)  
Old Jan 26th, 2006, 19:58
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Frames

Your second try there, where you had target="SiteName", is this the name of the frame you wish it would load in?

If you name each frame area, for instance one might be called "banner" another might be called "mainframe", simply put the name of the frame in the target area.

If this doesn't work, I'm out of guesses!
Reply With Quote
  #7 (permalink)  
Old Jan 26th, 2006, 20:09
New Member
Join Date: Jan 2006
Age: 18
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Frames

Il try to explain it a bit better,

My main page is not made up of frames, this is just one random Iframe in the navigation. The Iframe is of a file called 'index4.php' which i s just the php code and is givent he layout through another file called 'index4.tpl'. So the problem is everything in the tpl file is just done with stuff like {Blah_Blah} and doesnt actually show the the link or anything not allowing me to add target="_parent" anywhere and also the login button doesnt allow it either, so i want some way of making everything in the iframe open in the _parent way.

Thanks for all the help. This is probably not possible lol
Point
Reply With Quote
  #8 (permalink)  
Old Jan 27th, 2006, 21:30
New Member
Join Date: Jan 2006
Age: 18
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Frames

bump

anything?
Reply With Quote
Reply

Tags
frames

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to use frames but know I shouldn't! mykl Website Planning 7 Oct 11th, 2007 18:40
Frames Help lithiumforce Starting Out 4 Jun 25th, 2007 10:39
Frames piratescotty Web Page Design 8 May 22nd, 2007 19:11
Nav Bar/Frames - Plz help!!! design4586 Graphics and 3D 2 Jun 14th, 2006 16:26
I need help with frames!!!! courtjester Web Page Design 2 Sep 20th, 2003 07:30


All times are GMT. The time now is 04:11.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43