What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Javascript Page Loading???

Pages: (2): « First « 1 [ 2 ] Last »
Javascript Page Loading???
Author: Message:
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: RE: Javascript Page Loading???
quote:
Originally posted by hmaster
quote:
Originally posted by Verte
For a long time I would have agreed, I haven't done it myself so I'm not sure. But many things have suprised me, I've seen drop down menus and OnHover sort of stuff done using only css, which I never thought possible.

BTW, The page in question relies on a plugin [I believe ActiveX] calling dd.elements.loading.hide(). [JS]
That's because CSS has a :hover property? But it doesn't have an onload() function like JS.
That page may use an ActiveX but I'm not sure its really needed *-).


It's not, I was just saying in case you weren't sure. Erm, part of me thinks whatever you're waiting to load could contain a little css at the end which hides the loading screen or something. I'm pretty sure that's not it, but that it involves a similar trick.
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
05-08-2007 11:14 AM
Profile E-Mail PM Find Quote Report
Ashylay
Junior Member
**

Intermediate Scripter

Posts: 70
Reputation: 1
– / Male / –
Joined: Mar 2007
O.P. RE: RE: Javascript Page Loading???
quote:
Originally posted by Chris4
Habbo.. haha. I remember that. Hmm, wonder if I can still log in..

Yay I can lol :P

Code from habboremix.net
code:
<div id=loading style="
position:absolute;
cursor:hand;
    top: 0;
    left: 0;
    width: 110%;
    height: 2000;
    z-index: 9000;
    background-color: black;
    -moz-opacity: .5;
    opacity: .50;
    filter: alpha(opacity=50);"><table width=100% height=600><tr valign=middle center=top><td valign=middle center=top><center><img src=http://www.habboremix.net/img/MFITV3LEIGS1CYU.gif><br/>
<font style="text-align: center;
    font-weight: bold;
    font-size: 12px;" color="#ffffff"><b>Please wait!</b></font></center></td></tr></table></div>

Obviously don't use that exact code. Change the image, etc. I'd also reccomend contacting them first before using the code.


Why contact them? Its Habbos main idea anyways with the release of V11. They introduced that little script on the site. HabboRemix just in my eyes has stole near enough every idea from the habbo Website.

AND I cant be breaking any laws? You cant copyright an idea and Im guessing you cant trademark a script?

AND It doesnt close on page load?????

This post was edited on 05-09-2007 at 06:42 PM by Ashylay.
05-09-2007 06:36 PM
Profile E-Mail PM Find Quote Report
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: RE: RE: Javascript Page Loading???
quote:
Originally posted by Ashylay
AND I cant be breaking any laws? You cant copyright an idea and Im guessing you cant trademark a script?

AND It doesnt close on page load?????


You can't trademark a script. The only thing you can trademark is a name. You can copyright a script, but what you see is not a script, it's a couple of HTML tags rich in CSS. Now, it doesn't close on page load, it actually closes when a plugin says it's loaded, when the plugin calls the Javascript function dd.elements.loading.hide().

In fact, the habboremix loading thing does not close when the page loads, it closes when the plugin begins working. So, you're going to need to meditate on this problem a little longer :P
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
05-10-2007 04:11 AM
Profile E-Mail PM Find Quote Report
Just-one
New Member
*


Posts: 1
Joined: Jul 2007
RE: RE: RE: RE: Javascript Page Loading???
quote:
Originally posted by Verte
quote:
Originally posted by Ashylay
AND I cant be breaking any laws? You cant copyright an idea and Im guessing you cant trademark a script?

AND It doesnt close on page load?????


You can't trademark a script. The only thing you can trademark is a name. You can copyright a script, but what you see is not a script, it's a couple of HTML tags rich in CSS. Now, it doesn't close on page load, it actually closes when a plugin says it's loaded, when the plugin calls the Javascript function dd.elements.loading.hide().

In fact, the habboremix loading thing does not close when the page loads, it closes when the plugin begins working. So, you're going to need to meditate on this problem a little longer :P


Under UK Copyright Law, any computer programming is automatically copyrighted to the author. This makes copying, modifying, and ofcourse, selling any computer prorgamming created by someone else without their prior permission.

So yes, I think they should contact me before stealing coding. ClubHabbo attempted stealing coding from us, and they learnt the hard way by having their homes shut down on every host they've tried hosting their script with all of my Javacript coding on. Why people don't just learn Javascript and take the time to do their own work instead of stealing others credit and taking coding claiming they made it is beyond me.

James Parmee Morris
HabboRemix.net Owner
07-03-2007 11:56 PM
Profile E-Mail PM Find Quote Report
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: RE: RE: RE: RE: Javascript Page Loading???
quote:
Originally posted by Just-one
quote:
Originally posted by Verte
You can copyright a script, but what you see is not a script, it's a couple of HTML tags rich in CSS


Under UK Copyright Law, any computer programming is automatically copyrighted to the author. This makes copying, modifying, and ofcourse, selling any computer prorgamming created by someone else without their prior permission.

So yes, I think they should contact me before stealing coding. ClubHabbo attempted stealing coding from us, and they learnt the hard way by having their homes shut down on every host they've tried hosting their script with all of my Javacript coding on. Why people don't just learn Javascript and take the time to do their own work instead of stealing others credit and taking coding claiming they made it is beyond me.

James Parmee Morris
HabboRemix.net Owner

While the code shown is all of the code for displaying things until the page is loaded, the thing of importance here is one tag- the first div. Ashlay is looking for a method to hide elements, and this is the important tag, the one that must enclose anything you want to hide. I imagine that that tag with all of its attributes will not suit what Ashlay is doing, whatever it is, but even in the event that this tag were copied verbatim, I would think that copying a single tag would be within fair use.

EDIT: Fixed punctuation error.

This post was edited on 07-04-2007 at 10:00 AM by Verte.
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
07-04-2007 09:54 AM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Javascript Page Loading???
lol.

* roflmao456 tries.

code:
<script language='javascript'>
function init(){
document.getElementById("load").style.display="none";
document.body.style.visibility="visible";
}

window.onload=init;
document.body.style.visibility="hidden";
</script>

<div id="load">Page is loading! Please wait.</div>

This post was edited on 07-05-2007 at 01:55 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
07-05-2007 01:54 AM
Profile PM Web Find Quote Report
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
RE: RE: RE: RE: RE: RE: Javascript Page Loading???
quote:
Originally posted by Verte
quote:
Originally posted by Just-one
quote:
Originally posted by Verte
You can copyright a script, but what you see is not a script, it's a couple of HTML tags rich in CSS


Under UK Copyright Law, any computer programming is automatically copyrighted to the author. This makes copying, modifying, and ofcourse, selling any computer prorgamming created by someone else without their prior permission.

So yes, I think they should contact me before stealing coding. ClubHabbo attempted stealing coding from us, and they learnt the hard way by having their homes shut down on every host they've tried hosting their script with all of my Javacript coding on. Why people don't just learn Javascript and take the time to do their own work instead of stealing others credit and taking coding claiming they made it is beyond me.

James Parmee Morris
HabboRemix.net Owner

While the code shown is all of the code for displaying things until the page is loaded, the thing of importance here is one tag- the first div. Ashlay is looking for a method to hide elements, and this is the important tag, the one that must enclose anything you want to hide. I imagine that that tag with all of its attributes will not suit what Ashlay is doing, whatever it is, but even in the event that this tag were copied verbatim, I would think that copying a single tag would be within fair use.
It wouldn't be within fair use, because it wouldn't even be under copyright. Tags are intrinsic to HTML, and researching other people's (copyrighted) code to learn what tag is suitable to use is perfectly fine. Small snippets of code would not make up a significant enough portion of the copyrighted work to actually be infringing of the copyright. You might want to contact the original author anyway (remember that they have no claim over tiny snippets), but in a case like this, I wouldn't, while in different circumstances I might.
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
08-18-2007 04:21 AM
Profile E-Mail PM Web Find Quote Report
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: RE: RE: RE: RE: RE: RE: Javascript Page Loading???
Words, such as "It, be, within, fair, use", were all used in my post, and are copyright.

That's pretty much the basis of his argument.

EDIT: and if the sarcasm wasn't obvious, no, giving an element an ID and calling hide on it is not copyright.

By the way, for the original writers of the thread: http://www.websiteoptimization.com/speed/tweak/defer/

This post was edited on 08-18-2007 at 04:39 PM by Verte.
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
08-18-2007 04:34 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On