Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-05-2011, 10:23 PM   PM User | #1
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
The link to a webpage isn't working

The link to the Work page won't click through to that page from the home page or subpages. The weird thing is I can type in http://www.daniellebardgette.com/work.html and I'm sent to the page. I've tried several times to relink the file in the code, but the issue won't go away. Any suggestions would be appreciated . .

texasstar is offline   Reply With Quote
Old 02-05-2011, 10:43 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello texasstar,
Your markup on that menu looks like this right now -
Code:
<ul id="nav">
						<li><a class="work" href="/work.html">WORK</a></li>
						<li><a class="services" href="services.html">SERVICES</a></li>
						<li><a class="about" href="about.html">ABOUT</a></li>
						<li><a class="contact" href="contact.html">CONTACT</a></li>
					</ul>
Remove that bit I've highlighted in red and see how it works for you.

Some related reading here - absolute and relative paths.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 02-05-2011, 11:13 PM   PM User | #3
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
Hi Excavator,

Thanks for taking a look. The forward slash was only contained on the home page. The code on the subpages didn't have the forward slash and they still won't load the work page. I updated the home page to and it also still won't load the work page. Yick.

I've tried loading the website in Chrome. No dice on the page loading or in Safari either.

In reviewing where the work.html page it is contained in the same folder as the other subpages and home page are located.

Any other suggestions would be appreciated. Thank you!
texasstar is offline   Reply With Quote
Old 02-06-2011, 12:58 AM   PM User | #4
eberdome
Regular Coder

 
Join Date: Dec 2010
Location: California
Posts: 193
Thanks: 28
Thanked 8 Times in 8 Posts
eberdome is an unknown quantity at this point
change your attributes and values around like so

Code:
<ul id="nav">
   <li><a href="work.html" class="work">WORK</a></li>
   <li><a href="services.html" class="services">SERVICES</a></li>
   <li><a href="about.html" class="about">ABOUT</a></li>
   <li><a href="contact.html" class="contact">CONTACT</a></li>
</ul>
I know that seems crazy but that should do the trick
eberdome is offline   Reply With Quote
Old 02-06-2011, 02:10 AM   PM User | #5
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
Eberdome thank you! The plot thickens though. I tweaked the code per your suggestion and uploaded it. The weird thing is Firebug in Firefox says the code is still:

<ul id="nav">
<li><a class="work" href="/work.html">WORK</a></li>
<li><a class="services" href="services.html">SERVICES</a></li>
<li><a class="about" href="about.html">ABOUT</a></li>
<li><a class="contact" href="contact.html">CONTACT</a></li>
</ul>

while in Safari in developer it says the code is:

<ul id="nav">
<li><a href="work.html" class="work">WORK</a></li>
<li><a href="services.html" class="services">SERVICES</a></li>
<li><a href="about.html" class="about">ABOUT</a></li>
<li><a href="contact.html" class="contact">CONTACT</a></li>
</ul>

Double yick and the work page still won't click through.
texasstar is offline   Reply With Quote
Old 02-06-2011, 02:41 AM   PM User | #6
eberdome
Regular Coder

 
Join Date: Dec 2010
Location: California
Posts: 193
Thanks: 28
Thanked 8 Times in 8 Posts
eberdome is an unknown quantity at this point
try clearing your cache in all browsers... Ctrl-F5
eberdome is offline   Reply With Quote
Old 02-06-2011, 03:42 AM   PM User | #7
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
Ok. Did that on all my browsers and both my laptop and desktop. Nada.

texasstar is offline   Reply With Quote
Old 02-06-2011, 04:37 PM   PM User | #8
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
Temporarily deleted the home page. The rest of the site is still there.

http://www.daniellebardgette.com/work.html
texasstar is offline   Reply With Quote
Old 02-06-2011, 07:51 PM   PM User | #9
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
Moved the site to here

http://www.daniellebardgette.com/temp/index.html
texasstar is offline   Reply With Quote
Old 02-06-2011, 08:56 PM   PM User | #10
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Originally Posted by texasstar View Post
Disable jquery.gallery.js and your menu should work?
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
texasstar (02-06-2011)
Old 02-06-2011, 09:21 PM   PM User | #11
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
I had a programmer friend look over it and something with the jquery is preventing the Work button from being clickable. The site is going live with those sections deleted. I'll resolve the conflict later.

Thanks for all the help though!
texasstar is offline   Reply With Quote
Old 02-06-2011, 09:22 PM   PM User | #12
texasstar
New to the CF scene

 
Join Date: Feb 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
texasstar is an unknown quantity at this point
Excavator saw your post after I posted my post.

That was the issue! :-)
texasstar is offline   Reply With Quote
Old 02-06-2011, 09:33 PM   PM User | #13
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
That gallery.js you had was directed at ul, li, in general.
There are other gallery.js files that are a little more specific and would not affect your ul#nav
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 02-07-2011, 04:22 PM   PM User | #14
rswebs
New Coder

 
Join Date: Dec 2010
Posts: 49
Thanks: 0
Thanked 1 Time in 1 Post
rswebs is an unknown quantity at this point
you should also the home page as index.htm
__________________
Learn how to create a Website with HTML www.htmltutorialtopics.com Free tutorials
rswebs is offline   Reply With Quote
Reply

Bookmarks

Tags
html, link

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 10:32 PM.


Advertisement
Log in to turn off these ads.