|
Posted by Mc on April 12, 2008, 5:13 pm
Please log in for more thread options > Mc wrote:
> >> Mc wrote:
> >>> My account was cancelled on Geocities for violating the TOS. =A0"remot=
e
> >>> loading or as a door or signpost to another home page". =A0They
> >>> reactivated for 48 hours for me to make corrections. =A0I sent them an=
> >>> email asking what part of the code caused the violation. =A0I'm just
> >>> practicing for class.
> >>> Will someone please check my code and tell me what part is causing
> >>> this?
> >>> Do you have any suggestions on modifying it so it want violate the
> >>> TOS?
> >>>http://www.geocities.com/mcrubin_bevil
> >>> I think I was cancelled because of my "If statement" for checking for
> >>> the version of a users web browser. I wasn't sure of what to add as a
> >>> DestAddr.
> >>> // URL in the code below.!!!
> >>> var DestAddr =3D "http://www.geocities.com/mcrubin_bevil"
> >>> // If Internet Explorer 5.5
> >>> if (ver =3D=3D "e5.5") {
> >>> browLoc =3D DestAddr
> >>> }
> >> What is all this Page Status and Transfer Status junk? =A0Do you see an=
y
> >> other sites with stuff like that? =A0No one's going to hang around your=
> >> site waiting for a page to load 3-4 times.
>
> >> You don't need to detect browsers. =A0You can create good HTML and CSS
> >> which works across all browsers.
>
> >> --
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D- Hide quoted tex=
t -
>
> >> - Show quoted text -
>
> > Thanks for the critical statements.
>
> > I'm just in class learning. =A0I just removed that line of code today,
> > 4/9/08. =A0Looks like they haven't cancelled my account.
>
> > Do you have an example of some code that will teach me the If_Then
> > condition..?
>
> There are all kinds of things to use if statements for - it's probably
> the most used conditional in programming. =A0If male/female, if
> under13/over13, if logged_in/not_logged_in, if field_blank/not_blank -
> the list is endless.
>
> Search around some of the script sites and look at some of their code.
> You'll learn a lot more. =A0www.hotscripts.comis a good place to start.
>
> And also check outwww.w3schools.com. =A0They have short examples of most
> statements in several different languages.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D- Hide quoted text -=
>
> - Show quoted text -
I want to modify my current code. I would like to just display the
version and stop the jump to a Destination address.
|