um ... that wasn't really my point.
What I was saying is that you can use javascript in the bookmark to see if the "keyword" was given any input or not.
In the version I posted, if you type "pm" you get the PerlMonks front page. If you type "pm nodeId" it goes to a particular node.
For PerlMonks this doesn't matter all that much, but for other things (like perldoc or cpan) it's nice to have a good "default" other then whatever the default search is. It also means that if you select that bookmark from the bookmark menu (or click that link when looking at your bookmarks page) you don't wind up trying to go to nodeId "%s"
-
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.
|