Re: [css-d] Regarding inline style

2009-04-24 Thread Gautam Bhatia
hello mx,
 Thank you very much , i will try to use javascript to work with
the navigation  bar.Thank you so much all for your help. God bless.

Regards,
Gautam Bhatia .

On Thu, 2009-04-23 at 13:42 +0100, Martyn Merrett wrote:
 Hi Gautam,
 
 Don't apologise -I'm sure you english is better than most kids these days! (:
 
 I can see that each of the 4 links has 3 nodes.
 You would like it if either the link or any node it would highlight
 that link (A:active).
 
 I have done this in the past using PHP to generate the menu code for me.
 
 Aside from individually updating each page with a class I can't see it
 would be possible.
 You could possibly use javascript to detect the URL and add the style.
 
 ~Mx
 http://www.mxdx.co.uk
 
 
 
 2009/4/23 Gautam Bhatia gautam2678s...@gmail.com:
  hello mx,
   Thank you for the reply sir, sorry my engliish is not
  good ,I'm indian so please bear with me. ok this is what i'm trying to
  do on this link ..
 
  http://www.muttertag-geschenke.net




__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Regarding inline style

2009-04-23 Thread Gautam Bhatia
hello mx,
  Thank you for the reply sir, sorry my engliish is not
good ,I'm indian so please bear with me. ok this is what i'm trying to
do on this link ..

http://www.muttertag-geschenke.net   . In that link if you see at the
top there are four link with white color text and purple background ,
with each of the link has :hover and javascript assigned to it for
rollovers. Now what i want is , if a user click on a particular link
that link gets highlighted , but thing is each link has many nodes like
each has its own div, ul, li a tags , if i use javascript to access each
node to modify its style , that would be some work, so i tried designing
a code which basically embeds css style to 1 particular node using
javascript and assigns it background ,  which worked but not to my
liking, so i wanted a inline/ 1 line code which would style all the four
or atleast more then 1 mentioned tags above at the same time. , if it
just css , that would be great , if it needs javacript , i can take that
as well  to access all those four elements . So that i can basically
highlight the currently clicked(link in address bar) to be highlighted
in the page. Hope this made more sense . Thank you. 

Regards,
Gautam Bhatia .



__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Regarding inline style

2009-04-23 Thread Martyn Merrett
Hi Gautam,

Don't apologise -I'm sure you english is better than most kids these days! (:

I can see that each of the 4 links has 3 nodes.
You would like it if either the link or any node it would highlight
that link (A:active).

I have done this in the past using PHP to generate the menu code for me.

Aside from individually updating each page with a class I can't see it
would be possible.
You could possibly use javascript to detect the URL and add the style.

~Mx
http://www.mxdx.co.uk



2009/4/23 Gautam Bhatia gautam2678s...@gmail.com:
 hello mx,
          Thank you for the reply sir, sorry my engliish is not
 good ,I'm indian so please bear with me. ok this is what i'm trying to
 do on this link ..

 http://www.muttertag-geschenke.net
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/