Bear River Development Blog & Code Library
Javascript Replace Reserved Special Characters in Form Field 
Thursday, April 8, 2010, 02:54 PM - Javascript
Posted by Administrator
Need to remove special reserved characters in form fields?
Here you go - setup your field like this:

<INPUT ID="CurrentMonth" NAME="CurrentMonth" TYPE="text" SIZE="40" onBlur="var val = form.CurrentMonth.value; if (val) form.CurrentMonth.value=val.replace(/\$|,|@|#|~|`|\%|\*|\^|\&|\(|\)|\+|\=|\[|\-|\_|\]|\[|\}|\{|\;|\:|\'|\<|\>|\?|\||\\|\!|\$|\./g,'')">
view entry ( 30 views )   |  0 trackbacks   |  permalink
Add a link over a Flash Movie 
Wednesday, November 25, 2009, 12:20 PM - HTML
Posted by Administrator
1) wrap your Flash object in a div tag with the position set to relative
2) set the param name to transparent
3) set the embed wmode to transparent
4) after your object, in the same div, add your link
Like this
<div style="position:relative">
<object ....>
<param name="wmode" value="transparent" />
...
<embed src="whatever" ... wmode="transparent" ... />
</object>
<a style="z-index: 999;
position: absolute;
top:0; left:0;
width:310px;
height:60px;
display:block;
text-indent:-40em;"
href="link.php">Page Link</a></div>

view entry ( 75 views )   |  0 trackbacks   |  permalink
Affordable Customized SEO 
Saturday, November 14, 2009, 09:00 PM - Business Marketing
Posted by Administrator
In today's economy you need to take every opportunity to promote your business effectively and within your budget. Your potential customers are online and are increasingly turning to the web instead of the yellow pages to find information about local businesses. It is important for your business to have a presence on the web. Not only does your business need a professional looking, easy to navigate web site, but your customers also need to be able to quickly and easily find out more about your business and the products or services you have to offer.


Search Engine Optimization is vital for your potential, and current, customers to find you on the web. There are many companies out there these days offering SEO services, with hefty monthly fees. You really do not need to pay the kind of prices they are asking for month after month to get effective Search Engine Optimization. You have probably received a call from a telemarketer recently using high pressure tactics to sell you on their service, in cryptic terms they "explain" how they will increase your rankings in the search engines, making big promises with their one-size-fits-all plans. What they don't tell you is that the majority of the SEO tasks they do on your site are freely offered online services that only need to be setup One Time - not month after month! So, most of the expense of those big monthly fees goes toward paying their telemarketers to hook new clients.

Instead, please consider that without all that overhead, we can tailor an affordable plan to optimize your site for improved search engine rankings. Furthermore, we are local members of community who want to see your business to thrive...one of our friendly developers will meet with you personally to discuss your SEO goals and budget and work up a plan for improving your rankings in the top search engines.


At Bear River Web Design, we are knowledgeable and experienced in the most up-to-date SEO techniques. There are a number of factors that should be considered in tailoring an SEO strategy for your specific industry in order to effectively reach your target market, within your budget. I invite you to give me a call at 888-530-BEAR (888-530-2327) ext. 3 or (530) 324-BEAR, so we can discuss your needs, or visit our web site to learn more about our local company.



With over 8 years experience developing custom websites and performing customized SEO campaigns, we are your local professionals who can provide your business with affordable and effective SEO. Please do not hesitate to call me to discuss your needs.


You Have Options...Choose the Local Professionals at Bear River Web Design! (888) 530-BEAR or (530) 324-BEAR
view entry ( 69 views )   |  0 trackbacks   |  permalink
Turn off Autocomplete on form fields 
Monday, October 26, 2009, 04:39 PM - HTML
Posted by Administrator
The autocomplete feature of form fields in Internet Explorer (IE) supports various form elements including name, email addresses, addresses, and passwords. If enabled, autocomplete feature lists possible matches for the entries website visitors have typed before in the web based form fields with the same field names.

Use the following code to turn off autocomplete on all fields in a form where it might be undesirable for form fields to suggest based on prior entries, such as on public computers or where various users use the same computer to access the form:

<form AUTOCOMPLETE="OFF">
<input type="text" name="name">
</form>


view entry ( 75 views )   |  0 trackbacks   |  permalink   |  related link
GeoLocation by IP address 
Monday, October 26, 2009, 04:36 PM - PHP
Posted by Administrator
Link to Linux Journal article on GeoLocation by IP address
view entry ( 73 views )   |  0 trackbacks   |  permalink
Color Chart 
Wednesday, October 21, 2009, 07:42 PM - HTML
Posted by Administrator

Color Chart

IndianRed CD5C5C 205, 92, 92 0.804, 0.361, 0.361
LightCoral F08080 240, 128, 128 0.941, 0.502, 0.502
Salmon FA8072 250, 128, 114 0.980, 0.502, 0.447
DarkSalmon E9967A 233, 150, 122 0.914, 0.588, 0.478
LightSalmon FFA07A 255, 160, 122 1.000, 0.627, 0.478
Crimson DC143C 220, 20, 60 0.863, 0.078, 0.235
Red FF0000 255, 0, 0 1.000, 0.000, 0.000
FireBrick B22222 178, 34, 34 0.698, 0.133, 0.133
DarkRed 8B0000 139, 0, 0 0.545, 0.000, 0.000
Pink FFC0CB 255, 192, 203 1.000, 0.753, 0.796
LightPink FFB6C1 255, 182, 193 1.000, 0.714, 0.757
HotPink FF69B4 255, 105, 180 1.000, 0.412, 0.706
DeepPink FF1493 255, 20, 147 1.000, 0.078, 0.576
MediumVioletRed C71585 199, 21, 133 0.780, 0.082, 0.522
PaleVioletRed DB7093 219, 112, 147 0.859, 0.439, 0.576
LightSalmon FFA07A 255, 160, 122 1.000, 0.627, 0.478
Coral FF7F50 255, 127, 80 1.000, 0.498, 0.314
Tomato FF6347 255, 99, 71 1.000, 0.388, 0.278
OrangeRed FF4500 255, 69, 0 1.000, 0.271, 0.000
DarkOrange FF8C00 255, 140, 0 1.000, 0.549, 0.000
Orange FFA500 255, 165, 0 1.000, 0.647, 0.000
Gold FFD700 255, 215, 0 1.000, 0.843, 0.000
Yellow FFFF00 255, 255, 0 1.000, 1.000, 0.000
LightYellow FFFFE0 255, 255, 224 1.000, 1.000, 0.878
LemonChion FFFACD 255, 250, 205 1.000, 0.980, 0.804
LightGoldenrodYellow FAFAD2 250, 250, 210 0.980, 0.980, 0.824
PapayaWhip FFEFD5 255, 239, 213 1.000, 0.937, 0.835
Moccasin FFE4B5 255, 228, 181 1.000, 0.894, 0.710
PeachPu FFDAB9 255, 218, 185 1.000, 0.855, 0.725
PaleGoldenrod EEE8AA 238, 232, 170 0.933, 0.910, 0.667
Khaki F0E68C 240, 230, 140 0.941, 0.902, 0.549
DarkKhaki BDB76B 189, 183, 107 0.741, 0.718, 0.420
Lavender E6E6FA 230, 230, 250 0.902, 0.902, 0.980
Thistle D8BFD8 216, 191, 216 0.847, 0.749, 0.847
Plum DDA0DD 221, 160, 221 0.867, 0.627, 0.867
Violet EE82EE 238, 130, 238 0.933, 0.510, 0.933
Orchid DA70D6 218, 112, 214 0.855, 0.439, 0.839
Fuchsia FF00FF 255, 0, 255 1.000, 0.000, 1.000
Magenta FF00FF 255, 0, 255 1.000, 0.000, 1.000
MediumOrchid BA55D3 186, 85, 211 0.729, 0.333, 0.827
MediumPurple 9370DB 147, 112, 219 0.576, 0.439, 0.859
BlueViolet 8A2BE2 138, 43, 226 0.541, 0.169, 0.886
DarkViolet 9400D3 148, 0, 211 0.580, 0.000, 0.827
DarkOrchid 9932CC 153, 50, 204 0.600, 0.196, 0.800
DarkMagenta 8B008B 139, 0, 139 0.545, 0.000, 0.545
Purple 800080 128, 0, 128 0.502, 0.000, 0.502
Indigo 4B0082 75, 0, 130 0.294, 0.000, 0.510
SlateBlue 6A5ACD 106, 90, 205 0.416, 0.353, 0.804
DarkSlateBlue 483D8B 72, 61, 139 0.282, 0.239, 0.545
GreenYellow ADFF2F 173, 255, 47 0.678, 1.000, 0.184
Chartreuse 7FFF00 127, 255, 0 0.498, 1.000, 0.000
LawnGreen 7CFC00 124, 252, 0 0.486, 0.988, 0.000
Lime 00FF00 0, 255, 0 0.000, 1.000, 0.000
LimeGreen 32CD32 50, 205, 50 0.196, 0.804, 0.196
PaleGreen 98FB98 152, 251, 152 0.596, 0.984, 0.596
LightGreen 90EE90 144, 238, 144 0.565, 0.933, 0.565
MediumSpringGreen 00FA9A 0, 250, 154 0.000, 0.980, 0.604
SpringGreen 00FF7F 0, 255, 127 0.000, 1.000, 0.498
MediumSeaGreen 3CB371 60, 179, 113 0.235, 0.702, 0.443
SeaGreen 2E8B57 46, 139, 87 0.180, 0.545, 0.341
ForestGreen 228B22 34, 139, 34 0.133, 0.545, 0.133
Green 008000 0, 128, 0 0.000, 0.502, 0.000
DarkGreen 006400 0, 100, 0 0.000, 0.392, 0.000
YellowGreen 9ACD32 154, 205, 50 0.604, 0.804, 0.196
OliveDrab 6B8E23 107, 142, 35 0.420, 0.557, 0.137
Olive 808000 128, 128, 0 0.502, 0.502, 0.000
DarkOliveGreen 556B2F 85, 107, 47 0.333, 0.420, 0.184
MediumAquamarine 66CDAA 102, 205, 170 0.400, 0.804, 0.667
DarkSeaGreen 8FBC8F 143, 188, 143 0.561, 0.737, 0.561
LightSeaGreen 20B2AA 32, 178, 170 0.125, 0.698, 0.667
DarkCyan 008B8B 0, 139, 139 0.000, 0.545, 0.545
Teal 008080 0, 128, 128 0.000, 0.502, 0.502
Aqua 00FFFF 0, 255, 255 0.000, 1.000, 1.000
Cyan 00FFFF 0, 255, 255 0.000, 1.000, 1.000
LightCyan E0FFFF 224, 255, 255 0.878, 1.000, 1.000
PaleTurquoise AFEEEE 175, 238, 238 0.686, 0.933, 0.933
Aquamarine 7FFFD4 127, 255, 212 0.498, 1.000, 0.831
Turquoise 40E0D0 64, 224, 208 0.251, 0.878, 0.816
MediumTurquoise 48D1CC 72, 209, 204 0.282, 0.820, 0.800
DarkTurquoise 00CED1 0, 206, 209 0.000, 0.808, 0.820
CadetBlue 5F9EA0 95, 158, 160 0.373, 0.620, 0.627
SteelBlue 4682B4 70, 130, 180 0.275, 0.510, 0.706
LightSteelBlue B0C4DE 176, 196, 222 0.690, 0.769, 0.871
PowderBlue B0E0E6 176, 224, 230 0.690, 0.878, 0.902
LightBlue ADD8E6 173, 216, 230 0.678, 0.847, 0.902
SkyBlue 87CEEB 135, 206, 235 0.529, 0.808, 0.922
LightSkyBlue 87CEFA 135, 206, 250 0.529, 0.808, 0.980
DeepSkyBlue 00BFFF 0, 191, 255 0.000, 0.749, 1.000
DodgerBlue 1E90FF 30, 144, 255 0.118, 0.565, 1.000
CornlowerBlue 6495ED 100, 149, 237 0.392, 0.584, 0.929
MediumSlateBlue 7B68EE 123, 104, 238 0.482, 0.408, 0.933
RoyalBlue 4169E1 65, 105, 225 0.255, 0.412, 0.882
Blue 0000FF 0, 0, 255 0.000, 0.000, 1.000
MediumBlue 0000CD 0, 0, 205 0.000, 0.000, 0.804
DarkBlue 00008B 0, 0, 139 0.000, 0.000, 0.545
Navy 000080 0, 0, 128 0.000, 0.000, 0.502
MidnightBlue 191970 25, 25, 112 0.098, 0.098, 0.439
Cornsilk FFF8DC 255, 248, 220 1.000, 0.973, 0.863
BlanchedAlmond FFEBCD 255, 235, 205 1.000, 0.922, 0.804
Bisque FFE4C4 255, 228, 196 1.000, 0.894, 0.769
NavajoWhite FFDEAD 255, 222, 173 1.000, 0.871, 0.678
Wheat F5DEB3 245, 222, 179 0.961, 0.871, 0.702
BurlyWood DEB887 222, 184, 135 0.871, 0.722, 0.529
Tan D2B48C 210, 180, 140 0.824, 0.706, 0.549
RosyBrown BC8F8F 188, 143, 143 0.737, 0.561, 0.561
SandyBrown F4A460 244, 164, 96 0.957, 0.643, 0.376
Goldenrod DAA520 218, 165, 32 0.855, 0.647, 0.125
DarkGoldenrod B8860B 184, 134, 11 0.722, 0.525, 0.043
Peru CD853F 205, 133, 63 0.804, 0.522, 0.247
Chocolate D2691E 210, 105, 30 0.824, 0.412, 0.118
SaddleBrown 8B4513 139, 69, 19 0.545, 0.271, 0.075
Sienna A0522D 160, 82, 45 0.627, 0.322, 0.176
Brown A52A2A 165, 42, 42 0.647, 0.165, 0.165
Maroon 800000 128, 0, 0 0.502, 0.000, 0.000
White FFFFFF 255, 255, 255 1.000, 1.000, 1.000
Snow FFFAFA 255, 250, 250 1.000, 0.980, 0.980
Honeydew F0FFF0 240, 255, 240 0.941, 1.000, 0.941
MintCream F5FFFA 245, 255, 250 0.961, 1.000, 0.980
Azure F0FFFF 240, 255, 255 0.941, 1.000, 1.000
AliceBlue F0F8FF 240, 248, 255 0.941, 0.973, 1.000
GhostWhite F8F8FF 248, 248, 255 0.973, 0.973, 1.000
WhiteSmoke F5F5F5 245, 245, 245 0.961, 0.961, 0.961
Seashell FFF5EE 255, 245, 238 1.000, 0.961, 0.933
Beige F5F5DC 245, 245, 220 0.961, 0.961, 0.863
OldLace FDF5E6 253, 245, 230 0.992, 0.961, 0.902
FloralWhite FFFAF0 255, 250, 240 1.000, 0.980, 0.941
Ivory FFFFF0 255, 255, 240 1.000, 1.000, 0.941
AntiqueWhite FAEBD7 250, 235, 215 0.980, 0.922, 0.843
Linen FAF0E6 250, 240, 230 0.980, 0.941, 0.902
LavenderBlush FFF0F5 255, 240, 245 1.000, 0.941, 0.961
MistyRose FFE4E1 255, 228, 225 1.000, 0.894, 0.882
Gainsboro DCDCDC 220, 220, 220 0.863, 0.863, 0.863
LightGrey D3D3D3 211, 211, 211 0.827, 0.827, 0.827
Silver C0C0C0 192, 192, 192 0.753, 0.753, 0.753
DarkGray A9A9A9 169, 169, 169 0.663, 0.663, 0.663
Gray 808080 128, 128, 128 0.502, 0.502, 0.502
DimGray 696969 105, 105, 105 0.412, 0.412, 0.412
LightSlateGray 778899 119, 136, 153 0.467, 0.533, 0.600
SlateGray 708090 112, 128, 144 0.439, 0.502, 0.565
DarkSlateGray 2F4F4F 47, 79, 79 0.184, 0.310, 0.310
Black 000000 0, 0, 0 0.000, 0.000, 0.000

view entry ( 50 views )   |  0 trackbacks   |  permalink
Simple Javascript Popup Calendar 
Tuesday, October 20, 2009, 02:39 PM - Javascript
Posted by Administrator
Here's a link to a simple javascript popup calendar:
Simple Javascript Popup Calendar
view entry ( 92 views )   |  0 trackbacks   |  permalink
Javascript Popup Tooltip Message 
Wednesday, October 14, 2009, 03:40 PM - Javascript
Posted by Administrator
Here is a link to a nice javascript popup tooltip.
WZ_Tooltip
view entry ( 78 views )   |  0 trackbacks   |  permalink
Javascript Inline Validation Code 
Friday, October 9, 2009, 05:46 PM
Posted by Administrator
Dynamic Inline Javascript Validation


view entry ( 80 views )   |  0 trackbacks   |  permalink
HTML special characters 
Friday, October 9, 2009, 05:35 PM - HTML
Posted by Administrator
Some of the most popular HTML character entities are:

♥ or &#9829; black heart
♦ or &#9830; black diamond
♣ or &#9827; black clubs (shamrock)
♠ or &#9824; black spade
∞ &#8734; infinity symbol
view entry ( 71 views )   |  0 trackbacks   |  permalink
Find your Outlook Files 
Tuesday, September 29, 2009, 08:50 AM - Software Troubleshooting
Posted by Administrator
Moving your email over to another computer and use Outlook? Wondering where your Outlook Files are stored in Windows XP or Wimdows Vista?

Here you go:
In Windows XP, email data is usually stored here:
C:\Documents and Settings\*Username*\Local Settings\Application Data\Microsoft\Outlook

"Local Settings" is a hidden folder.

So, in order to access,
"C:\Documents and Settings\*Username*\Local Settings\Application Data\Microsoft\Outlook"

While in Windows Explorer
1. Click on "Tools" in the top menu
2. drop-down and click on "Folder Options"
3. On Folder Option window, click on "View"
4. put dot next to "Show hidden files and folders"
5. click "Apply" then "OK"

Now, users will be able to see the folders and files in "Local Settings"

In Windows Vista, email data is usually stored here:
C:\users\*Username*\AppData\Local\Microsoft\Outlook

Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR



view entry ( 89 views )   |  0 trackbacks   |  permalink
Simple ShowHide Javascript Code 
Wednesday, July 1, 2009, 01:55 PM - Javascript
Posted by Administrator
here is a REAL SIMPLE show/hide script
This goes in the <head>:

<script> function showHide(HID) {
if (document.getElementById(HID).className != 'visibleRow' ) {
document.getElementById(HID).className='visibleRow';
document.getElementById(HID + 'nav').className='menunav2';
} else {
document.getElementById(HID).className='hiddenRow';
document.getElementById(HID + 'nav').className='menunav';
}
} </script>


This goes in the <body>:
<div style="display: none;" id="script"> Some interesting stuff <p><a href="#" onClick="javascript:showHide('otherresult');">show/hide</a></p> </div>
<DIV ID="otherresult" CLASS="hiddenRow">blah blah blah </DIV>


This goes in the css
.hiddenRow {
display: none;
visibility: hidden;
}
.visibleRow {
display:;
visibility: visible;
}



Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 77 views )   |  0 trackbacks   |  permalink
HTML Redirect Code - Redirect to another page 
Thursday, June 25, 2009, 10:21 AM - Website Templates
Posted by Administrator
If you want to redirect your page to another link use this code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.yournewlink.com"></HEAD>
<BODY>
Additional text.
</BODY>
</HTML>code]
view entry ( 83 views )   |  0 trackbacks   |  permalink
Outlook 2007 Fix Stuck Read Message Receipt Send 
Friday, June 19, 2009, 08:22 PM - Software Troubleshooting
Posted by Administrator
Ever have trouble with Microsoft Outlook, where your Send/Receive message shows a stalled list of messages in Send status, but there is nothing in your outbox? This is a case of read message receipts getting stuck.

Here's the fix:
http://www.howto-outlook.com/howto/dele ... eceipt.htm


Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 83 views )   |  0 trackbacks   |  permalink
Expanding Menu - Javascript 
Saturday, May 30, 2009, 12:40 AM - Javascript
Posted by Administrator


<!-- Paste this code into the CSS section of your HTML document -->

ul#menu {
width: 100px;
list-style-type: none;
border-top: solid 1px #b9a894;
margin: 0;
padding: 0;
}

ul#menu ol {
display: none;
text-align: right;
list-style-type: none;
margin: 0;
padding: 5px;
}

ul#menu li,
ul#menu a {
font-family: verdana, sans-serif;
font-size: 11px;
color: #785a3c;
}

ul#menu li {
border-bottom: solid 1px #b9a894;
line-height: 15px;
}

ul#menu ol li {
border-bottom: none;
}

ul#menu ol li:before {
content: "- ";
}

ul#menu a {
text-decoration: none;
outline: none;
}

ul#menu a:hover {
color: #539dbc;
}

ul#menu a.active {
color: #be5028;
}



<!-- Paste this code into an external JavaScript file named: expandingMenu.js -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Travis Beckham :: http://www.squidfingers.com | http://www.podlob.com
version date: 06/02/03 :: If want to use this code, feel free to do so,
but please leave this message intact. (Travis Beckham) */

// Node Functions

if(!window.Node){
var Node = {ELEMENT_NODE : 1, TEXT_NODE : 3};
}

function checkNode(node, filter){
return (filter == null || node.nodeType == Node[filter] || node.nodeName.toUpperCase() == filter.toUpperCase());
}

function getChildren(node, filter){
var result = new Array();
var children = node.childNodes;
for(var i = 0; i < children.length; i++){
if(checkNode(children, filter)) result[result.length] = children;
}
return result;
}

function getChildrenByElement(node){
return getChildren(node, "ELEMENT_NODE");
}

function getFirstChild(node, filter){
var child;
var children = node.childNodes;
for(var i = 0; i < children.length; i++){
child = children;
if(checkNode(child, filter)) return child;
}
return null;
}

function getFirstChildByText(node){
return getFirstChild(node, "TEXT_NODE");
}

function getNextSibling(node, filter){
for(var sibling = node.nextSibling; sibling != null; sibling = sibling.nextSibling){
if(checkNode(sibling, filter)) return sibling;
}
return null;
}
function getNextSiblingByElement(node){
return getNextSibling(node, "ELEMENT_NODE");
}

// Menu Functions & Properties

var activeMenu = null;

function showMenu() {
if(activeMenu){
activeMenu.className = "";
getNextSiblingByElement(activeMenu).style.display = "none";
}
if(this == activeMenu){
activeMenu = null;
} else {
this.className = "active";
getNextSiblingByElement(this).style.display = "block";
activeMenu = this;
}
return false;
}

function initMenu(){
var menus, menu, text, a, i;
menus = getChildrenByElement(document.getElementById("menu"));
for(i = 0; i < menus.length; i++){
menu = menus;
text = getFirstChildByText(menu);
a = document.createElement("a");
menu.replaceChild(a, text);
a.appendChild(text);
a.href = "#";
a.onclick = showMenu;
a.onfocus = function(){this.blur()};
}
}

if(document.createElement) window.onload = initMenu;



<!-- Paste this code into the HEAD section of your HTML document.
You may need to change the path of the file. -->

<script type="text/javascript" src="expandingMenu.js"></script>



<!-- Paste this code into the BODY section of your HTML document -->

<ul id="menu">
<li>Menu Item 1
<ol>
<li><a href="#">Sub Item 1.1</a></li>
<li><a href="#">Sub Item 1.2</a></li>
<li><a href="#">Sub Item 1.3</a></li>
</ol>
</li>
<li>Menu Item 2
<ol>
<li><a href="#">Sub Item 2.1</a></li>
<li><a href="#">Sub Item 2.2</a></li>
<li><a href="#">Sub Item 2.3</a></li>
</ol>
</li>
<li>Menu Item 3
<ol>
<li><a href="#">Sub Item 3.1</a></li>
<li><a href="#">Sub Item 3.2</a></li>
<li><a href="#">Sub Item 3.3</a></li>
</ol>
</li>
<li>Menu Item 4
<ol>
<li><a href="#">Sub Item 4.1</a></li>
<li><a href="#">Sub Item 4.2</a></li>
<li><a href="#">Sub Item 4.3</a></li>
</ol>
</li>
<li>Menu Item 5
<ol>
<li><a href="#">Sub Item 5.1</a></li>
<li><a href="#">Sub Item 5.2</a></li>
<li><a href="#">Sub Item 5.3</a></li>
</ol>
</li>
</ul>
<p><div align="center">
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</div><p>






Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 91 views )   |  0 trackbacks   |  permalink
FileMaker Custom Functions Search 
Friday, May 29, 2009, 11:50 PM - FileMaker
Posted by Administrator
Search for a Custom Function:
Free library of FileMaker Pro Custom Functions


Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 97 views )   |  0 trackbacks   |  permalink
SQL query reserved characters 
Thursday, May 28, 2009, 10:31 AM - Javascript
Posted by Administrator
When performing SQL queries, you can run into errors in form submission if users enter certain reserved characters. The error you might get is:
Microsoft VBScript error ' 800a0409' Unterminated string constant

Reserved characters that may cause the error message include the following:
!
@
#
$
%
^
&
*
( )
/ \
{ }
[ ]
'

Make sure that none of these reserved characters are sent from form fields or in fields in your database.

Even if you instruct your website users not to use these special characters, they will probably ignore your warning and use these characters anyway. To get around this, I have found that a simple javascript solution will do the trick. Here's an example of a bit of Replace Characters code that you'll have to modify to replace all of these characters.

Javascript Source: Replace Characters >>Click Here

Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR




view entry ( 74 views )   |  0 trackbacks   |  permalink
javascript event reference 
Monday, May 25, 2009, 01:27 PM - Javascript
Posted by Administrator
onabort -Loading of an image is interrupted
onblur -An element loses focus
onchange -The user changes the content of a field
onclick -Mouse clicks an object
ondblclick -Mouse double-clicks an object
onerror -An error occurs when loading a document or an image
onfocus -An element gets focus
onkeydown -A keyboard key is pressed
onkeypress -A keyboard key is pressed or held down
onkeyup -A keyboard key is released
onload -A page or an image is finished loading
onmousedown -A mouse button is pressed
onmousemove -The mouse is moved
onmouseout -The mouse is moved off an element
onmouseover -The mouse is moved over an element
onmouseup -A mouse button is released
onreset -The reset button is clicked
onresize -A window or frame is resized
onselect -Text is selected
onsubmit -The submit button is clicked
onunload -The user exits the page

Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 90 views )   |  0 trackbacks   |  permalink   |  related link
javascript count characters typed in field 
Monday, May 25, 2009, 12:38 PM - Javascript
Posted by Administrator
Javascript part:

<script type="text/javascript">
function countChar(str,f){
f.Count.value = str.length
}
</script>


Form Part:

<form>
You've typed <input size=3 type="text" name="Count" value="0"> characters <input type="text" name="MyText" onkeyup="countChar(this.value,this.form)">
</form>



Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 86 views )   |  0 trackbacks   |  permalink
Contact Form Generator Script 
Friday, May 22, 2009, 02:51 PM - PHP, ASP
Posted by Administrator
Website Contact Form Generator for ASP or PHP - Click Here

This site offers a very useful tool to create custom ASP and PHP contact forms for your website.

Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR




view entry ( 100 views )   |  0 trackbacks   |  permalink
Template Monster 
Thursday, May 21, 2009, 08:43 PM - Website Templates
Posted by Administrator


Template Monster


Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR



view entry ( 86 views )   |  0 trackbacks   |  permalink
Free PHP Blog - Simple PHP Blog 
Thursday, May 21, 2009, 05:27 PM - PHP
Posted by Administrator
Here is a simple, free PHP blog.
Simple PHP Blog - Click Here

Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 85 views )   |  0 trackbacks   |  permalink
Javascript Disable Submit Button 
Wednesday, May 20, 2009, 05:48 PM - Javascript
Posted by Administrator
Now here is some javascript code that you can use to disable the submit button on a form when certain fields are not yet filled out:

<HEAD>
<script type="text/javascript">
var submitted = 0;
function LockButton (form,element) {
if ( ! submitted ) { form.elements[element].disabled=true;
submitted = 1; form.submit;
}
}
//Clears the form and disables the submit button
function ResetButton(form,element) { form.elements[element].disabled=true; document.getElementById('fname').value=''; document.getElementById('lname').value=''; } function validate(form,element) { //If first name is not filled out, keep submit disabled
if (form.fname.value == '') {
form.elements[element].disabled=true; return false; }
//If last name is not filled out, keep submit disabled else if (form.lname.value == '') {
form.elements[element].disabled=true;
return false;
}
//If everything is filled out, enable Submit
else {
form.elements[element].disabled=false; return true;
}
}
</script>
</HEAD>

Here's the form


<form id="form1" name="form1" action="#" method="POST">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="70">First name:</td>
<td><input id="fname" name="fname" type="text" class="mystyle" onChange="validate(this.form,'Submit')">
<br></td>
</tr>
<tr> <td width="70">Last name:</td>
<td>
<input id="lname" name="lname" type="text" class="mystyle" onChange="validate(this.form,'Submit')"><br></td>
</tr>
<tr> <td colspan="2" align="right">
<input id="Submit" type="button" name="Submit" value="Submit" disabled onClick="validate(this.form,'Submit'); LockButton(this.form,'Submit');" /><br /> <input type="button" name="Reset" value="Reset" onClick="ResetButton(this.form,'Submit');" /></td> </tr>
</table>
</form>


Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR



view entry ( 87 views )   |  0 trackbacks   |  permalink
Free PHP Photo Blog - Plogger 
Tuesday, May 19, 2009, 05:30 PM - PHP
Posted by Administrator
This is a handy tool for an interactive photo gallery
Plogger - Click Here


Jeanie Crossfield
Choose The Local Pros
at Bear River Web Design
888-530-BEAR


view entry ( 76 views )   |  0 trackbacks   |  permalink

| 1 |