LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2005, 04:22 PM   #1
Mq2004
LQ Newbie
 
Registered: Oct 2004
Location: Oxford, England
Distribution: SuSE since 5.2 - currently enjoying OpenSuSE 10.3 and testing 11.0 alphas
Posts: 24

Rep: Reputation: 15
Simple PHP / HTML frames question


This is a very simple question about frames that would be answered by a decent book, if I had one . However, I'm not trying to learn web programming - I just need a simple interface to use a couple of tools.

I have added a link from my home-page to the first tool (written in php), it uses frames. The link works just fine & I can use the tool. However, the only way to exit it is to close the browser window (or the tab, using Firefox), so I want to modify teh php to add a button to return to my home-page. When I do so it leaves frames active, putting my home-page in just one of them

Please can anyone advise how to disable the frames?

The relevant section of the php is:

<table class="edit_dn_menu" width=100%>
<tr>
<td><img src="images/home.png" alt="<?php echo $lang['home']; ?>" /></td>
<td width=50%><nobr><a href="/index.html" target="right_frame"><?php echo $lang['home']; ?></a></nobr></td>
(more <td> ... </td> lines)
</tr>


Many thanks!

Richard.
 
Old 05-03-2005, 06:20 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Code:
target="_top"
 
Old 05-04-2005, 10:36 AM   #3
Mq2004
LQ Newbie
 
Registered: Oct 2004
Location: Oxford, England
Distribution: SuSE since 5.2 - currently enjoying OpenSuSE 10.3 and testing 11.0 alphas
Posts: 24

Original Poster
Rep: Reputation: 15
Great, that works a treat. Many thanks!

Maybe I should go get a book...

Richard.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML frames javascript php problem rblampain Programming 4 04-08-2005 02:51 AM
Possible to create a frames effect in an HTML page without using frames? furfurdemon666 General 10 12-12-2004 06:52 AM
simple q: can you use php inside an html document? BrianK Programming 2 12-10-2004 09:31 PM
Creating a simple html page from php? lucastic Linux - General 4 11-05-2003 08:48 AM
frames in html and php ranixlb Programming 3 12-04-2002 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration