Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > CIW Certifications
Home Forums Register Search Today's Posts Mark Forums Read

Navbar Links

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 07-Mar-2008, 04:25 PM
IThurts's Avatar
IThurts IThurts is offline
Valued Member
Posts: 279
Points: 189 IThurts has over 100 pointsIThurts has over 100 points
Power: 4
None
Join Date: 11 Feb 2008
Location: UK,Middlesex
Age: 23
Certifications: BTEC national Diploma Computer Studies
WIP: See Sig
Unhappy Navbar Links

Hi again people,
Iv been busy working with my portfolio and have a nice little site coming along. Nothing too flashy but just utilising gradients in photoshop to get a nice-ish design for my site.


Anyway, am i being really thick if iwas to ask th below:

LINKS (ie: navbar links)....how the heck do i code it so the links are part of my style sheet as opposed to embedded in my HTML doc? Obviously i am racking up a few HTML pages now, and dont really want to have to add EACH link for EACH webpage to update the links in the navbar, if i say add another page to my site.

I am getting to the stage where i wanted to create some buttons in photoshop and use them as my navbar links instead of chunky coded buttons. So i have created the button template, and am ready to link a page to it in the navbar but then realised the above question!!

Hope that all made sense and look forward to any responses.



ta.


Primary Goal: XHTML, CSS, Javascript, Using Photoshop.Using Dreamweaver.

Secondary Goal: CIW foundation course exam 1D0-510

BOLD indicates now studying...


Note whilst studying, i will create a portfolio of my learnings. See below


amr-portfolio - MY WEB DESIGN/DEVELOPMENT PORTFOLIO -WIP - please excuse the annoying pop-ups...its not my fault!!! Its the free webhost im using!Migrating shortly

Last edited by IThurts : 07-Mar-2008 at 04:35 PM.
 
Reply With Quote
  #2  
Old 08-Mar-2008, 03:40 AM
tripwire45's Avatar
tripwire45 tripwire45 is offline
Administrator
Posts: 12,854
Points: 3046 tripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 points
Power: 168
None
Join Date: 29 Jun 2003
Location: Boise, ID, USA
Age: 53
Certifications: A+ and Network+
WIP: Job and Career
I think this article I found at techrepublic is the closest you'll come to finding what you're looking for.


"That detective, is the right question. Program terminated".
 
Reply With Quote
  #3  
Old 08-Mar-2008, 08:42 AM
SiFor's Avatar
SiFor SiFor is offline
Administrator
Posts: 4,888
Points: 442 SiFor has over 250 pointsSiFor has over 250 pointsSiFor has over 250 pointsSiFor has over 250 pointsSiFor has over 250 points
Power: 62
None
Join Date: 23 Jun 2003
Location: Nottinghamshire, UK
Certifications: A+, MCSA:M 2003 MCSE 2003
WIP: Soon: ITIL
I've never seen it done before, if your host supports PHP you could very easily do it using some very simple php and make elements like the header footer and navbar alot easier to manage.

Let me know if you need some help with the code.

 
Reply With Quote
  #4  
Old 08-Mar-2008, 12:03 PM
IThurts's Avatar
IThurts IThurts is offline
Valued Member
Posts: 279
Points: 189 IThurts has over 100 pointsIThurts has over 100 points
Power: 4
None
Join Date: 11 Feb 2008
Location: UK,Middlesex
Age: 23
Certifications: BTEC national Diploma Computer Studies
WIP: See Sig
Quote:
Originally Posted by SiFor View Post
I've never seen it done before, if your host supports PHP you could very easily do it using some very simple php and make elements like the header footer and navbar alot easier to manage.

Let me know if you need some help with the code.
So you mean to tell me that there is no way to update navbar links using CSS stylesheets?? Which means i am going to have to write in links in every page of my html docs so each page displays the new link in the navbar?

Guess i best start learning PHP....

My ultimate next question would be then...if my website is local only to my machine at the mo, i cannot update links in my navbar other than the before mentioned method stated above?


Primary Goal: XHTML, CSS, Javascript, Using Photoshop.Using Dreamweaver.

Secondary Goal: CIW foundation course exam 1D0-510

BOLD indicates now studying...


Note whilst studying, i will create a portfolio of my learnings. See below


amr-portfolio - MY WEB DESIGN/DEVELOPMENT PORTFOLIO -WIP - please excuse the annoying pop-ups...its not my fault!!! Its the free webhost im using!Migrating shortly
 
Reply With Quote
  #5  
Old 08-Mar-2008, 12:43 PM
ThomasMc's Avatar
ThomasMc ThomasMc is offline
Valued Member
Posts: 489
Points: 597 ThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 points
Power: 12
None
Join Date: 04 Dec 2006
Location: Glasgow
Certifications: MCDST
WIP: MCSA (70-270), CCNA, CCNP
If i have picked you up correctly you could use SSI(Server Side Includes), save you menu in a file called menu.inc and the pop this in the pages where you want to display the menu

Code:
<!--#include FILE="menu.inc" -->
this should mean you only need to edit the menu.inc to change your nav or learn something dynamic as per




 
Reply With Quote
  #6  
Old 08-Mar-2008, 04:40 PM
IThurts's Avatar
IThurts IThurts is offline
Valued Member
Posts: 279
Points: 189 IThurts has over 100 pointsIThurts has over 100 points
Power: 4
None
Join Date: 11 Feb 2008
Location: UK,Middlesex
Age: 23
Certifications: BTEC national Diploma Computer Studies
WIP: See Sig
Quote:
Originally Posted by ThomasMc View Post
If i have picked you up correctly you could use SSI(Server Side Includes), save you menu in a file called menu.inc and the pop this in the pages where you want to display the menu

Code:
<!--#include FILE="menu.inc" -->
this should mean you only need to edit the menu.inc to change your nav or learn something dynamic as per
That is exactly what i was after. Thanks for that Thomas.Rep awarded. So this SSI file, im lost as to how to begin. Should i create the file as a .inc file?? What code do i include?

Maybe i should google it
Any hlp would be great though


Primary Goal: XHTML, CSS, Javascript, Using Photoshop.Using Dreamweaver.

Secondary Goal: CIW foundation course exam 1D0-510

BOLD indicates now studying...


Note whilst studying, i will create a portfolio of my learnings. See below


amr-portfolio - MY WEB DESIGN/DEVELOPMENT PORTFOLIO -WIP - please excuse the annoying pop-ups...its not my fault!!! Its the free webhost im using!Migrating shortly
 
Reply With Quote
  #7  
Old 08-Mar-2008, 05:10 PM
ThomasMc's Avatar
ThomasMc ThomasMc is offline
Valued Member
Posts: 489
Points: 597 ThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 pointsThomasMc has over 500 points
Power: 12
None
Join Date: 04 Dec 2006
Location: Glasgow
Certifications: MCDST
WIP: MCSA (70-270), CCNA, CCNP
it would look something like my attachment, heres a good place to start

also if your server doesn't support SSI, the PHP(if supported)/JavaScript example in that link are viable option as its not too complex
Attached Files
File Type: zip SSI Demo.zip (989 Bytes, 0 views)





Last edited by ThomasMc : 08-Mar-2008 at 05:49 PM.
 
Reply With Quote
  #8  
Old 11-Mar-2008, 08:28 AM
IThurts's Avatar
IThurts IThurts is offline
Valued Member
Posts: 279
Points: 189 IThurts has over 100 pointsIThurts has over 100 points
Power: 4
None
Join Date: 11 Feb 2008
Location: UK,Middlesex
Age: 23
Certifications: BTEC national Diploma Computer Studies
WIP: See Sig
Quote:
Originally Posted by ThomasMc View Post
it would look something like my attachment, heres a good place to start

also if your server doesn't support SSI, the PHP(if supported)/JavaScript example in that link are viable option as its not too complex
Thanks again Thomas, great help, exactly what i was after. I had a thought actually....(wait for it)...and assumed when first starting out that CSS would do all of what i enquired about in its External style sheet. Surely this is what the purpose of CSS are? I guess CSS gears more towards design simplification/convienience rather than things like my initial question. It would be handy to be able to include the "include files" in your CSS, although im aware it doesnt work like that, would be handy to be able to include these files within the Stylesheet itself. Maybe im after too much of an easy life

Cheers guys.


Primary Goal: XHTML, CSS, Javascript, Using Photoshop.Using Dreamweaver.

Secondary Goal: CIW foundation course exam 1D0-510

BOLD indicates now studying...


Note whilst studying, i will create a portfolio of my learnings. See below


amr-portfolio - MY WEB DESIGN/DEVELOPMENT PORTFOLIO -WIP - please excuse the annoying pop-ups...its not my fault!!! Its the free webhost im using!Migrating shortly
 
Reply With Quote
  #9  
Old 11-Mar-2008, 09:58 AM
Stoney's Avatar
Stoney Stoney is offline
Longterm Member
Posts: 700
Points: 766 Stoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 points
Power: 18
None
Join Date: 13 Jun 2006
Location: Nottingham
Age: 28
Certifications: 25 + 50 metre front crawl
WIP: MCSA - Exam 70-270
CSS is supposed to be used for controlling the format and layout of the web page, not the actual content, hence why you can't specify the hyperlinks in the CSS file. You can create all sorts of classes to format them however you like, but you can't change the content.

HTH


Printed on 100% recycled forum posts.
 
Reply With Quote
  #10  
Old 18-Mar-2008, 04:17 AM
Mitzs's Avatar
Mitzs Mitzs is offline CertForums News Posting Member
Lifetime Member
Posts: 2,960
Points: 1995 Mitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 points
Power: 54
None
Join Date: 11 Apr 2005
Location: Tenneesse USA
Certifications: Microcomputers and network specialist.
Welcome to Dynamic Drive's new CSS library! Here you'll find original, practical CSS codes and examples such as CSS menus to give your site a visual boast.

http://www.dynamicdrive.com/style/


Don't walk in front of me, I may not follow. Don't walk behind me, I may not lead. Walk beside me and just be my friend. (Old Irish Proverb)
 
Reply With Quote
  #11  
Old 18-Mar-2008, 01:01 PM
tripwire45's Avatar
tripwire45 tripwire45 is offline
Administrator
Posts: 12,854
Points: 3046 tripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 points
Power: 168
None
Join Date: 29 Jun 2003
Location: Boise, ID, USA
Age: 53
Certifications: A+ and Network+
WIP: Job and Career
Quote:
Originally Posted by Mitzs View Post
Welcome to Dynamic Drive's new CSS library! Here you'll find original, practical CSS codes and examples such as CSS menus to give your site a visual boast.

http://www.dynamicdrive.com/style/
Gosh, Mitzs...you sound like a spammer.


"That detective, is the right question. Program terminated".
 
Reply With Quote
  #12  
Old 18-Mar-2008, 01:27 PM
wizard's Avatar
wizard wizard is offline
Lifetime Member
Posts: 4,531
Points: 659 wizard has over 500 pointswizard has over 500 pointswizard has over 500 pointswizard has over 500 pointswizard has over 500 pointswizard has over 500 points
Power: 60
None
Join Date: 09 Feb 2004
Location: United Kingdom
Age: 34
Certifications: Not Surviving 2008
WIP: Getting a job
Quote:
Originally Posted by tripwire45 View Post
Gosh, Mitzs...you sound like a spammer.
Don't say that, I can hear her rummaging in her desk draw for the roll of duct tape

 
Reply With Quote
  #13  
Old 18-Mar-2008, 06:05 PM
Mitzs's Avatar
Mitzs Mitzs is offline CertForums News Posting Member
Lifetime Member
Posts: 2,960
Points: 1995 Mitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 points
Power: 54
None
Join Date: 11 Apr 2005
Location: Tenneesse USA
Certifications: Microcomputers and network specialist.
Quote:
Originally Posted by wizard View Post
Don't say that, I can hear her rummaging in her desk draw for the roll of duct tape

Duck tape hell, I'm gonna get my flame thrower out for that one.



Don't walk in front of me, I may not follow. Don't walk behind me, I may not lead. Walk beside me and just be my friend. (Old Irish Proverb)
 
Reply With Quote
  #14  
Old 18-Mar-2008, 07:48 PM
tripwire45's Avatar
tripwire45 tripwire45 is offline
Administrator
Posts: 12,854
Points: 3046 tripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 points
Power: 168
None
Join Date: 29 Jun 2003
Location: Boise, ID, USA
Age: 53
Certifications: A+ and Network+
WIP: Job and Career
You have to catch me first.


"That detective, is the right question. Program terminated".
 
Reply With Quote
  #15  
Old 18-Mar-2008, 07:59 PM
Mitzs's Avatar
Mitzs Mitzs is offline CertForums News Posting Member
Lifetime Member
Posts: 2,960
Points: 1995 Mitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 pointsMitzs has over 1500 points
Power: 54
None
Join Date: 11 Apr 2005
Location: Tenneesse USA
Certifications: Microcomputers and network specialist.
Quote:
Originally Posted by tripwire45 View Post
You have to catch me first.

Your not as fast as you use to be old man.



Don't walk in front of me, I may not follow. Don't walk behind me, I may not lead. Walk beside me and just be my friend. (Old Irish Proverb)
 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > CIW Certifications


Thread Tools