Issue 83925

Summary: Add "id" attribute to some page components for easier manipulation
Product: Infrastructure Reporter: Andrea Pescetti <pescetti>
Component: Website general issuesAssignee: issues@infrastructure <issues>
Status: CLOSED FIXED QA Contact: issues@infrastructure <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: current   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://www.openoffice.org
Issue Type: FEATURE Latest Confirmation in: ---
Developer Difficulty: ---

Description Andrea Pescetti 2007-11-24 10:53:58 UTC
The folllowing snippet is taken from the http://www.openoffice.org home page:
  ---
  <div id="banner">
    <div>
      <a href="http://www.openoffice.org/index.html">
      <img src="/branding/images/logonew.gif" alt="OpenOffice.org" id="ooologo" />
      </a>
    </div>
  ...
  ---
As you can see, one "div" element and one "a" element miss the "id" attribute.
This makes it harder for the Italian N-L project to access and possibly
manipulate those elements in our customization.

Could this be changed into the following code?
  ---
  <div id="banner">
    <div id="ooologodiv">
      <a href="http://www.openoffice.org/index.html" id="ooologolink">
      <img src="/branding/images/logonew.gif" alt="OpenOffice.org" id="ooologo" />
      </a>
    </div>
  ...
  ---
This would be more manageable for us.
Comment 1 i2initiatives 2009-06-15 23:47:15 UTC
Fixed in website refresh 2008:
http://wiki.services.openoffice.org/wiki/Website/What's_New/2008_Refresh

Header contains much more identifiers...
Although, with the example given, you could access and style all the elements, e.g.
#banner div {}
#banner div a {}
#banner div a img {}
etc....