|
|
|
|
![]() ![]() |
Oct 1 2004, 04:52 PM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 142 Joined: 24-September 04 From: Belgium Member No.: 1,260 |
I have a question about the statusbar: can we use statusbar-effects on our "trap17.com"-sites? I've tried to use such an effect on my site but it doesn't seem to work
|
|
|
|
Oct 1 2004, 05:25 PM
Post
#2
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 512 Joined: 26-September 04 From: Googland Member No.: 1,278 |
Statusbar effects are a part and parcel of html+java. I don't think a host can disable that. Correct me if I am wrong!
Check out my site hosted on trap17.com: http://googlue.tk or http://googlue.trap17.com. Though not really effects, there are custom messages on the stausbar when you hover on links. Other scripts also should work. Shall check them and get back to you... Googlue! |
|
|
|
Oct 2 2004, 09:04 AM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 142 Joined: 24-September 04 From: Belgium Member No.: 1,260 |
you were right about the fact that the statusbar-effects aren't disabled. I tried another code and that one worked perfectly. But this one doesn't seem to work
CODE <!-- START OF SCRIPT --> <!-- For more scripts visit http://www.netpedia.com --> <script language="JavaScript"> <!-- /* MjM'S JAVA CODENAME = FLASH This JavaScript Code was written by MjM for Hyperchat UK I am not responsible for any damage caused by my code. This code can be modified as long as the Author's Name is still attached. Email : MjM@hyperchat.co.uk © Copyright 1996 */ var yourwords = "Welcome to [-GotCha41-] ! "; var speed = 150; var control = 1; function flash() { if (control == 1) { window.status=yourwords; control=0; } else { window.status=""; control=1; } setTimeout("flash();",speed); } // --> </script> </HEAD> <BODY BGCOLOR="#FFFFFF" onload="flash();"> <!--The script causes the flashing text in your browser's status bar.--> <!-- END OF SCRIPT --> I'm not so familiar with html or javascript. I got the code from 1st Page 2000, where it works perfectly, but when I copied it to dreamweaver and published it, no effect is visible any more.. I have to paste the code into the head-content, do I? |
|
|
|
Oct 2 2004, 04:52 PM
Post
#4
|
|
|
Ancient Enigma ![]() Group: [MODERATOR] Posts: 1,837 Joined: 11-July 04 From: under the stars Member No.: 76 myCENT:80.62 |
gotcha41, that code you posted works just fine. maybe just the way you entered
it into your page could be wrong. it's in two parts actually. the script part: from <script language="JavaScript"> to </script> - which should go somewhere between your <head> </head> tags. and the execute part: <BODY BGCOLOR="#FFFFFF" onload="flash();"> - which goes right immediately after your </head> tag. (see to it that you have only one body tag). that should work, as you can see from the complete quote of the html page below i tested it on. QUOTE <html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>New Page 1</title> <!-- START OF SCRIPT --> <!-- For more scripts visit http://www.netpedia.com --> <script language="JavaScript"> <!-- /* MjM'S JAVA CODENAME = FLASH This JavaScript Code was written by MjM for Hyperchat UK I am not responsible for any damage caused by my code. This code can be modified as long as the Author's Name is still attached. Email : MjM@hyperchat.co.uk © Copyright 1996 */ var yourwords = "Welcome to [-GotCha41-] ! "; var speed = 150; var control = 1; function flash() { if (control == 1) { window.status=yourwords; control=0; } else { window.status=""; control=1; } setTimeout("flash();",speed); } // --> </script> </HEAD> <BODY BGCOLOR="#FFFFFF" onload="flash();"> <!--The script causes the flashing text in your browser's status bar.--> <!-- END OF SCRIPT --> </body> </html> |
|
|
|
Oct 2 2004, 05:03 PM
Post
#5
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 512 Joined: 26-September 04 From: Googland Member No.: 1,278 |
lib2day,
Yes you are right. That script works fine now! gotcha, it must be fine with you now? Post here if you have any other problems... |
|
|
|
Oct 2 2004, 05:18 PM
Post
#6
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 142 Joined: 24-September 04 From: Belgium Member No.: 1,260 |
thank you very much lib2day, I appreciate your help. I didn't knew I had to split up the code , but now I do
|
|
|
|
Oct 2 2004, 05:24 PM
Post
#7
|
|
|
Ancient Enigma ![]() Group: [MODERATOR] Posts: 1,837 Joined: 11-July 04 From: under the stars Member No.: 76 myCENT:80.62 |
no problem.
you will be ready to tackle larger "steps". we're here to guide you if you ever need our help. cheers! |
|
|
|
Oct 2 2004, 05:26 PM
Post
#8
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 142 Joined: 24-September 04 From: Belgium Member No.: 1,260 |
oh btw: what's the point of having "bgcolor=#FFFFFF" -that's white I guess- included in the script? Does it have a specific function or is it just a detail that doesn't effect your site/script/etc..
|
|
|
|
Oct 2 2004, 05:33 PM
Post
#9
|
|
|
Ancient Enigma ![]() Group: [MODERATOR] Posts: 1,837 Joined: 11-July 04 From: under the stars Member No.: 76 myCENT:80.62 |
that's for the background color you want to set up for that page. you can
set that to any color. people usually use equivalents (#FFFFFF = white) but you can use plain color names like white, black, red, blue, etc. it won't affect the script whatsoever if you change it, but it will affect the background color of your page. |