Hello,
I am currently doing a very adventourus project.
Please see the diagram here:
http://www.freewebs.com/egr103/post.gif
I would like the blue bars surrounding the content to display a different colour (depending on the page the visitor is on) when a new page is visited. This changing color will blend in with the navigation. EG If the marketing tab is visited the border would turn green and the marketing tab in the navigation would be in the selected state colored green.
How would i go about doing this as i am trying to test myself but am having problems implementing this style.
I will take all advice here. I would post some code but i don't know how to approach it
Thanks in advance
Evan
set the <body
set the <body id="pageName">
then style each one individually.
and I thought we might have
:rolleyes: and I thought we might have a real challenge on our hands
Hi, you could also try
Hi,
you could also try modifying Phreestyle's script to what you would like it to do... check his post...
he's done something like you want it to happen, but you will need to tweak it to your needs. its php based, so if you dont wanna do that, then you can manually add styling to it..
mihir
Hugo wrote: and I thought we
:rolleyes: and I thought we might have a real challenge on our hands
Unfortunately, they are very few and far between. And we usually never get enough information to actually help. :shrug:
is there no way of saving on
is there no way of saving on code? OR am i just going to have to manually design each page?
I may post back my code depending how i go so i will keep you posted on how the design is going.
Can you create rounded rectangles using CSS?
egr103 wrote:is there no way
is there no way of saving on code? OR am i just going to have to manually design each page?
Just rewrite the parts that deal with the actual color or image changes.
I may post back my code depending how i go so i will keep you posted on how the design is going.
Sounds good, let us know if you run into a road block
Can you create rounded rectangles using CSS?
not with css2 but you can use javascript like jQuery to produce rounded corners
Deuce wrote:<snip> egr103
<snip>
egr103 wrote:
Can you create rounded rectangles using CSS?
not with css2 but you can use javascript like jQuery to produce rounded corners
Actually, css2 provides all the tools you need to produce rounded corners. It's just that a certain 800lb gorilla that we can't ignore doesn't support css2 very well, if at all.
Try The Thrashbox™.
cheers,
gary
sorry for being a liar...
sorry for being a liar... what's my penance?
To tell me why I can't get
To tell me why I can't get my jQuery corners working, designers pah! looks much better without rounded corners
Have you validated?
Have you validated?
No I only tell others to
No I only tell others to
So with that, I am guessing
So with that, I am guessing it is best to use an image to produce rounded corners?!?
...or javascript or the css2
...or javascript or the css2 attributes that don't work in IE
Well using CSS 2 will
:shrug:
Well using CSS 2 will just eliminate all of my audience.
It is for internal company use and everyone is on IE.
Thanks for all your help though guys!
Really appreciate it
________________________________________
PS
While we are on the subject. As i have these blue bars around the content is there a way that they can resize to various different page lengths depending on which one the visitor is on (of course the length of each page will vary). So that they still look pixel perfect yet fit perfectly around the content? Would this involve extensive JavaScript writing?