Re: [PROPOSAL] 'Region' generated ID set

Mirto Silvio Busico <mbusico-+bmjRK/[email protected]> Thu, 18 Mar 2004 15:22:37 +0000
Newsgroups gmane.comp.web.zope.plone.design
Message-ID <[email protected]>
+1 for me.

Because I had some problem with skinning portal slots can I propose the 
tag #region-head and #region-title?

The problem is that I was trying to create graphic boxes accordingly to 
the proposal in:
    http://www.vertexwerks.com/tests/sidebox/

With the actual slot definition I have to insetr a new <div> before the 
<h5> tag that is used for the title.

I was reluctant to ask for a change in every slot, but if that slots 
have to be reworked, can I propose to introduce the hooks for boxed slots?
By the way one slot modified looked like this:

================ snip start ==============

    <div class="portlet" id="portlet-recent-items">
    <div class="portletHead">

        <h5 i18n:translate="box_recentitems">Recent Items</h5>
    </div>


================ snip end ==============

Regards
    Mirto

Joe Geldart wrote:

>Hi,
>
>With the neccessity (as pointed out by Geir) for IDs for identifying the
>area of the page that contains content (for script performance etc) -- and
>with a drive for greater semantic sensibility -- I propose a new set of
>generated IDs.
>
>These IDs, prefixed with 'region-' will identify what were formally known
>as 'slots'. Regions can be nested (as in a region can contain other
>regions in a well-defined way). Examples of regions include #region-top
>(replacing the unsemantic #portal-top), #region-columnone and
>#region-main (which can be used for identifying page content for script
>purposes.
>
>These IDs should be on the top level below <body>. In other words, nothing
>should be outside a region (even if regions contain other regions).
>
>Comments and suggestions welcome.
>
>  
>

-- 

__________________________________________________________
Mirto Silvio Busico 		ICT Consultant
Tel. +39 333 4562651
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click