Home
Solutions
Tutorials
Tips
Website Design Tips
Ecommerce Solutions
External JavaScript
FAQ Page
Font Changing
HTML Codes
HTML Color Codes
Keyboard Shortcuts
Overwrite a Page
SEO
Taffic
Under Construction
Customizing OL
Help and How To
Downloads
Services
Office Live Video
Common Problems
Contact Us
Link Exchange
 

HTML and Javascript Codes

All codes should be pasted into the HTML module.

 

 

Borderless Image

<a href="http://yourlink.com" target="_self"><img style="border: 0px" src=
"http://yoururl.com/images/image.jpg" /></a>

 

Paramters:

href= replace with your link.

target=_top opens the link in the top document, _blank opens in new window, _self opens in same window or frame, or _parent opens in parent window or frame.

border= border width in pixels.

 

 

Hyperlinks

<a href="http://yoururl.com" target="_self" style="text-decoration: none; font-family: Times New Roman; font-style: italic; font-size: 12pt; font-color: #FFFFFF; background-color: #000000">Link Name</a>

 

Paramters:

href= replace with your link.

target=_top opens the link in the top document, _blank opens in new window, _self opens in same window or frame, or _parent opens in parent window or frame.

 

 

IFRAME for embedding external content

<iframe src="http://yourpage.com" width="600px" height="500px" frameborder="0px" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe>

 

Paramters:

scr= page source

width/height= widht and height of the IFrame, in pixels.

frameborder= size of border in pixels

marginwidth/height= size or margin around IFrame, in  pixels.

scrolling= scrolling withing IFrame; yes, auto, or no.

 

 

Send to Friend Button

<div align="center">

<script language="JavaScript">
function EmailLink(){
window.location = "mailto:"+"?subject=
I thought this link might interest you
." + "&body="+top.document.title+" "+window.location;
}
document.write('<input class="select" type="button"
value="E-mail this link to a friend" onClick="EmailLink()"></form>')

</script>

</div>

 

Paramters:

align= left, center, or right.

subject= email's subject, enter any text.

value= button's text, enter any text.

 

 

Scrolling Text (marguee)

<marquee style="font-family: Times New Roman; font-size: 12pt" direction="right" scrollamount="3" loop="-1" behavior="scroll">replace text, replace text, replace text, replace text</marquee>

 

Praramters:

Direction=left, right, up, or down

Scrollamount= scroll speed #

Loop= Number of times to loop, -1 for infinite

Behavior=scroll, alternate, or slide

 

Favicon

Favicon creator: http://www.html-kit.com/favicon/

 

Method 1 - Paste the following code in the HTML module.

<script type="text/javascript">
/* Office Liva Basic Favicon Code
Provided by OSWC(Open Source Webmaster Center)
--> http://thexbanners.com */
var head = parent.document.getElementsByTagName("head")[0];
var favicon = parent.document.createElement("link");
favicon.rel = ("shortcut icon");
favicon.href = ("/Documents/favicon.ico");
head.appendChild(favicon);

</script> 

 

Method 2 - Preferred

Paste the following code in the keywords area, make sure it is at the end of the keywords.

%22%20%2F%3E %3Clink rel=%22shortcut icon%22 href=%22%2Fdocuments%2Ffavicon.ico