Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker

In article <00a501c05999$460c1840$0202a8c0@typhoon>, Phil Harris
<[EMAIL PROTECTED]> writes
>Robin,
>
>My educated guess is that what you want can't be achieved other than with
>css.
>
>The  tag has no properties for changing colors of one particular link.
>
>The  tag is the only place for this and as you know this changes them
>globally.
>
>This taken from the HTML reference Library:
>
>NAME="URL_fragment"
>TITLE="Title_of_destination"
>REL="Forward_relationship"
>REV="Reverse_relationship"
>URN="Uniform_Resource_Name"
>METHODS="Function_information"
>TARGET="Name_of_target_window_or_frameset"
>ACCESSKEY="Shortcut_setting"
>LANG="Document language"
>LANGUAGE="Script_language"
>INDEXSTRING="NetHelp_index_keyword"
>TOCSTRING="NetHelp_contents_entry"
>CLASS="className"
>ID="unique_id"
>STYLE="style_setting"
>DATAFLD="Column name"
>DATASRC="Data Source"
>>


this isn't complete as it's easy to show that

text

does work as do inlines for font-weight etc. The problem is that the CSS
attributes are :link,  etc ie pseudo classes and there doesn't seem to
be any way to get at class values in inline styles.

I'm using named CSS classes, but the complexities of CSS are a bit of a
pain.
-- 
Robin Becker

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Phil Harris

Robin,

My educated guess is that what you want can't be achieved other than with
css.

The  tag has no properties for changing colors of one particular link.

The  tag is the only place for this and as you know this changes them
globally.

This taken from the HTML reference Library:



>From the horses mouth so to speak :(.

If I needed to do this I'd use css in some way.

Phil

- Original Message -
From: "Robin Becker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2000 11:22 PM
Subject: Re: [Zope] html expertise anyone.


| In article <009c01c05961$a584d6a0$ae03a8c0@fork>, Andy McKay
| <[EMAIL PROTECTED]> writes
| >I think this is a css question and not related to DTML. Go to
| >http://freezope.nipltd.net/dna and you will see a simple style sheet that
| >shows use of active and visited links.
| >--
| ...
| yes I know how to set up style sheets; what I want is to be able to use
| inline definitions for the :link, :active, :visited (:hover) colours. I
| just don't know the correct incantation.
| --
| Robin Becker
|
| ___
| Zope maillist  -  [EMAIL PROTECTED]
| http://lists.zope.org/mailman/listinfo/zope
| **   No cross posts or HTML encoding!  **
| (Related lists -
|  http://lists.zope.org/mailman/listinfo/zope-announce
|  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.<3A23A8D6.ECDD8BBF@nipltd.com>

2000-11-28 Thread Dieter Maurer

Robin Becker writes:
 > In article <[EMAIL PROTECTED]>, Chris Withers
 > <[EMAIL PROTECTED]> writes
 > >Robin Becker wrote:
 > >> 
 > >> I can do this using a class
 > >
 > >So maybe do it using a class then? ;-)
 > >
 > >Chris
 > >
 > yes I am, but surely there has to be a way to do this stuff in line.
 > That way I don't have to predefine all the link behaviours and include
 > in the standard header. I know that the pseudo class things are called 
 > :link :active etc.
You often see this in the "body" tag.
I think, it was "vlink= ...", "alink= ..." and so on.
But I am not sure.

I hate inline style and never use it.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker

In article <009c01c05961$a584d6a0$ae03a8c0@fork>, Andy McKay
<[EMAIL PROTECTED]> writes
>I think this is a css question and not related to DTML. Go to
>http://freezope.nipltd.net/dna and you will see a simple style sheet that
>shows use of active and visited links.
>--
...
yes I know how to set up style sheets; what I want is to be able to use
inline definitions for the :link, :active, :visited (:hover) colours. I
just don't know the correct incantation.
-- 
Robin Becker

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Andy McKay

I think this is a css question and not related to DTML. Go to
http://freezope.nipltd.net/dna and you will see a simple style sheet that
shows use of active and visited links.
--
  Andy McKay, Developer.
  ActiveState.

- Original Message -
From: "Oleg Broytmann" <[EMAIL PROTECTED]>
To: "Robin Becker" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2000 9:15 AM
Subject: Re: [Zope] html expertise anyone.


> On Tue, 28 Nov 2000, Robin Becker wrote:
> > I know about the style="color: red" type of inline, I was looking for
> > the :link, :active, :visited etc attributes for inline style. I can't
> > seem to get these to work. The color attribute seems to set all of the
> > states.
>
>I think it's impossible to set pseudoclasses inline.
>
> Oleg.
> 
>  Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
>Programmers don't die, they just GOSUB without RETURN.
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Oleg Broytmann

On Tue, 28 Nov 2000, Robin Becker wrote:
> I know about the style="color: red" type of inline, I was looking for
> the :link, :active, :visited etc attributes for inline style. I can't
> seem to get these to work. The color attribute seems to set all of the
> states.

   I think it's impossible to set pseudoclasses inline.

Oleg.

 Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread rlanham

dtml as a server side scripting language is not going to change anything
dynamically on your page. Maybe you mean DHTML.

In IE everything is in the DOM and can be changed. Netscape is not thorough, and I 
don't think there is a hook that will change a.visited, et al.

But you could try.

IE has a links collection, like .images and .all




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker

In article <[EMAIL PROTECTED]>, Simon Michael <[EMAIL PROTECTED]>
writes
>Robin Becker <[EMAIL PROTECTED]> writes:
>> I am trying to change the colour of links dynamically using dtml.
>> However, I cannot find the right incantation to change my links using an
>> inline style except for
>> 
>> A
>
>Do you mean something like
>
>A
>
>I guess this is dynamic at page load time. Perhaps you want the colors
>to change without refreshing the page ?
>
>-Simon
...
I know about the style="color: red" type of inline, I was looking for
the :link, :active, :visited etc attributes for inline style. I can't
seem to get these to work. The color attribute seems to set all of the
states.
-- 
Robin Becker

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Simon Michael

Robin Becker <[EMAIL PROTECTED]> writes:
> I am trying to change the colour of links dynamically using dtml.
> However, I cannot find the right incantation to change my links using an
> inline style except for
> 
> A

Do you mean something like

A

I guess this is dynamic at page load time. Perhaps you want the colors
to change without refreshing the page ?

-Simon

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker

In article <[EMAIL PROTECTED]>, Dany Rioux
<[EMAIL PROTECTED]> writes
>Robin,
>
>IIRC it can be done but I never used it myself because I think it's
>annoying and it is confusing for the visitors. *G* But you should
>definitively check www.echoecho.com. If it is possible it *will* be
>posted there.
>
...
thanks I'll have a look there.
-- 
Robin Becker

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] html expertise anyone.

2000-11-28 Thread Dany Rioux

Robin,

IIRC it can be done but I never used it myself because I think it's
annoying and it is confusing for the visitors. *G* But you should
definitively check www.echoecho.com. If it is possible it *will* be
posted there.

HTH

Dany

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Robin
> Becker
> Sent: Tuesday, November 28, 2000 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Zope] html expertise anyone.
>
>
> In article <[EMAIL PROTECTED]>, Chris Withers
> <[EMAIL PROTECTED]> writes
> >Robin Becker wrote:
> >>
> >> I can do this using a class
> >
> >So maybe do it using a class then? ;-)
> >
> >Chris
> >
> yes I am, but surely there has to be a way to do this stuff in line.
> That way I don't have to predefine all the link behaviours
> and include
> in the standard header. I know that the pseudo class things
> are called
> :link :active etc.
> --
> Robin Becker
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker

In article <[EMAIL PROTECTED]>, Chris Withers
<[EMAIL PROTECTED]> writes
>Robin Becker wrote:
>> 
>> I can do this using a class
>
>So maybe do it using a class then? ;-)
>
>Chris
>
yes I am, but surely there has to be a way to do this stuff in line.
That way I don't have to predefine all the link behaviours and include
in the standard header. I know that the pseudo class things are called 
:link :active etc.
-- 
Robin Becker

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] html expertise anyone.

2000-11-28 Thread Chris Withers

Robin Becker wrote:
> 
> I can do this using a class

So maybe do it using a class then? ;-)

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )