Posts Tagged ‘highlight’

HTML:Highlight select html textarea contents

Monday, June 30th, 2008

<script type=”text/javascript”>
if (document.forms["form_id"] && document.forms["form_id"].data) {
document.forms["seofilter"].data.select();
}
</script>
this should be put after the form or near </body> because form may not be accessible.
In this example the textarea has name ‘data’.

Source code highlight plugin/modifier for PHP template engine Smarty

Monday, June 30th, 2008

<?php

function smarty_modifier_highlight_code($text)
{
$text = highlight_string($text, 1);
return $text;
}
?>

Search Engine Marketing & Promotion: The Overall Process

Saturday, June 28th, 2008

Terms such as “search engine marketing” or “search engine promotion” refer to the overall process of marketing a site on search engines. This includes submission, optimization, managing paid listings and more.

These terms also highlight the fact that doing well with search engines is not just about submitting right, optimizing well or getting a good rank for a particular term. It’s about the overall job of improving how your site interacts with search engines, so that the audience you seek can find you.