Topic awaiting preservation: Javascript on link? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: the plushdjungle |
posted 10-04-2001 18:59
Hi there! This is my first post on this forum, but I have been watching it for quite a while now. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-04-2001 19:31
Hmm.... I'm a little confused on what you are trying to do here. |
Bipolar (III) Inmate From: the plushdjungle |
posted 10-04-2001 19:34
No, I mean something like this: (this only changes the word google on the page where the button is) code: <html>
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-04-2001 19:39
hokay now I get it. |
Bipolar (III) Inmate From: the plushdjungle |
posted 10-04-2001 20:00
Oki, Ive done this after bitdamaged's example. It SHOULD work, but it does'nt. What's wrong? code: <html>
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-04-2001 21:37 |
Bipolar (III) Inmate From: the plushdjungle |
posted 10-04-2001 22:15
But how does the ASP-lizers work then? Does anyone have an ASP -alizer file to show me? I can never see the actual asp-file because they just redirect or something.... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-04-2001 22:51 |
Neurotic (0) Inmate Newly admitted |
posted 10-05-2001 04:40
Yeah I have read about ASP-lizers |
Paranoid (IV) Inmate From: Styx |
posted 10-05-2001 14:07
I guess that could be one of these Smurfalizer |
Bipolar (III) Inmate From: the plushdjungle |
posted 10-05-2001 14:50
Nimeaw: yeah! I'ts something like that i want to do... |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-05-2001 19:22
Thats something done with server side scripting. Basically in most languages you can do an HTTP_GET and download the source code, change it and then display the results. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-05-2001 20:18
As said above, this is done on the server-side (it can't be done on the client-side with JavaScript). And generally, this isn't very easy. Fetching file from remote server is only thing that's easy here. Now, besides words that you want to change, you *must* change all relative links (<IMG> tags, <A> tags, everything with SRC parameter) so that they point to the correct address (you should add address of the site from where you're fetching remote file) and this isn't very easy, because there are many different combinations how people can write HTML code, so you'll have to use (or write your own) HTML parser, that will parse all HTML tags and modify appropriate tags... |
Bipolar (III) Inmate From: the plushdjungle |
posted 10-05-2001 21:39
well, thanks all for your help, but I really suck at server side scripting so I give up for now and I will try it again when I've learnt some sss-languge... |