Go to Post Not everything has to be cashed in or has to have instant recognition. Sometimes being a part of a program of value and opportunity is enough. And, what you put into the program is what you get out of it. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2004, 10:46
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Question Help with sidebar...

Hello everyone. I've been work on our team's new website for a few weeks and just started loading pages up. I'm having a problem with my navigation bar on the sidebar. When you click on the link on the navbar, the next page opens up in the sidebar and the previous page stays in the large part of the screen. Does anyone know of a code to make a sidebar that won't do this? Check it out for yourself and tell me what you think. http://ircorp.fnsnet.net/index.htm I hope that link works, if not I'll add another one below. And the big black thing is supposed to be our logo - I'm working on fixing that right now.
  #2   Spotlight this post!  
Unread 30-01-2004, 11:38
jonathan lall's Avatar
jonathan lall jonathan lall is offline
Registered User
FRC #2505 (The Electric Sheep; FRC #0188 alumnus)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Toronto, Canada
Posts: 547
jonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond repute
Send a message via MSN to jonathan lall
Re: Help with sidebar...

Well the link is broken right now so I can't see the site, but I surmise that you are probably using frames and the side frame (let's call it sidebar since I don't know what it's actually called) is acting like a normal HTML page; links send that same page to whereever they point. I haven't used frames in a while, but, assuming the frameset file (the index) gives each frame an id or name attribute like this
Code:
   <frameset rows="400,200" cols="400,400">
   
   <frame src="sidebar.html" frameborder="0" scrolling="no" noresize="noresize" id="sidebar" />
   <frame src="main.html" frameborder="0" noresize="noresize" id="main" />
    <noframes>
   
     <body>
 	<p>This is a framed page, but your (pitiful) browser doesn't support frames, Get Mozilla!</p>
     </body>
   
    </noframes>
   </frameset>
you can make your links apply to another frame if you use the target attribute in each of your needed anchors of the sidebar file. Or you could use the <base> tag to define the default target of your links.
Code:
 <base target="main" />
  </head>
  <body>
Since the id of your main frame is so named in the frameset file, all you have to do is put it in a target attribute and this will cause all links in sidebar without a target attribute that says otherwise to point to the main frame.
__________________


Last edited by jonathan lall : 30-01-2004 at 11:41. Reason: can't spell...
  #3   Spotlight this post!  
Unread 30-01-2004, 12:40
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Re: Help with sidebar...

The link worked for me, but I'm using Internet Explorer 6, I don't know if it works on Netscape or any old versions of IE yet(if thats what you use), but I'm gonna check this afternoon when I can get to a computer with Netscape.
I don't really know much about frames either but the program I use does them for you. I'm just looking for a code where it makes the sidebar and you can control the width and what is in it, and be able to change the background color. I'm prob asking too much but somebody might know. I'll keep looking...
  #4   Spotlight this post!  
Unread 30-01-2004, 12:45
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Re: Help with sidebar...

I forgot something - the program that I'm using does the frames for me but those are the ones that won't link correctly. I'm looking for a code to add into the main page and have it make a sidebar but not mess up whats on the page...thats confusing but I'll figure it out eventually...
  #5   Spotlight this post!  
Unread 30-01-2004, 13:47
jonathan lall's Avatar
jonathan lall jonathan lall is offline
Registered User
FRC #2505 (The Electric Sheep; FRC #0188 alumnus)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Toronto, Canada
Posts: 547
jonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond repute
Send a message via MSN to jonathan lall
Re: Help with sidebar...

Well the link works now; your browser will make no difference with links (IE accepts backslashes and a few invalid URIs but for the most part it's all the same). I was getting a 404/DNS error before when I first posted, but now I can see it. The problem is that you are using a Flash menu and I don't know how to (actually it's probably impossible) to target links with Flash. I'm not sure how it handles links, but the <base target="main"> in your sidebar frame might still work. You should try.

If you are looking for an easy frame editor, I believe MS Frontpage 2003 came in your kit; it will certainly be able to visually (What You See is What You Get) change any aspect of your frames, including width and background colour. There are also free WYSIWYG editors all over the internet that allow you to edit pages as you would a Word document for example. I suggest Frontpage 2003 as it can produce cross-browser code fairly well.

I am assuming you want to use frames for some design reason right? If not, I would actually suggest you stray from them. I find they are usually more trouble than they are worth.

But these [1, 2, 3] might help you...
__________________

  #6   Spotlight this post!  
Unread 30-01-2004, 14:43
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Re: Help with sidebar...

Thanks - I'll check that stuff out - yeah I'm only using the sidebar for design - just to keep the buttons seperated from everything else. I'll probably end up just taking the sidebar off and adding the buttons into the main page if I can get them to stay on the side and everything else in the middle.
  #7   Spotlight this post!  
Unread 30-01-2004, 14:45
zeep25's Avatar
zeep25 zeep25 is offline
Registered User
AKA: Adil Karim
#0369 (Team Nuts and Volts)
Team Role: Webmaster
 
Join Date: Jan 2004
Location: Brooklyn, NYC
Posts: 26
zeep25 is an unknown quantity at this point
Send a message via AIM to zeep25 Send a message via Yahoo to zeep25
Re: Help with sidebar...

well go back to

http://www.flashbuttons.com/basicFor...Name=DataProbe

where u made ur flash menu .. u c the third text coulum ... that says
Target Frame Name ( OPTIONAL ) :

write "main" in those for each link ... and use the first code that jonathan posted for the main page with two frames .. since the name of the window where u want the links open is main accordin to the code that jonathan ...


1 more thing .. whichever program ur using ... ur not using the rite way .. because each page u made it as a frame page with a menu and a content page ... if u can zip ur ur files and post them here i can help u organize and make the code smaller and less page for u ...
__________________
Roles: Programmer, Webmaster, (All rounder) including Electrical and Mechanical
Gearbox - Team Nuts and Volts - 369
http://www.gearbox36.org/

Last edited by zeep25 : 30-01-2004 at 14:47.
  #8   Spotlight this post!  
Unread 30-01-2004, 15:07
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Re: Help with sidebar...

Yeah I'll try the target thing too - I don't have time to work on it now - have to go work on the robot!

Last edited by kjohnson : 30-01-2004 at 15:18.
  #9   Spotlight this post!  
Unread 30-01-2004, 16:00
iBob's Avatar
iBob iBob is offline
Extreme Mac Geek
AKA: Christopher Jones
#0240 (Mach Vee)
Team Role: Webmaster
 
Join Date: Apr 2002
Location: Monroe Michigan
Posts: 83
iBob is an unknown quantity at this point
Send a message via AIM to iBob Send a message via Yahoo to iBob
Re: Help with sidebar...

Just a thought, try a two cell table and avoid frames all together.
__________________
Visit Team 240's Homepage
  #10   Spotlight this post!  
Unread 30-01-2004, 17:09
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Re: Help with sidebar...

Yeah - I have thoughtabout the table after someone else said something about a table somewhere else. I'll have to try that when I get home - thanks to everybody that has helped!
  #11   Spotlight this post!  
Unread 30-01-2004, 22:10
kjohnson's Avatar
kjohnson kjohnson is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 575
kjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond reputekjohnson has a reputation beyond repute
Re: Help with sidebar...

Thanks everyone - I'm using the two column table right now, but I'm still going to try to get the actual sidebar to work...Thanks again!
Closed Thread


Thread Tools
Display Modes 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi