<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Webscriptexpert's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 24 Jul 2008 02:29:07 GMT</pubDate>
    <description>DZone Snippets: Webscriptexpert's Code Snippets</description>
    <item>
      <title>Change Text Properties on Mouseover</title>
      <link>http://snippets.dzone.com/posts/show/3319</link>
      <description>This only works with the IE browsers. Add this code within your &lt;head&gt; tags. To keep the underline on your links, replace "none" with "underline" Change "YourColor" with the hexidecimal number of color required.  &lt;br /&gt;Find this and other snippets on my site, if you wish, by &lt;a href="http://www.webscriptexpert.com/css-change-text-mouseover.html"&gt;clicking here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;style&lt;br /&gt;type="text/css"&gt; &lt;!-- A:link { text-decoration: none; color:#YourColor&lt;br /&gt;} A:visited { text-decoration: none; color:#YourColor } A:hover { text-decoration:&lt;br /&gt;none; color:#YourColor } --&gt; &lt;/style&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 17 Jan 2007 22:17:29 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3319</guid>
      <author>webscriptexpert (r)</author>
    </item>
    <item>
      <title>CSS Menu with Highlights</title>
      <link>http://snippets.dzone.com/posts/show/3141</link>
      <description>// Simple CSS that will let you do away with clunky images forever! This script will create a perfect menu that highlights links when the mouse rolls over! The beauty of CSS is that this script is compact, lightweight and customizeable! This is a perfect example of the power of CSS.&lt;br /&gt;&lt;a href="http://www.webscriptexpert.com/demo/css-highlight-menu.html"&gt;DEMO&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.webscriptexpert.com"&gt;webscriptexpert.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;HTML CODE HERE&gt;&lt;br /&gt;&lt;CODE&gt;&lt;br /&gt;&lt;table border="0" width=175&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="100%" bgcolor="#E6E6E6"&gt;&lt;span class="style7"&gt;&lt;b&gt;CSS MENU&lt;b&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="100%"&gt;&lt;span class="style5"&gt;&lt;a href="http://www.webscriptexpert.com" class="selector"&gt;Web Script Expert&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="100%"&gt;&lt;span class="style5"&gt;&lt;a href="http://www.webscriptexpert.com" class="selector"&gt;Actionscript&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="100%"&gt;&lt;span class="style5"&gt;&lt;a href="http://www.webscriptexpert.com" class="selector"&gt;PHP CSS&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="100%"&gt;&lt;span class="style5"&gt;&lt;a href="http://www.webscriptexpert.com" class="selector"&gt;Javascript&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/CODE&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;CSS CODE HERE&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;style&gt;&lt;br /&gt;A.selector {&lt;br /&gt;display: block;&lt;br /&gt;width: 198px;&lt;br /&gt;text-align: left;&lt;br /&gt;text-decoration: none;&lt;br /&gt;font-family:arial;&lt;br /&gt;font-size:12px;&lt;br /&gt;color: #000000;&lt;br /&gt;BORDER: none;&lt;br /&gt;border: solid 1px #FFFFFF;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;A.selector:hover {&lt;br /&gt;border: solid 1px #6100C1;&lt;br /&gt;background-color:#F0E1FF;&lt;br /&gt;}&lt;br /&gt;.style5 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; }&lt;br /&gt;.style7 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 13 Dec 2006 00:55:36 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3141</guid>
      <author>webscriptexpert (r)</author>
    </item>
    <item>
      <title>CSS Drop Shadows</title>
      <link>http://snippets.dzone.com/posts/show/3140</link>
      <description>This handy technique allows us to build flexible CSS drop shadows that we can apply to any arbitraryblock elements. The beauty of this method is that most exisitng techniques use images to create the shadow effect. This script is lightweight and uses pure CSS! ENJOY!&lt;br /&gt;&lt;a href="http://www.webscriptexpert.com"&gt;www.webscriptexpert.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;HTML PAGE HERE&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;&lt;br /&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;title&gt;CSS Drop Shadow DEMO&lt;/title&gt;&lt;br /&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;&lt;br /&gt;&lt;link media="screen" type="text/css" rel="stylesheet" href="dropshadow.css" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;style&gt;&lt;br /&gt;body {&lt;br /&gt;margin: 0px;&lt;br /&gt;padding: 20px;&lt;br /&gt;font-family: verdana;&lt;br /&gt;font-size: 12px;&lt;br /&gt;min-width: 770px;&lt;br /&gt;}&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="shadow-container"&gt;&lt;br /&gt;&lt;div class="shadow1"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="shadow2"&gt;&lt;br /&gt;&lt;div class="shadow3"&gt;&lt;br /&gt;&lt;div class="container"&gt;&lt;br /&gt;&lt;p&gt;This is a sample of how we implement the CSS style to create flexible CSS drop shadows that can be applied to block elements.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The beauty of this script is that is doesnt use any images to create the final effect, just pure CSS!&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellspacing=0 cellpadding=0 border=0 width="100%"&gt;&lt;tr valign="top"&gt;&lt;br /&gt;&lt;td width="22%" height="218"&gt;&lt;br /&gt;&lt;div id="shadow-container"&gt;&lt;br /&gt;&lt;div class="shadow1"&gt;&lt;br /&gt;&lt;div class="shadow2"&gt;&lt;br /&gt;&lt;div class="shadow3"&gt;&lt;br /&gt;&lt;div class="container"&gt;&lt;br /&gt;The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td width="21%"&gt;&lt;/td&gt;&lt;br /&gt;&lt;td width="57%"&gt;&lt;br /&gt;&lt;div id="shadow-container"&gt;&lt;br /&gt;&lt;div class="shadow1"&gt;&lt;br /&gt;&lt;div class="shadow2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="shadow3"&gt;&lt;br /&gt;&lt;div class="container"&gt;The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. &lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;.CSS FILE HERE&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;/* CSS container shadow */&lt;br /&gt;#shadow-container {&lt;br /&gt;position: relative;&lt;br /&gt;left: 3px;&lt;br /&gt;top: 3px;&lt;br /&gt;margin-right: 3px;&lt;br /&gt;margin-bottom: 3px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#shadow-container .shadow2,&lt;br /&gt;#shadow-container .shadow3,&lt;br /&gt;#shadow-container .container {&lt;br /&gt;position: relative;&lt;br /&gt;left: -1px;&lt;br /&gt;top: -1px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#shadow-container .shadow1 {&lt;br /&gt;background: #F1F0F1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#shadow-container .shadow2 {&lt;br /&gt;background: #DBDADB;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#shadow-container .shadow3 {&lt;br /&gt;background: #B8B6B8;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#shadow-container .container {&lt;br /&gt;background: #ffffff;&lt;br /&gt;border: 1px solid #848284;&lt;br /&gt;padding: 10px;&lt;br /&gt;}&lt;br /&gt;/* CSS container shadow */&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 13 Dec 2006 00:53:02 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3140</guid>
      <author>webscriptexpert (r)</author>
    </item>
    <item>
      <title>www.webscriptexpert.com - Java - Image based tool tips</title>
      <link>http://snippets.dzone.com/posts/show/3124</link>
      <description>// This script creates 'tool tips' for images. Use as much text as you want. Formatting is controlled through the use of style sheets. The text will resize, according to the screen width and placement of the cursor.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- TWO STEPS TO INSTALL IMAGE TOOL TIPS:&lt;br /&gt;&lt;br /&gt;1. Copy the coding into the HEAD of your HTML document&lt;br /&gt;2. Add the last code into the BODY of your HTML document --&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- STEP ONE: Paste this code into the HEAD of your HTML document --&gt;&lt;br /&gt;&lt;br /&gt;&lt;HEAD&gt;&lt;br /&gt;&lt;br /&gt;&lt;style type="text/css"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;#toolTipBox {&lt;br /&gt;display: none;&lt;br /&gt;padding: 5;&lt;br /&gt;font-size: 12px;&lt;br /&gt;border: black solid 1px;&lt;br /&gt;font-family: verdana;&lt;br /&gt;position: absolute;&lt;br /&gt;background-color: #ffd038;&lt;br /&gt;color: 000000;&lt;br /&gt;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;Created by: Saul Salvatierra :: http://myarea.com.sapo.pt&lt;br /&gt;with help from Ultimater :: http://ultimiacian.tripod.com */&lt;br /&gt;&lt;br /&gt;var theObj="";&lt;br /&gt;&lt;br /&gt;function toolTip(text,me) {&lt;br /&gt;theObj=me;&lt;br /&gt;theObj.onmousemove=updatePos;&lt;br /&gt;document.getElementById('toolTipBox').innerHTML=text;&lt;br /&gt;document.getElementById('toolTipBox').style.display="block";&lt;br /&gt;window.onscroll=updatePos;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function updatePos() {&lt;br /&gt;var ev=arguments[0]?arguments[0]:event;&lt;br /&gt;var x=ev.clientX;&lt;br /&gt;var y=ev.clientY;&lt;br /&gt;diffX=24;&lt;br /&gt;diffY=0;&lt;br /&gt;document.getElementById('toolTipBox').style.top = y-2+diffY+document.body.scrollTop+ "px";&lt;br /&gt;document.getElementById('toolTipBox').style.left = x-2+diffX+document.body.scrollLeft+"px";&lt;br /&gt;theObj.onmouseout=hideMe;&lt;br /&gt;}&lt;br /&gt;function hideMe() {&lt;br /&gt;document.getElementById('toolTipBox').style.display="none";&lt;br /&gt;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/HEAD&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- STEP TWO: Copy this code into the BODY of your HTML document --&gt;&lt;br /&gt;&lt;br /&gt;&lt;BODY&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;span id="toolTipBox" width="200"&gt;&lt;/span&gt;&lt;br /&gt;&lt;img src="yourImage.jpg" width="237" height="197" border="0" onmouseover="toolTip('Place your tool tip here',this)"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;center&gt;&lt;br /&gt;&lt;font face="arial, helvetica" size"-2"&gt;Free JavaScripts provided&lt;br&gt;&lt;br /&gt;by &lt;a href="http://www.webscriptexpert.com"&gt;Web Script Expert &lt;/a&gt;&lt;/font&gt;&lt;br /&gt;&lt;/center&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Mon, 11 Dec 2006 03:55:11 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3124</guid>
      <author>webscriptexpert (r)</author>
    </item>
  </channel>
</rss>
