Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Off-Topic »
  • All of all! »
  • Address bar trick
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Address bar trick  (Read 4760 times)

Offline X_marks_the_ed

  • trygtt o sizg msw kisg
  • Royal
  • *
  • Posts: 4,394
  • WHAT THE WHY ARE THESE BUTTONS
(No subject)
« Reply #15 on: June 27, 2007, 11:36:57 AM »
Quote
Originally posted by Fortet
Quote
Originally posted by X_marks_the_ed
Quote
Originally posted by Fortet
Yeah.
Nothing happened >_>


You delete the space between Java and Script?[/B]


Yea
It gave me one of those quick search pages[/B]


You're using IE, get a real browser. One that will participate in this fun, unlike those google ads. Standing there like jerks.
Logged

Offline Fortet

  • Cheeky Bastard
  • Exemplar
  • *
  • Posts: 1,365
(No subject)
« Reply #16 on: June 27, 2007, 02:21:21 PM »
No. I'm using FireFox. IE sucks. Big time. o_o
Logged

Offline X_marks_the_ed

  • trygtt o sizg msw kisg
  • Royal
  • *
  • Posts: 4,394
  • WHAT THE WHY ARE THESE BUTTONS
(No subject)
« Reply #17 on: June 27, 2007, 02:47:39 PM »
Quote
Originally posted by Fortet
No. I'm using FireFox. IE sucks. Big time. o_o


Then the only reason I can think of is that your Firefox is retarded.
Logged

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #18 on: June 27, 2007, 11:06:26 PM »
Quote
Originally posted by Osmose
Basically all it does is use the link syntax for executing Javascript (Why that even exists when there is onClick makes no sense) and then messes with the X and Y values of the image array - an array used to reference every image on a page.

In case you were wondering. :P


To simply translate it to human language:

See it as M&Ms. Each colour of M&M represents a certain type or group. Now let's say that each M&M is also labeled / attached to a certain object group, like pens or books. The red M&Ms are the photos. To identify which red M&M belongs to which photo, a number is placed on each M&M, as well as each photo. The M&M with number one is attached to the photo which is labeled with number one.

Now let's say there are two sheets of paper with a grid. One small sheet, with squares the size of M&Ms, and one big grid, the size of the largest photo. Now we put each M&M at random on the small grid. Then we match both grids. If M&M one is in square two, then we put photo one in square two on the bigger grid. If M&M six is in square fourty, photo fourty is in square fourty on the big grid.

So, let's shuffle all the M&Ms again, and match the two grids again.

That's basically what Osmose said.

An array is a set of variables, or "labels", which have certain objects (mostly of the same type) attached. The images are all labeled by one variable (the colour of the M&M), but that variable has different records (the different labeled M&Ms), which point to certain objects. Because you now have a list of the same object, you can manipulate each object the same way by going trough every record (every number).
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline Grandy

  • Zombie
  • Royal
  • *
  • Posts: 4,989
  • Not actually dead
(No subject)
« Reply #19 on: June 27, 2007, 11:11:55 PM »
Say, people, I'll post the code without thew space to see if something happens.

javascript:R= 0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document. images; DIL=DI.length; function A(){for(i=0; i

No, nothing at all.
Logged
Quote from: Alex
I general I'd say I agree 98% with Grandy's post above.

  • Print
Pages: 1 [2]
« previous next »
  • Charas-Project »
  • Off-Topic »
  • All of all! »
  • Address bar trick
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum