Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Design & Programming Discussion of web design, and server-side & client-side scripting

Closed Thread
 
Thread Tools
Old 10-22-2007, 08:44 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 136
OS: WinXP Pro


Free Code & Tips

Hi Gang ~ Yep I know, most of you can produce this code in your sleep but I thought I'd like to throw in a simple html or js code once in awhile for those that could use them.

Any Code I submit can be altered to do or look anyway you wish. If you need help with this or that, shoot me a PM. One last thing, I guess you can say, I'm old school so much of what I toss in is Old School HTML instead of letting Flash Templates do the work for you (although I use that stuff too)

Today's EZ Code is a simple Drop Down Menu

*********************************************************
<!-- TWO STEPS TO INSTALL PULLDOWN MENU:

1. Paste the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
</HEAD>

<!-- STEP TWO: Paste this code into the BODY of your HTML document -->

<BODY>

<center>
<form name="form">
<select name="site" size=1>
<option value="">Select Category
<option value="example.html">MyPage
<option value="example2.html">My 2nd Page
<option value="http://www.footballforum.com">My Friend's Page
<option value="/folder/example3.html">Page in different folder
<option value="http://www.techsupportforum.com">Our Site
<option value="one_more_page.html">etc,etc,etc,etc,
</select>
<input type=button value="Go!" onClick="javascript:formHandler()">
</form>
</center>

*****************************************************

Comments & Questions post here!
*
*
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?

Last edited by freddyhard : 11-03-2007 at 05:54 PM. Reason: link to original thread
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 10-23-2007, 03:28 PM   #2 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 136
OS: WinXP Pro


Tip of the Day ...

One of the best Tools I have in my system for Design and a host of other applications is EZ Screen Capture. You'll find it helpful when you need to grab an image that will fit just nicely into your Layout.

Also it is a great tool when you need to illustrate the problem you're having to others.

I can't count the times , Tech Support Agents have to me because of the image I sent, they were able to actually see what I was talking about.

I would also be wise to create a Free Account on one of the Image Posting Sites like Photobucket or whatever. You can then use EZ Screen Capture to grab the image you want and Upload it to PhotoBucket then post it on TSF for the World to see.
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 10-24-2007, 03:28 PM   #3 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 136
OS: WinXP Pro


Re: EZ Code of the Day ...

Hi Gang ~

I’m currently working on a Tutorial using Flash that you’re gonna really like but as I re-read the instructions, I realized it wasn’t too clear for those who might not have Flash experience. I found myself committing the same offense many others do in thinking . “ You know what I mean “. Anyway, it will be up probably tomorrow.

For those who are interested, this is a little code to place in the Head of your Document that will Display an Amber Alert Ticker. I am especially concerned about this because it just seems to me I’m hearing more & more stories about little Kids being abducted, sexually abused or killed then I ever recall years ago. So the more these Amber Alerts are around maybe the better the chance of someone actually seeing one of these Kids. If you save one child, you’ve done more than most in a lifetime.

Amber Alert Java Applet Code for Website Pages :

<!-- Begin Code Amber Ticker code. -->
<P ALIGN=CENTER>
<SCRIPT LANGUAGE="JavaScript1.2" src="http://www.codeamber.org/js/codea.js">
</script>
</P>
<!-- end of Code Amber Ticker code (c)Copyright codeamber.org 2002, 2003, 2004,2005,2006,2007-->

******************************************************
THIS IS A COOL LITTLE CURSOR SNAKE SCRIPT WHERE A SET OF WORDS THAT YOU DECIDE WILL FOLLOW THE CURSOR AROUND THE SCREEN. THIS IS FUN FOR AWHILE BUT SOON YOU MIGHT GET TIRED OF SEEING IT AS I DID OVER TIME. ANY PROBLEMS GETTING IT WORKING, LET ME KNOW ..
*******************************************************
<!-- THREE STEPS TO INSTALL MOUSE BANNER:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY tag your HTML document
3. Put the final code inside the BODY of your HTML page -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<style>.spanstyle {
COLOR: white; FONT-FAMILY: Verdana; FONT-SIZE: 8pt; FONT-WEIGHT: bold; POSITION: absolute; TOP: -50px;
VISIBILITY: visible
}
</style>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var x, y;
var step = 10;
var flag = 0;

var message = "JavaScript is so cool !! ";
message = message.split("");
var xpos = new Array();
for (i = 0; i <= message.length - 1; i++) {
xpos[i] = -50;
}
var ypos = new Array();
for (i = 0; i <= message.length - 1; i++) {
ypos[i]= -50;
}
function handlerMM(e) {
x = (document.layers) ? e.pageX : document.body.scrollLeft + event.clientX;
y = (document.layers) ? e.pageY : document.body.scrollTop + event.clientY;
flag = 1;
}
function makesnake() {
if (flag == 1 && document.all) {
for (i = message.length - 1; i >= 1; i--) {
xpos[i] = xpos[i - 1] + step;
ypos[i] = ypos[i - 1];
}
xpos[0] = x + step;
ypos[0] = y;
for (i = 0; i < message.length - 1; i++) {
var thisspan = eval("span" + (i) + ".style");
thisspan.posLeft = xpos[i];
thisspan.posTop = ypos[i];
}
}
else if (flag==1 && document.layers) {
for (i = message.length - 1; i >= 1; i--) {
xpos[i] = xpos[i - 1] + step;
ypos[i] = ypos[i - 1];
}
xpos[0] = x + step;
ypos[0] = y;
for (i = 0; i < message.length - 1; i++) {
var thisspan = eval("document.span" + i);
thisspan.left = xpos[i];
thisspan.top = ypos[i];
}
}
var timer = setTimeout("makesnake()", 10);
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY tag of your HTML document -->

<body bgcolor="#000080" text="#000000" onload="makesnake()"
style="OVERFLOW-X: hidden; OVERFLOW-Y: scroll; WIDTH: 100%">

<!-- STEP THREE: Put the final code inside the BODY of your HTML document -->

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
for (i = 0; i <= message.length-1; i++) {
document.write("<span id='span"+i+"' class='spanstyle'>");
document.write(message[i]);
document.write("</span>");
}
if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
// End -->
</script>

<p><center>
<font face="arial, helvetica" SIZE="-2">The Tech Support Forum<br>
by <a href="http://techsupportforum.com">The Tech Support Forum</a></font>
</center><p>

<!-- Script Size: 2.08 KB -->

*****************************************************

Comments & Questions post here!
*
*
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?

Last edited by freddyhard : 11-03-2007 at 05:55 PM.
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 10-29-2007, 04:21 AM   #4 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 136
OS: WinXP Pro


preLoader Tutorial

Hi Gang ~

Sorry I've been away for a few days and then Sunday was Football of course but to show my appreciation for what you all are providing here, I thought I'd put this little Tutorial together on how to create a preLoader for your Flash Movies.

Ok, nuff said all will be explained by clicking on this link

preLoader Tutorial using Masking & Tweening

Enjoy and PM me with any questions ....


*****************************************************

Comments & Questions post here!
*
*
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?

Last edited by freddyhard : 11-03-2007 at 05:55 PM.
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 11-04-2007, 01:00 AM   #5 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 136
OS: WinXP Pro


** Good to Remember **

In working with Flash ActionScripts, if you get an Error Message stating " Statement Must Appear Within on Handler "

This simply means you are putting your Action Code on the Button or Movie Clip. In this case, try placing the Code on the associated Frame and that should take care of the problem.


A good working habit to always use is creating a separate Frame for your Codes, naming it Action(s) instead of the frame associated with your Symbol.

BB
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 11-21-2007, 11:40 AM   #6 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 136
OS: WinXP Pro


Re: EZ Code of the Day ...

For those who may want to add an Amber Alert to their Website and found the Javascript not functioning correctly. I created a little page and Uploaded it to my site for you to grab.

Just goto > http://blumusik.com/storage/Amber_Alert.html

And view the Source Code .. then Copy & Paste it to whatever you want to apply it to.

Thanks
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 12:05 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81