• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 437
  • Last Modified:

Good sidebar

Hi,

I'm needing to add a sidebar, but this sidebar needs to be nice and compatable with things, it needs to just sit on the left and not mess up the layout at all.

I know I can do it like this:

Code:

<FRAMESET COLS="37%,63%">
    <FRAME SRC="blah.html" NAME="Side1">
</FRAMESET>



But I need it so you can do this:

Code:

<FRAMESET COLS="37%,63%">
    <FRAME SRC="assa" NAME="Side1">
</FRAMESET>
Some content here.<br>
 Blah blah
<? echo "maybe even some php"; ?>
anything

Basically so I have the sidebar on it's on which I put in the header & then the user is able to make their page as normal and the side bar will show.


Any ideas how I can do this please?

Thanks
Craig.
0
Craig321
Asked:
Craig321
  • 2
  • 2
1 Solution
 
anupamjiAVPCommented:
You can use DIV layer and Z index, instead of frames It can be programmed through  java script to hide and show and it doesn't mess up with your contents also.
0
 
Craig321Author Commented:
Hmmm, OK, I'll see if I can make it look any good with a DIV layer.

Thanks
Craig.
0
 
Craig321Author Commented:
Going to accept your answer as we're using Div tag to do it now and I'm going to implement some hide/show java soon :)

Thanks
Craig.
0
 
anupamjiAVPCommented:
thanks
anupam
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now