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.
|
|
|
|
|
![]() |
||
Frames
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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 |
|
|
|
#2
|
||||
|
||||
|
Re: Frames
Honestly, I think you have it right, did you try it?
|
|
#3
|
|||
|
|||
|
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? |
|
#4
|
||||
|
||||
|
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" |
|
#5
|
|||
|
|||
|
Re: Frames
no such luck
<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? |
|
#6
|
||||
|
||||
|
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! |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
Re: Frames
bump
anything? |
![]() |
| Tags |
| frames |
| Thread Tools | |
|
|
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 |