Hacking Gmail

(Grace) #1

36 Part II — Getting Inside Gmail


FIGURE4-7: The Gmail
navigation menu

The code that produces this import part of the page is here, in Listing 4-2.

Listing 4-2:The HTML That Produces the Gmail Navigation Menu

<div style=”padding-bottom: 1px;” id=”mt2”>
<div class=”nt” id=”nt2” style=”display: none;”>
<div id=”nav” style=”position: absolute; left: 1ex; width:
14ex;”>
<div class=”nl”><span id=”comp” class=”lk”><b>Compose
Mail</b></span></div>
<div style=”padding-top: 9px;”>
<table cellspacing=”0” cellpadding=”0” border=”0” style=
“background: rgb(195, 217, 255) none repeat scroll 0%; -moz-
background-clip: initial; -moz-background-origin: initial;
-moz-background-inline-policy: initial;”
class=”cv”>
<tbody>
<tr height=”2”>
<td width=”8” class=”tl”></tr>
<tr>
<td>
<td><span id=”ds_inbox” class=”lk b”><b>Inbox
(1)</b></span></td></tr>
<tr height=”2”>
<td class=”bl”></tr></tbody></table>
<div class=”nl”><span id=”ds_starred” class=”lk”>Starred
<img width=”13” height=”13” src=
“/gmail/images/star_on_sm_2.gif” id=”_ss”></span></div>
Free download pdf