Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > link toolbar

Reply
Thread Tools

link toolbar

 
 
Richard
Guest
Posts: n/a
 
      09-28-2006

I am an HTML newbie.

I have created a table class "links" in a CSS. I include this in to my
source files.

In HTML I create a table of that tables class maintain a host of links to other pages on my
site. A toolbar if you like.

But currently I paste the same block of html (the table) onto all
pages. What is best way to "include" such a table so that the html is
not duplicated?

many thanks for any pointers.
-
 
Reply With Quote
 
 
 
 
freemont
Guest
Posts: n/a
 
      09-28-2006
On Thu, 28 Sep 2006 21:00:02 +0200, Richard wrote:

> What is best way to "include" such a table so that the html is not
> duplicated?
>
> many thanks for any pointers.


http://tinyurl.com/gvdd6

--
"Because all you of Earth are idiots!"
¯`ˇ.¸¸.ˇ´¯`ˇ-> freemontŠ <-ˇ´¯`ˇ.¸¸.ˇ´¯
 
Reply With Quote
 
 
 
 
jojo
Guest
Posts: n/a
 
      09-28-2006
Richard wrote:
^^^^^^^ not the bast name to have... you could easily be mixed up with
RtS (Google for "Richard Bullis" if you do not know him...). But I guess
you are not him... or at least I hope...

> I am an HTML newbie.
>
> I have created a table class "links" in a CSS. I include this in to my
> source files.
>

I'm sorry? what exactly did you do? I guess something like
table.links {}?? Perhaps you can post a URL?

> In HTML I create a table of that tables class maintain a host of links to other pages on my
> site. A toolbar if you like.
>

a table of that tables? what should that be again?? please try at least
to describe your problem understandable...
Erm... and BTW: do your tables show any tabular data? I guess not... so
don't use tables then...

> But currently I paste the same block of html (the table) onto all
> pages. What is best way to "include" such a table so that the html is
> not duplicated?
>


> many thanks for any pointers.


any pointers? rewrite your question, make clear what you had done and
what you want to do, post a URL, ... may be easier to answer your
question if one can understand it...
 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      09-28-2006
freemont <> writes:

> On Thu, 28 Sep 2006 21:00:02 +0200, Richard wrote:
>
>> What is best way to "include" such a table so that the html is not
>> duplicated?
>>
>> many thanks for any pointers.

>
> http://tinyurl.com/gvdd6


So there is no common HTML "defined" way? My stuff is currently hosted
on an MS Server - and that means using ASP if I want server side
includes to work. I dont want to have .asp files because I want to
seamlessly share the files to a Unix server shortly without having to
rename files back to html.

I guess I was kind of hoping that I could somehow encode my table of
links into the CSS file which is used identically on windows asp or
unix/linux apache servers.

--
 
Reply With Quote
 
Harlan Messinger
Guest
Posts: n/a
 
      09-28-2006
Richard wrote:
> freemont <> writes:
>
>> On Thu, 28 Sep 2006 21:00:02 +0200, Richard wrote:
>>
>>> What is best way to "include" such a table so that the html is not
>>> duplicated?
>>>
>>> many thanks for any pointers.

>> http://tinyurl.com/gvdd6

>
> So there is no common HTML "defined" way?


What's in the HTML is the client's business. The only thing an HTML
server does with a page is blindly copy it to the output stream being
sent to the client. There isn't a means in HTML to tell the server to do
something other than that because the server would never notice it. If
you want such a marker to be noticed, you need something that isn't only
an HTML server, like the ASP processor in IIS, an SSI or PHP processor, etc.

> My stuff is currently hosted
> on an MS Server - and that means using ASP if I want server side
> includes to work. I dont want to have .asp files because I want to
> seamlessly share the files to a Unix server shortly without having to
> rename files back to html.


Change the extension to .shtml and the SSI processor in IIS will kick in
and do what you want without resorting to ASP. I believe .shtml works as
well on your average Unix server, though I'm not very knowledgeable
about that.

Alternatively (speaking with reference to IIS 5), you can go into the
App Mappings tab on the Configuration dialog accessed from the Home
Directory properties for your site (or the Virtual Directory properties
for your application) and add a mapping for the .html extension
identical to the existing one for the .shtml extension, though that may
not be a great idea.

>
> I guess I was kind of hoping that I could somehow encode my table of
> links into the CSS file which is used identically on windows asp or
> unix/linux apache servers.


CSS doesn't do that.

 
Reply With Quote
 
freemont
Guest
Posts: n/a
 
      09-28-2006
On Thu, 28 Sep 2006 23:01:54 +0200, Richard wrote:

> freemont <> writes:
>
>> On Thu, 28 Sep 2006 21:00:02 +0200, Richard wrote:
>>
>>> What is best way to "include" such a table so that the html is not
>>> duplicated?
>>>
>>> many thanks for any pointers.

>>
>> http://tinyurl.com/gvdd6

>
> So there is no common HTML "defined" way? My stuff is currently hosted
> on an MS Server - and that means using ASP if I want server side
> includes to work. I dont want to have .asp files because I want to
> seamlessly share the files to a Unix server shortly without having to
> rename files back to html.
>
> I guess I was kind of hoping that I could somehow encode my table of
> links into the CSS file which is used identically on windows asp or
> unix/linux apache servers.


I hate saying it, but of course frames or iframes could possibly
accomplish what you're saying... but you don't want to go there. Includes
are the way to go. You say "I want to seamlessly share the files to a Unix
server". Read about PHP includes. They are *not* difficult to use. Many
decent hosts will have PHP set up for Windows and Linux.

--
"Because all you of Earth are idiots!"
¯`ˇ.¸¸.ˇ´¯`ˇ-> freemontŠ <-ˇ´¯`ˇ.¸¸.ˇ´¯
 
Reply With Quote
 
Toby Inkster
Guest
Posts: n/a
 
      09-29-2006
Harlan Messinger wrote:

> Change the extension to .shtml and the SSI processor in IIS will kick in
> and do what you want without resorting to ASP. I believe .shtml works as
> well on your average Unix server, though I'm not very knowledgeable
> about that.


Indeed, it does.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
Andy Dingley
Guest
Posts: n/a
 
      09-29-2006

Richard wrote:

> So there is no common HTML "defined" way?


Fortunately not. HTML defines what it defines, and it does it well
enough. It would be wrong to stretch HTML into things it has no purpose
trying to specifiy. There are plenty of other "standard" ways of doing
this outside of HTML (where "standard" means "for all those people
trying to do much the same thing, from much the same environment")

> My stuff is currently hosted
> on an MS Server - and that means using ASP if I want server side
> includes to work.


No, it doesn't. You can (and it might even be a good solution) but
there's also an ISAPI filter shipped with IIS that can do includes
without having to turn on the full-blown ASP behemoth.

 
Reply With Quote
 
Daniel R. Tobias
Guest
Posts: n/a
 
      10-01-2006
Richard wrote:
> So there is no common HTML "defined" way? My stuff is currently hosted
> on an MS Server - and that means using ASP if I want server side
> includes to work. I dont want to have .asp files because I want to
> seamlessly share the files to a Unix server shortly without having to
> rename files back to html.


There actually is a LINK tag for defining links for the possible use by
browsers generating a toolbar on their own, but unfortunately actual
browser support is really miserable (I think Opera supports it, and
Mozilla Seamonkey [though it's turned off by default there], but Firefox
doesn't have it).

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-04-2006
Daniel R. Tobias wrote:

> There actually is a LINK tag for defining links for the possible use by
> browsers generating a toolbar on their own, but unfortunately actual
> browser support is really miserable (I think Opera supports it, and
> Mozilla Seamonkey [though it's turned off by default there], but Firefox
> doesn't have it).
>

Again, yes Firefox does have it via an extension. Firefox is supposed to
come 'stripped' and functionality is added as needed by extensions. The
best one for the link bar that I have found was cmSiteNavigation Toolbar
https://addons.mozilla.org/firefox/1324/

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
window.open with toolbar=1 and without google toolbar ? pcouas Javascript 0 02-19-2007 08:28 AM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM
Toolbar behind toolbar help pls? Dribbler Computer Support 4 05-01-2005 11:10 AM
firefox "send link" with "Mail" toolbar button gone EA Firefox 6 02-26-2005 10:10 AM



Advertisments
 



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 44 45 46 47 48 49 50 51 52 53 54 55 56 57