16 replies [Last post]
mairead
mairead's picture
Offline
Regular
Last seen: 10 years 30 weeks ago
Timezone: GMT-4
Joined: 2011-09-27
Posts: 14
Points: 21

As a struggling beginner to XHTML and CSS, can someone please tell me how to describe something?
When you don't want to use frames, or separate windows for your links, and you don't really want to navigate using your back browser, what is it called when you have tabs/links that you can click on and they are "separate" pages, where you never need your back browser? I would like to learn on my own, but I don't even know what this is called ! Need the terminology please... anyone?!
For example, this newspaper site has tabs across the top
http://english.chosun.com/
all labeled:
HOME NEWS PEOPLE INSIDE-KOREA VIDEO etc. and you click on whichever tab/link you want without having to hit your back browser. Just need terminology please....! Smile

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 5 days 20 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Hi mairead, That's just a

Hi mairead,
That's just a normal menu or navigation that links to pages within the site and keeps the header and side nav the same.

mairead
mairead's picture
Offline
Regular
Last seen: 10 years 30 weeks ago
Timezone: GMT-4
Joined: 2011-09-27
Posts: 14
Points: 21

Layout terminology

Hi Tony,

Thanks so much for your help, but I'm definitely missing something here......I'll have to "hit the books again" so to speak. So far, I only know how to make my wepage with links using the back browser to navigate. (I can also do frames or separate windows, but they are no longer recommended. )

Mairead

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 5 days 20 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

If you want to link to

If you want to link to another page in the same directory, just use the name of the file in the href of the link.

<a href="mysecondpage.html">another page</a>

mairead
mairead's picture
Offline
Regular
Last seen: 10 years 30 weeks ago
Timezone: GMT-4
Joined: 2011-09-27
Posts: 14
Points: 21

That's how I have written the layout....

Hi Tony,

That's exactly what I did..........must be something else I'm doing wrong...I have, for example,

li><a href="Publications.html" >Publications</a></li>
<li><a href="Miscpubl.html" >Miscellaneous Publications</a></li>

Each link takes me away so that I have to use the back browser, and I want to just use the links themselves to navigate like the brown-colored horizontal bar of links in this paper: http://english.chosun.com/.............I must not be explaining my problem correctly or it's something else I'm unaware of........

Mairead

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

You are still, essentially,

You are still, essentially, thinking in terms of frames , of a navigation that holds it's position page to page. Frames died a long while ago, navigating to a new page is the way things work (leaving out discussions about dynamic cms type pages) Page refreshing is now not an issue pages load quickly. The issue of navigation sounds like two things you do need to have your navigation markup repeat on each page so that you have links available but the best approach to this is to include into each page one single file that has one instance of the markup, so only one place to have to make changes for them to appear replicated across all pages.,includes are easy to set up with the major scripting languages such as PHP, ASP, CF or SSI.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

mairead
mairead's picture
Offline
Regular
Last seen: 10 years 30 weeks ago
Timezone: GMT-4
Joined: 2011-09-27
Posts: 14
Points: 21

Reply to Hugo on layout

Hi Hugo,
I appreciate your taking the time to reply. I'd like to clarify something: I am definitely NOT still thinking in terms of frames. I don't like them, and I don't want to use them. I'm aiming at something different, and have found it hard to describe, and impossible to figure out so far! I'll keep trying though !! Sorry, but I found your reply a bit unclear because of your sentence construction and grammar, and probably because I'm not as familiar with the terminology as you. I hope you don't take offence, because none is meant. I know you guys are busy and have lives and I really do appreciate your taking the time to reply to a beginner. So, thanks anyway, I think I need to pause and study/learn more before asking more questions on the topic. It does sound as though you're saying I'm going to have to learn about PHP or other scripting language..... darn it Smile

Mairead.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 4 weeks 3 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

I don't think we understand

I don't think we understand what you're having a problem with.

Do you mean your links open new windows, or tabs? Or that they actually take you to the page they're pointing at?

Verschwindende wrote:
  • CSS doesn't make pies

mairead
mairead's picture
Offline
Regular
Last seen: 10 years 30 weeks ago
Timezone: GMT-4
Joined: 2011-09-27
Posts: 14
Points: 21

Horizontal links

So sorry, I'm having difficulty describing it. Many newspapers, for example, the New York Times at www.nytimes.com
have 5 or so "tabs" of horizontal links at the top and I really like that layout. I have already succeeded in creating this layout on my webpage (still hasn't been uploaded yet) but only by navigating back and forth with the back browswer button. That's not a problem, it still looks nice and checks out with Validator, both XHTML and CSS, but it seems to me this other method is much more sophisticated and I'd like to figure out what's involved in it. I believe the NY Times layout is different from the old frames method, which I know how to do, don't use any more, and completely understand that they are way out of fashion. This is what I want to do: Just like on www.nytimes.com, I want the user to have the option of either using the back browser button to navigate to different sections, OR to just click on the links and come up on a new page, all WITHOUT using the dreaded frames. So, what's this kind of layout called? Are these iFrames, XFrames, or does this layout require PHP, Javascript, J-Query....what do I have to learn? Also, is this considered good layout? I hope I've succeeded in describing the problem....sorry if I haven't, please just tell me. Does this make sense? Thanks so much for reading my query !

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 day 16 hours ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2050
Points: 2282

I think you're going to have

I think you're going to have to get past Hugo's awful grammar and sentence structure and figure it out because he's given the answer. Some sort of server side includes or templating system.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 4 weeks 3 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

It's not a new technology you

It's not a new technology you have to learn. Look at the NY Times website. Click a link. It takes you to a different page. That's pretty much the entire point of the HTML language. If you don't want to manually write the links on every page, then yes, decipher Hugo's post, but it's nothing new, the links just link to other pages, and the navigation is "copy-and-pasted" if you will onto every page.

Verschwindende wrote:
  • CSS doesn't make pies

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 day 16 hours ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2050
Points: 2282

My favorite part of this

My favorite part of this thread is how we all just agreed that Hugo's post made no sense. Laughing out loud

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 4 weeks 3 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Do they ever? I think we

Do they ever?

Tongue

I think we scared the OP away Crazy

Verschwindende wrote:
  • CSS doesn't make pies

mairead
mairead's picture
Offline
Regular
Last seen: 10 years 30 weeks ago
Timezone: GMT-4
Joined: 2011-09-27
Posts: 14
Points: 21

Haha...that's a relief. At

Haha...that's a relief. At least I'm not alone in not making sense of Hugo's post WinkSmile

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 12 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Poor Hugo

You know, Hugo really can write well thought out, grammatically correct and properly punctuated prose. Perhaps in his zeal to help, he simply lets his thoughts get ahead of his keyboard, making his answers appear as the bastard child of beat and hippy-dippy stream of conscious poetry from the sixties. Crying

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 day 16 hours ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2050
Points: 2282

mairead wrote:Haha...that's

mairead wrote:

Haha...that's a relief. At least I'm not alone in not making sense of Hugo's post WinkSmile

Actually, we were having a go at you. At least I was. Hugo's post makes complete sense. I'm not quite sure which part you've misconstrued.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

I think you're all absolutely

I think you're all absolutely mad as Hatters, I wrote in the most succinct wonderful extensible iambic pentameter; that you all fail to be able to read in rhythm is your problem.

My words of wisdom therein are contained. Go make an effort to understand for your edification comes at a price and a little effort. The arcane mysteries of our craft guarded for decades by the initiates are not intended to be freely given.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me