Forums / Setup & design / <body id="pageid">

<body id="pageid">

Author Message

Ned Nieuws

Monday 24 January 2005 5:41:03 am

An existing site uses an "id" attribute on the body tag to show the visitor in which part of the site he is. It uses a menu derived from http://www.alistapart.com/articles/sprites/. How would I accomplish this with ezPublish?

Ned Nieuws

Monday 24 January 2005 10:32:54 am

One way would be:

<body id="site{$module_result.node_id}">

Is there a better way or is this the way to go?