A little idea has just popped into my head - quite possibly a foolish one since it's late and I'm just about to go to bed...
- Add the node number (prefixed by "node") as the CSS class for all anchors generated by [id://NNNN].
- Add a <div></div> with a class of the current pages node number (again prefixed by "node") around each page.
This would enable some neat tricks with user-CSS. Some examples:
- Feeling narcissistic? Set all the links to your home node to bold, red, 20pt text and never miss a link to your home node again...
- Interested in what a particular monk has to say on a subject? Add a border around links to their home node on the Newest Nodes page.
- Don't want to see the Most Recently Added Questions section of the Q&A page? Just stop it being displayed based on the pages node number.
Sane - or should I have got some sleep before hitting submit?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|