|
|
|
line 1
<script language="JavaScript">
<!--
window.resizeTo(600,400)
-->
</script>
< body leftmargin=0 rightmargin=0 topmargin=0 marginheight="0" marginwidth="0" >
<script LANGUAGE="JavaScript">
function click() {
if (event.button==2) {
alert('THIS FUNCTION DISABLED!');
}
}
document.onmousedown=click
// -->
</script>
(embed in head tag):
<script language="JavaScript">
<!--
function openwindow()
{
newWindow = window.open('window.html', 'WorkBench_Console', 'width=545,height=345')
}
// -->
</script>
(embed in body tag):
<body onLoad="openwindow()" bgcolor="#ffffff">
(embed in head tag):
<script language="JavaScript">
<!--
function leave()
{
window.open('comebacksoon.html','','toolbar=no, menubar=no, location=no, height=440, width=540, screenX=100, left=100, screenY=100, top=100,');
}
// -->
</script>
(embed in body tag):
<body onUnload="leave()" bgcolor="#ffffff">
<a href="javascript:window.external.AddFavorite('http://www.yoursite.com/', 'Your Site Title');">Bookmark This Site!</a>
<marquee bgcolor = "#99CCFF" > Welcome to JED-WEB enjoy your stay and come back soon! </marquee>
Back: <a href="javascript:history.back(1)">Go Back</a>
Forward: <a href="javascript:history.forward(1)">Go Forward</a>
Reload: <a href="javascript:location.reload(1)">Reload</a>
Print Page: <a href="javascript:window.print()">Print This Page </a>
Print This Page
<link rel="shortcut icon" href="http://www.jed-web.com/favicon.ico">
< (Less than) <
(Space)
© (Copyright) ©
° (Degree Sign) °
´ (Acute accent) ΄
¸ (Cedilla) Έ
½ (Fraction one-half) ½
Background Tips
![]()
< body bgcolor="#ffffff" background="texture.jpg" >
< body background="texture.jpg" bgproperties="fixed">
<body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#4767AE', startColorstr='#FFFFFF', gradientType='0');"></body>
<script language="JavaScript1.2">
if (document.all||document.getElementById) document.body.style.background="url('watermark.jpg') white center no-repeat fixed"
</script>
<style type="text/css">
<!-- BODY { background: white url(background.gif); background-repeat: no-repeat; } //-->
</style>
<style type="text/css">
<!-- BODY { background: white url(background.gif); background-repeat: repeat-y; } //-->
</style>
Font & Text Tricks
![]()
<font color="#FFFFFF"> <span style="background-color:0000f0;"> white text </span>
<span style="background-color:ffffcc;">yellow background </span>
SHADOW
DROP SHADOW
GLOW
<style type="text/css">a:hover{background-color:red;}</style>
<b onmouseover="this.style.color='red';"onmouseout="this.style.color='';">Hover over me to make me red </b>
Hover over me to make me red
<a href="index.htm" OnMouseOver="self.status='JED-WEB Homepage!';
return true" onmouseout="self.status=''; return true">Home </a>
<font style="font-size: 10pt;" face="Arial" >Styled Font </font>
instead of: <font size="2" face="Arial" >HTML Font </font>
(Change your browser "View / Text Size" and watch the second line above)
<nobr>Your text goes here... </nobr>
<STYLE TYPE="text/css">
<!-- BODY {text-align: justify;} -->
</STYLE>
<P STYLE="text-align: justify;" >
the text goes here
</P>
<P STYLE="margin-left:50px"> line 1 <br> line 2 <br> line 3 </P>
line 2
line 3
<UL> line 1 <br> line 2 <br> line 3 </UL>
line 1
line 2
line 3
<font face="arial,helvetica">
Algerian
Arial
Comic Sans MS
Courier
Helvetica
System
Times New Roman
<b>bold</b> or <strong>strong</strong>
<cite>citation</cite>
<code>code</code>
<dfn>definition</dfn>
<i>italics</i> or <em>emphasize</em> or
<var>variable</var>
<kbd>keyboard</kbd> or <tt>true-type or typewriter text</tt>
<samp>sample</samp>
<strike>strike through</strike>
<u>underlined</u>
<sup>Superscript</sup>
<sub>Subscript</sub>
Link Tricks
![]()
<base target="main">
< body link=black vlink=red alink=blue" >
<a href="page1.html" ><font color="FF0000"> LINK 1 </font></a>
<a href="page2.html" ><font color="00FF00"> LINK 2 </font></a>
<a href="page2.html" ><font color="0000FF"> LINK 3 </font></a>
LINK 1
LINK 2
LINK 3
<a href="page1.html" style="color : FF0000;"> LINK 1 </font></a>
<a href="page2.html" style="color : 00FF00;"> LINK 2 </font></a>
<a href="page2.html" style="color : 0000FF;"> LINK 3 </font></a>
LINK 1
LINK 2
LINK 3
<style type="text/css">
<!-- a:visited, a:hover, a:active {text-decoration=none;} //-->
</style>
<script language="Javascript" type="text/javascript">
<!--
function RemoveDot()
{
for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}
if (document.all)
{
document.onmousedown = RemoveDot;
}
file://-->
</script>
Note: IE6 has removed the dotted line from the browser.
<a href="http://www.jed-web.com" title="Great Website Tools!">JED-WEB</a>
JED-WEB
<a href="http://www.jed-web.com" target="_blank">JED-WEB</a>
<meta http-equiv="Expires" content="0">
<a href="myfile.zip">Click here to Download Myfile</a>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=.1)">
<table border="2" bordercolor="#4767AE" cellpading="4" align="center" width="50%"><tr>
<td bgcolor="#EEEEEE"><font face="Arial" size="2" color="#4767AE"><b>Your Text</b></font></td>
</tr>
</table>
Your Text
<table style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#FFFFFF',
startColorstr='#4767AE', gradientType='0');"><tr><td> Your Text <br><br><br></td></tr></table>
Note: Use gradient type 1 for horizontal gradation and 0 for vertical gradation.
Your Text
<table border="2" bordercolor="#4767AE" cellpading="4" align="center" width="50%">
<tr>
<td background="WEAVE.JPG"><font face="Arial" size="2" color="#4767AE"><b>Your Text</b></font></td>
</tr>
</table>
Your Text
| Your Text |
|
|
<table width="50%" height="41" border="0" cellspacing="0" cellpadding="1">
<tr valign="top">
<td bgcolor="#990000" height="20" width="50%">
<p align="center"><font face="Arial" size="2" color="#FFFFFF"><b>Services</b></font></p>
</td>
<td height="20" width="1"><img src="blank.gif" width="1" height="1"></td>
<td bgcolor="#4767AE" height="20" width="50%">
<p align="center"><font face="Arial" size="2" color="#FFFFFF"><b>Links</b></font></p>
</td>
</tr>
<tr valign="top">
<td height="1" width="50%"><img src="blank.gif" width="1" height="1"></td>
<td height="1" width="1"><img src="blank.gif" width="1" height="1"></td>
<td height="1" width="50%"><img src="blank.gif" width="1" height="1"></td>
</tr>
<tr valign="top">
<td bgcolor="#4767AE" height="20" width="50%">
<p align="center"><b><font face="Arial" size="2" color="#FFFFFF">Resources</font></b></p>
</td>
<td width="1" height="20"><img src="blank.gif" width="1" height="1"></td>
<td bgcolor="#990000" height="20" width="50%">
<p align="center"><font face="Arial" size="2" color="#FFFFFF"><b>Tips & Tricks</b></font></p>
</td>
</tr>
</table>
|
Services |
Links |
|
|
Resources |
Tips & Tricks |
<table width="50%" border="0" cellspacing="0" cellpadding="2" height="60">
<tr valign="middle">
<td bgcolor="#4767AE" width="50%" height="20">
<div align="center"><font face="Arial" size="2" color="#FFFFFF"><b>Services</b></font></div>
</td>
<td width="4" height="20"></td>
<td bgcolor="#990000" width="50%" height="20">
<div align="center"><font face="Arial" size="2" color="#FFFFFF"><b>Links</b></font></div>
</td>
<td width="4" height="20"></td>
</tr>
<tr valign="top">
<td bgcolor="#4767AE" width="50%">
<table width="100%" border="0" cellspacing="0" cellpadding="3" height="40">
<tr bgcolor="#FFFFFF" valign="top">
<td>
<p><font face="Arial" size="1">Line 1 <br> Line 2 <br> Line 3 </font></p>
</td>
</tr>
</table>
</td>
<td width="1"></td>
<td bgcolor="#990000" width="50%">
<table width="100%" border="0" cellspacing="0" cellpadding="3" height="40">
<tr bgcolor="#FFFFFF" valign="top">
<td>
<p><font face="Arial" size="1">Line 1 <br> Line 2 <br> Line 3 </font></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
|
Services
|
Links
|
|||
|
|
<INPUT
type="text" STYLE="color: #0000CC; font-family: Verdana; font-weight: bold;
font-size: 12px; background-color: #99CCFF;" maxlength="30">
<form method="post" action="body8b.html#form"><input type="submit" value="Reload"></form>
<form method="post" action="hex.html"><input type="submit" value="HEX code" ></form>
<form><input type="button" value="Previous Page" onClick="history.go(-1)"></form>
<form><input type="button" style="font-weight: bold" value="Previous Page" onClick="history.go(-1)"></form>
<form><input type="button" style="background: #ff33ff" style="font-weight: bold" value="Previous Page" onClick="history.go(-1)"></form>
<form><input type="button" style="background-image: url(WEAVE.JPG);" style="font-weight: bold" value="Previous Page" onClick="history.go(-1)"></form>
Yes.
<input type="radio" onClick="alert('Thank You')">
No.
<input type="radio" onClick="alert('Too Bad')">
</font>
</form>
<input type="text" tabindex="1">
<body onload="document.thisform.username.focus()">
<form name="thisform">
<input name="username" type="text">
</form>
(embed in head tag)
<script>
function checkrequired(which){
var pass=true
if (document.images){
for (i=0;i
if (tempobj.name.substring(0,8)=="required"){
if (((tempobj.type=="text"||tempobj.type=="textarea")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==-1)){
pass=false
break
}
}
}
}
if (!pass){
alert("One or more of the required elements are not completed. Please complete them, then submit again!")
return false
}
else
return true
}
</script>
(embed in body tag)
<form onSubmit="return checkrequired(this)">
Use "required" in the name of any required input tag.
<input type="text" name="requiredname" size="10">
<FRAMESET COLS="100,200">
<FRAME SRC="a.html">
<FRAME SRC="b.html">
</FRAMESET>
Sets a 2 column page with the first 100 pixels wide and the second 200 pixels wide
<FRAMESET ROWS="75%,25%">
<FRAME SRC="a.html">
<FRAME SRC="b.html">
</FRAMESET>
Sets a 2 row page with the first 75% of the browser window and the second 25%
<FRAME SRC> Attribute reference:
NAME Target name for links to an FRAME
NORESIZE Prevents the user from dragging a frame to a different size
MARGINHEIGHT / MARGINWIDTH Internal margin in pixels
SCROLLING The default value is "AUTO"; otherwise, specify either "YES" or "NO"
<a href="exit.html" target="_top"> Exit Frames </a>
<a href="newpage.html" target="_self"> New Page </a>
<a href="nextpage.html" target="_self"> Next Page </a>
<a href="newwindow.html" target="_blank"> New Window </a>
<a href="http://www.jed-web.com" target="FrameB">JED-WEB</a>
<script language="JavaScript">
if (parent.location.href == self.location.href){
window.location.href = 'index.html'}
</script>
<IFRAME SRC="sample.html"></IFRAME>
Attribute reference:
ALIGN Offset to other elements, much like the Image Tag.
FRAMEBORDER The default is 1 pixels ( 0 = none)
HEIGHT / WIDTH (pixels or %)
NAME Target name for links to an IFRAME
HSPACE / VSPACE As with Images, this attribute specifies a pixel size for horizontal or vertical margins around the IFRAME (external margin)
MARGINHEIGHT / MARGINWIDTH Internal margin in pixels
SCROLLING Set to "AUTO" the browser determines whether scrollbars are necessary; otherwise, specify either "YES" or "NO"
Notes:
1. Opera 4 ships with IFRAME display capability turned off. To turn this on, go to File...Preferences menu, select the Documents category. Check the "Enable inline frames" box in the Frames section.
Click here to see how!
<IFRAME SRC="sample.html" name="FrameB" style="border:5px ridge #00FF00" ></IFRAME>
Note: Other CSS Style codes also work with IFrame.
<IFRAME SRC="sample.html"> Sorry! Frames do not show in your browser... </IFRAME>
<IFRAME SRC="sample.html"> Your browser does not support Frames <a href="sample.html" target="_new"> Click here to view missing page! </a> </IFRAME>
<IFRAME SRC="sample.html" name="FrameB" ></IFRAME>
<IFRAME SRC="sample.html" ALLOWTRANSPARENCY="true" >
And the BODY tag of the called file:
<BODY STYLE="background-color:transparent">
<object data=http://www.jed-web.com width="300" height="200">
<embed src=http://www.jed-web.com width="300" height="200">
</embed> Error: Embedded page could not be displayed.
</object>
Menu Tricks
![]()
Your page content wil go inside here. Line 1 Line 2 Line 3 Line 4
Submit or Request a Tip or Trick:
<p>Your menu and header content will go here.</p>
<div style="border: 1px solid #aaa;background-color:#99CCFF; height:65px; width:300px;overflow:auto; color:#000000;">
<p>Your page content will go inside here.</p>
</div>
Your menu and header content will go here.
( -1 =back 1 page)( 1 =forward 1 page):
<a href="javascript:history.go(-1)"> BACK</a>
BACK
<form><input type="button" value="BACK" onClick="history.go(-1)"></form>
( -1 =back 1 page)( 1 =forward 1 page):
<a href="javascript:history.go(-1)"><img src="back.gif" border="0" width="88" height="31"></a>
![]()
<a href="http://www.jed-web.com" Target="_new">JED-WEB</a>
JED-WEB
<form><input type="button" value="JED-WEB" onClick="top.location.href='http://www.jed-web.com' "></form>
<ahref="http://www.jed-web.com" Target="_new"><img src="back.gif" border="0" ></a>

<a href ="http://www.jed-web.com'" target="_new" onMouseover="document.BUT1.src='firstbutton.gif'", onMouseout="document.BUT1.src='secondbutton.gif'"> <img src="secondbutton.gif" name="BUT1" border="0">
<script type="text/javascript">
function init() {
if (!document.getElementById) return
var imgOriginSrc;
var imgTemp = new Array();
var imgarr = document.getElementsByTagName('img');
for (var i = 0; i < imgarr.length; i++) {
if (imgarr[i].getAttribute('hsrc')) {
imgTemp[i] = new Image();
imgTemp[i].src = imgarr[i].getAttribute('hsrc');
imgarr[i].onmouseover = function() {
imgOriginSrc = this.getAttribute('src');
this.setAttribute('src',this.getAttribute('hsrc'))
}
imgarr[i].onmouseout = function() {
this.setAttribute('src',imgOriginSrc)
}
}
}
}
onload=init;
</script>
Then use this code in the body where you want a mouseover button:
<img src="firstbutton.gif" hsrc="secondbutton.gif">
Place this anchor at the top of the page.
<A NAME="TOP"></A>
Place this anchor at the middle of the page.
<A NAME="MIDDLE"></A>
Place this anchor at the bottom of the page.
<A NAME="BOTTOM"></A>
Place this menu call in the body of the page:
<A HREF="#TOP">Go to the Top</A><BR>
<A HREF="#MIDDLE">Go to the middle</A><BR>
<A HREF="#BOTTOM">Go to the bottom</A><BR>
<form name="drop_down" method="POST">
<select name="selections" size=1>
<option value="file1.htm"> first page </option>
<option value="file2.htm"> second page </option>
<option value="file3.htm"> third page </option>
</select>
<input type=button onClick= "location = '' +
document.drop_down.selections.options[
document.drop_down.selections.selectedIndex ].value;" value="Go!">
</form>
<table width=100 bgcolor=#EFEFFF >
<tr onMouseOver="this.style.background='#00E0FF'" onMouseOut="this.style.background='#EFEFFF'">
<td width="100"><a href="item1.html"> Menu Item 1 </a></td>
</tr>
<tr onMouseOver="this.style.background='#00FFE0'" onMouseOut="this.style.background='#EFEFFF'">
<td width="100"><a href="item2.html"> Menu Item 2 </a></td>
</tr>
<tr onMouseOver="this.style.background='#FF00E0'" onMouseOut="this.style.background='#EFEFFF'">
<td width="100"><a href="item3.html"> Menu Item 3 </a></td>
</tr>
</table>
Menu Item 1
Menu Item 2
Menu Item 3
<a href="whatever.htm">
<img src="jedwebdr.gif" border=0 style="-moz-opacity:0.5;filter:alpha(opacity=50);cursor:hand" onmouseover="this.style.MozOpacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.MozOpacity=0.5;this.filters.alpha.opacity=50">
</a>
Loading Tips
![]()
< META HTTP-EQUIV="Expires" CONTENT="0">
<body onLoad="if (self != top) top.location = self.location;">
<script language="JavaScript">
<!--
var preload=new Image(1); preload.src="(imageA.jpg)";
var preload=new Image(2); preload.src="(imageB.gif)";
var preload=new Image(3); preload.src="(imageC.jpg)";
-->
</script>
Color Tricks
![]()
<style>
BODY
{
scrollbar-face-color:#color;
scrollbar-shadow-color: #color;
scrollbar-highlight-color: #color;
scrollbar-3dlight-color: #color;
scrollbar-darkshadow-color: #color;
scrollbar-track-color: #color;
scrollbar-arrow-color: #color;
}
</style>
<FRAMESET COLS=*,70% BORDERCOLOR="#669900" BORDER=10>
<FONT COLOR="#color" SIZE=+2> • </FONT> First line <BR>
<FONT COLOR="#color" SIZE=+2> • </FONT> Second line <BR>
<FONT COLOR="#color" SIZE=+2> • </FONT> Third line
First line
Second line
Third line
<HR WIDTH="75%" COLOR="#color" SIZE="6">
<FORM name="changeColor">
<FONT face="Arial" size="2">Choose a Background Color:
<INPUT type="button" onClick="document.bgColor='#0000FF'"
name="colr" value=" BLUE ">
<INPUT type="button" onClick="document.bgColor='#FF0000'"
name="colr" value=" RED ">
<INPUT type="button" onClick="document.bgColor='#00FF00'"
name="colr" value=" GREEN ">
<INPUT type="button" onClick="document.bgColor='#FFFFFF'"
name="colr" value=" WHITE ">
<INPUT type="button" onClick="document.bgColor='#000000'"
name="colr" value=" BLACK ">
</FONT>
</FORM>
Graphics Tips
![]()
<DL>
<DD><IMG SRC="bullets.gif"> Item one</DD>
<DD><IMG SRC="bullets.gif"> Item two</DD>
</DL>
Item one
Item two
<span style="cursor: hand">Hand</span>
<span style="cursor: help">Help</span>
<img src="mydog.gif" ALT="Picture of my Dog">
<img src="image.gif" BORDER="0">
<img src="jedwebdr.gif" alt="my dog" width="88" height="31" style="filter:
progid:DXImageTransform.Microsoft.dropShadow (OffX='3', OffY='3', Color='#c0c0c0', Positive='true')">
<img src="jedwebdr.gif" style="filter:alpha(opacity=50)">

Note: This looks good on textured background.
<img src="myimage.gif" VSPACE="5" HSPACE="5">
<img src="image.gif" align="middle">
<img src="image.gif" align="absmiddle">
<EMBED TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/default.asp" src="globe.avi" Name="MMPlayer1" Autostart="1" ShowControls="0" ShowDisplay="0" ShowStatusBar="0" DefaultFrame="Slide" loop="true" width="120" height="120" bgcolor="#FFFFFF">
Sound Tips
![]()
<EMBED src = "mysound.mid" autostart=true hidden = true>
<EMBED src="mysound.mid" width=200 height=100 loop=FALSE align=right >
<BGSOUND SRC="mysound.mid" LOOP=INFINITE>
<NOEMBED><BGSOUND SRC="mysound.mid" LOOP=2></NOEMBED>
<EMBED src = "mysound.mid" autostart=true hidden = true>
<BGSOUND SRC="#" ID="beep" AUTOSTART="TRUE">
<A HREF="http://www.jed-web.com" onmouseover="document.all.beep.src='ding.wav'">JED-WEB</A>

<META HTTP-EQUIV="refresh" CONTENT="0; url=mysound.wav">
Sound On/Off Demo
<BGSOUND id=BGSOUND_CTRL src="mysound.mid" LOOP="0" AUTOSTART="true" >
<input type=image src="soundstop.gif" onClick=document.all['BGSOUND_CTRL'].src="" >
<a href="javascript:location.reload(true)"><img src = "soundstart.gif" border=0></a>
Sound Stop - Start Demo
Email Tricks
![]()
Try Bravenet Free Email Form Service:
(Use a dash, dash, space, carriage return to start a signiture tag.)
--
~~~~~~~~~~~~~~~~~~~~~~~~~
- JED-WEB -
John & Janie Dressel
Webmaster Resource Services
Email mailto:jed-web@hotmail.com
Web Site http://www.jed-web.com
~~~~~~~~~~~~~~~~~~~~~~~~~
<a href="mailto:jed-web@hotmail.com"> jed-web@hotmail.com </a>
<a href="mailto:jed-web@hotmail.com?cc=sombody@mail.com&bcc=someone@mail.net"> jed-web@hotmail.com </a>
<a href="mailto:jed-web@hotmail.com?Subject=web_Information"> jed-web@hotmail.com </a>
<a href="mailto:jed-web@hotmail.com?Subject=web Information&Body=Please%20send%20me%20more%20information.%0AThis%20is%20line%202.%0AThis%20is%20line%203"> jed-web@hotmail.com </a>
Note the use of the %0A to define new lines in the body.
The look and characteristics of the mailto tag varies with different email clients.
1. You are limited to 255 characters in your mailto link.
2. Some recognize spaces in the &body= tag while some do not.
3. The %20 works well in most email clients to insert a space between words.
4. The html tag works as a space when the email client is set to use HTML content. The + character as a space also works on some clients.
5. The new line code "%0A" works well with MS Outlook Express but there have been mixed results with other email clients.
6. The new line code "<BR>" works when the email client is set to use HTML content, but the characters "<BR>" shows on other clients.
7. These were tested in MS Outlook, MS Outlook Express, Lotus Notes and Mozilla Thunderbird and in general performed correctly.
Try it here! jed-web@hotmail.com
<a href="mailto:jed-web@hotmail.com"> jed-web@hotmail.com </a>
Anti-Spam Tips
![]()
Promotion Tips
![]()
<title>The name of your site</title>
<meta name="description" content="What is this page about">
<meta name="keywords" content="What, words, describe, this, page,">
<meta name="author" content="your name">
<meta name="language" content="en-usa">
<meta name="revisit-after" content="30 days">
<meta name="owner" content="your name">
<meta name="copyright" content="Copyright© 1996 - 2007 your name, All rights reserved">
<meta name="contact_addr" content="email@address.com">
<meta name="rating" content="general">
<meta name="robots" content="all">
<meta name="distribution" content="global">
<meta name="classification" content="your category">
<meta http-equiv="reply-to" content="email@address.com">
SEO - Spider Tricks
![]()
<script language="JavaScript">
<!-- // Hide
var showtext = "Email Us";
var mailpart1 = "jedweb";
var mailpart2 = "hotmail.com";
document.write("<a href=" + "mail" + "to:" + mailpart1 +
"@" + mailpart2 + ">" + showtext + "</a>")
//-->
</script>
Click here for Search Engine Optomization Tools
<meta name="robots" content="NOFOLLOW">
<meta name="robots" content="NOINDEX">
Mobile Web Design Tips
![]()
<script type="text/javascript">
<!-- if (screen.width <= 800) window.location.href='http://jed-web.com/mobile/'; //-->
</script>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
Free Mobile Web Template
Mobile WebSite Converter
Want more?
![]()