Link that works once

  • Eboehm
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jun 03, 2009
  • Posts: 11
  • Status: Offline

Post June 3rd, 2009, 7:26 am

I have a link on the index page that takes you to a subpage no problem. But once you click on the links (side bar) it adds a trailing slash and you can not access it again? Any ideas?
You can view the site @ coophighschool.org
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 3rd, 2009, 7:26 am

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post June 3rd, 2009, 7:59 am

That is odd.

Since I don't see mention of any pre-processors in the HTTP headers, along with what looks like a mention of Dreamweaver in the HTML source, I'm guessing you'll need to edit the sidebar URLs in all of the destination pages.
Strong with this one, the sudo is.
  • Eboehm
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jun 03, 2009
  • Posts: 11
  • Status: Offline

Post June 3rd, 2009, 8:00 am

<button button style="onclick" VALUE="Visual Arts" ONCLICK="window.location='http://www.coophighschool.org/visualarts.html'">Visual Arts</button><br />

Thats an example of the button code

I made the header,footer, and side bars a template
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post June 3rd, 2009, 8:02 am

Yep.

And on the destination pages, there's an actual slash on the end of that bottons URL.

If you can, look at "math.html" in Dreamweaver, Notepad, or whatever you're using to edit the site and look for those buttons in the source.

You'll likely find the slashes and be able to remove them.
Strong with this one, the sudo is.
  • Eboehm
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jun 03, 2009
  • Posts: 11
  • Status: Offline

Post June 3rd, 2009, 8:10 am

Can you figure out why on Our Philosophy page the buttons on the left are ending up halfway down the page?
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post June 3rd, 2009, 8:22 am

In ourphilosophy.html, find this line (roughly 15 lines into your body tag):
Code: [ Select ]
<td width="120" height="15" align="left" valign="middle" >

and change it to:
Code: [ Select ]
<td width="120" height="15" align="left" >


The valign property is doing it.
I'd love to change the world, but they won't give me the source code.
  • Eboehm
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jun 03, 2009
  • Posts: 11
  • Status: Offline

Post June 3rd, 2009, 11:41 am

I have changed it, but the problem is still there

<td width="120" height="15" align="left">
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post June 3rd, 2009, 11:45 am

Doh, sorry, I should have looked up the default inheritance (which happens to be middle) before telling you to remove it entirely. Place the valign attribute back on the tag, but set it to 'top' instead of 'middle'. My apologies.

You already have it in place on the right-side menu, which is why one works correctly and the other doesn't:
Code: [ Select ]
<td width="120" valign="top">
I'd love to change the world, but they won't give me the source code.
  • Eboehm
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jun 03, 2009
  • Posts: 11
  • Status: Offline

Post June 10th, 2009, 8:20 am

I made the change but it is still doing that! Any more ideas?
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post June 10th, 2009, 9:55 am

Close - the attribute should be "valign" instead of "align" as you have it set now.
I'd love to change the world, but they won't give me the source code.
  • Eboehm
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jun 03, 2009
  • Posts: 11
  • Status: Offline

Post June 10th, 2009, 10:48 am

As always thank you very much, and that took care of the problem

Post Information

  • Total Posts in this topic: 11 posts
  • Users browsing this forum: No registered users and 134 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.