<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Fri May 24, 2013 8:15 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Fri May 24, 2013 8:15 am</pubDate>
  <lastBuildDate>Fri May 24, 2013 8:15 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: RE: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=17986#17986</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=6292'&gt;tenba&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Feb 26, 2006 3:12 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Lejon wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;To get the page to open in that very window, just use the TAGET=&quot;_TOP&quot;&lt;br /&gt;
option in the &amp;lt;A&amp;gt; Tag.. like &amp;lt;a href=&quot;http://www.linuxformat.co.uk&quot; TARGET=&quot;_TOP&quot;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;&amp;lt;a target=&quot;_top&quot; ...&amp;gt;&lt;/span&gt; appears to work in Internet Explorer only if you include the embedded html file using an iframe.  If you are using an object Firefox will do what you want (ie open the link using the entire window).  I have not figured out how to get Explorer to do it yet (assuming it's even possible).</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=17986#17986</comments>
                                        <author>tenba</author>
                                        <pubDate>Sun Feb 26, 2006 3:12 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=17986#17986</guid>
                                      </item>
                                      <item>
                                        <title>Re: Solved: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10718#10718</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2326'&gt;ollie&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Oct 25, 2005 9:03 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I agree with Lejon that PHP is one of the better ways to dynamically generate menus - but frames are one of the abonimations that should be taken out of the W3C standard. Stick to standards compliant pages that load quickly and use CSS for style so your pages are accessible to everyone - especially with the growing use of non-computers to access the Internet.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10718#10718</comments>
                                        <author>ollie</author>
                                        <pubDate>Tue Oct 25, 2005 9:03 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10718#10718</guid>
                                      </item>
                                      <item>
                                        <title>Re: Solved: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10678#10678</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3834'&gt;Lejon&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 24, 2005 7:17 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;tedius wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks Lejon,&lt;br /&gt;
&lt;br /&gt;
That is a much better way of doing it.  PHP with server side include was the thing I was really after.&lt;br /&gt;
&lt;br /&gt;
Now to try out some more fancy things, with dynamic menus &lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
I wish you the best of luck &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10678#10678</comments>
                                        <author>Lejon</author>
                                        <pubDate>Mon Oct 24, 2005 7:17 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10678#10678</guid>
                                      </item>
                                      <item>
                                        <title>Re: Solved: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10665#10665</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=148'&gt;tedius&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 24, 2005 4:19 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Lejon wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;http://www.w3schools.com/php/&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks Lejon,&lt;br /&gt;
&lt;br /&gt;
That is a much better way of doing it.  PHP with server side include was the thing I was really after.&lt;br /&gt;
&lt;br /&gt;
Now to try out some more fancy things, with dynamic menus &lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10665#10665</comments>
                                        <author>tedius</author>
                                        <pubDate>Mon Oct 24, 2005 4:19 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10665#10665</guid>
                                      </item>
                                      <item>
                                        <title>Re: Solved: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10661#10661</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3834'&gt;Lejon&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 24, 2005 3:04 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;a href=&quot;http://www.w3schools.com/php/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.w3schools.com/php/&lt;/a&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10661#10661</comments>
                                        <author>Lejon</author>
                                        <pubDate>Mon Oct 24, 2005 3:04 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10661#10661</guid>
                                      </item>
                                      <item>
                                        <title>Re: Solved: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10659#10659</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=148'&gt;tedius&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 24, 2005 2:42 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks Lejon, that was what I was looking for.&lt;br /&gt;
&lt;br /&gt;
Saying that the menu was persistent was probably not the correct word to use.  what I meant is that I have a file (menu.html) which is just a list of links and then I embed this file into each of pay pages using the object tag.&lt;br /&gt;
&lt;br /&gt;
The PHP method does seem more elegant, do you know of a good website that can show me how to do things like this?  I've never used PHP though I'm pretty good a picking new languages up.&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10659#10659</comments>
                                        <author>tedius</author>
                                        <pubDate>Mon Oct 24, 2005 2:42 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10659#10659</guid>
                                      </item>
                                      <item>
                                        <title>RE: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10642#10642</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3834'&gt;Lejon&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 24, 2005 1:28 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      To get the page to open in that very window, just use the TAGET=&quot;_TOP&quot;&lt;br /&gt;
option in the &amp;lt;A&amp;gt; Tag.. like &amp;lt;a href=&quot;http://www.linuxformat.co.uk&quot; TARGET=&quot;_TOP&quot;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
But I suspect that you want the menue to presist.&lt;br /&gt;
Then I surgest PHP.&lt;br /&gt;
And if you dont have acces to that on the server I surgest you use Frames, or iFrames.&lt;br /&gt;
example: if you create an iframe: &amp;lt;iframe name=&quot;main&quot; src=&quot;default.html&quot; width=100% height=80% frameborder=0&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;
(80% hight so that your menu still appers on top.)&lt;br /&gt;
and then you suply TARGET=&quot;main&quot;, in the A tag.&lt;br /&gt;
&lt;br /&gt;
However with this solution, you might as well just have the menu directly in the index page.&lt;br /&gt;
As that will be the &quot;mother&quot; to the site anyway.&lt;br /&gt;
(object would be overkill)</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10642#10642</comments>
                                        <author>Lejon</author>
                                        <pubDate>Mon Oct 24, 2005 1:28 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10642#10642</guid>
                                      </item>
                                      <item>
                                        <title>Solved: HTML menu</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=10635#10635</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=148'&gt;tedius&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 24, 2005 11:57 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      On my web site I have a persistent menu on every page.  I use to hard code it into every page, but that got rather annoying very quickly, as any change means I have to change all my pages.&lt;br /&gt;
&lt;br /&gt;
I then tried to add them menu to each page by embedding via the object tag i.e.&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;object type=&amp;quot;text/html&amp;quot; data=&amp;quot;menu.html&amp;quot;&amp;gt;&lt;br /&gt;
Menu failed to load.&lt;br /&gt;
&amp;lt;/object&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
This loads the menu find.  I now have the same menu on every page and if anything changes I only have to update menu.html.  But (and there is always a but) when I clink on one of the links it opens in the sub window and not the main window.&lt;br /&gt;
&lt;br /&gt;
I have a test page to show what I mean, you can find it here.&lt;br /&gt;
&lt;br /&gt;
Can anyone help me with this.&lt;br /&gt;
&lt;br /&gt;
Edit:&lt;br /&gt;
PHP and server side include is the way to go! &lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=10635#10635</comments>
                                        <author>tedius</author>
                                        <pubDate>Mon Oct 24, 2005 11:57 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=10635#10635</guid>
                                      </item></channel></rss>