Issue 83925 - Add "id" attribute to some page components for easier manipulation
Summary: Add "id" attribute to some page components for easier manipulation
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Website general issues (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: issues@infrastructure
QA Contact: issues@infrastructure
URL: http://www.openoffice.org
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-24 10:53 UTC by Andrea Pescetti
Modified: 2017-05-20 10:32 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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....