| | 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 |
|
|
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! 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?
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>
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...
thank you very much lib2day, I appreciate your help. I didn't knew I had to split up the code , but now I do
no problem.
you will be ready to tackle larger "steps". we're here to guide you if you ever need our help. cheers!
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..
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.
thanks for your explanation but it isn't an answer to what I really wanted to know; why did the maker of the script included the color of the background?! Such a script doesn't require the determination of the backgroundcolor, does it?
Latest EntriesQUOTE(gotcha41 @ Oct 5 2004, 01:03 AM) thanks for giving your opinion, wich is really useful, and responding so fast. btw I've voted positive for your 'reputation-thing'. I thought you should now as always, glad to be of service to trap17 co-members. and thanks for a positive rep point.
thanks for giving your opinion, wich is really useful, and responding so fast.
btw I've voted positive for your 'reputation-thing'. I thought you should now |
|
![]() a little help please |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|