PDA

View Full Version : users online script


Mgkeeper
07-23-2002, 12:25 AM
Hi,

I want to use the attached script on my site. The problem is, I cant set its background color to be transparent. Look on my site:

http://www.dragonballbebop.com

See how it has a black background? I want it to have the same background as the site. I guess it needs to be transparent

P.S. The attachment is really a cgi file, but i had to change it because the forum wont let me attach cgi files

Sk8er9547
07-24-2002, 06:47 AM
In your "aktif" file, i see that you have "bgcolor="#000000". Taking this out should eliminate the problem.

P.S. - Your scrolling body works, however, i get the regular scrollbar in there as well. Put scroll="no" in your body tag of your news page, and any other page that loads in that iFrame!

Mgkeeper
07-24-2002, 04:37 PM
i tried eliminating the bgcolor but then it makes it white

Sk8er9547
07-24-2002, 05:25 PM
Alright, well, try putting the following code in your file:

style="background-color:transparent"

Replace your bgcolor="#000000" with that, and it should work this time!

Feyd
07-24-2002, 05:51 PM
This really doesn't have to do with your script (rather, your BODY properties), so I'm going to move this to the HTML & CSS forum...where it is better suited

pauraic
07-26-2002, 10:21 PM
Hi m8, i just wanted to say that the right click protection onm your site is easy to get by. I think you should use this one......


<SCRIPT language=JavaScript><!--

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
// --> </SCRIPT>

I used it and i cant get round it any dont no any1 that can.. :)

Feyd
07-26-2002, 10:48 PM
All right-click disabling scripts can be circumnavigated with a minimal amount of thought...they don't help prevent anything from being taken (though one could argue that a good portion of internet users are not savvy enough to know how to do a simple view source, or copy the location of images into the browser to do a save as...but the people who would want to see your code/images will more than likely know what to do in order to get around that 'script').

Mgkeeper
07-31-2002, 06:33 AM
what about the users online script???