Horza
01-08-2004, 08:50 PM
Ok here is what i wrote at the webdeveloper.com Javascript forums. I had no answer.
Originally posted by Horza
Ok im looking for a javascript guru :)
Ive been working on a website for quite some time. Ive got a top100 running. (thats all the site is) And as you know, people can log hits in and out on most of them.
That is true of my one, but with a difference. People are given a link to vote for the site they submited which they can add to there site, with most Top100's. On my one (which i want to move it more towards a community or database) people are giving a <script etc..></script> which includes a file on my server which displays a small banner advertising the community.
The actual tag is,
<script type="text/javascript" src="http://www.gamerforums.org/linksite/test.php?ID=2"></script> <-- ID 2 for example.
On this banner i want to display a link saying 'Click to vote for this site.' And the link will "USE" the ID of the include to add it to the URL in the script file. So that the link will then go to the vote page of the Top100 for that Site-ID.
I dont know how to "USE" the ID. Ive been to plenty of websites like this with webmasters to help me. But they all told me how to do it but never explained how to use the Code they showed me. And it was using javascript functions i have never seen before.
Anyone who can help would have my eternal gratitude :) And i would give credit.
Originally posted by Horza
Ok im looking for a javascript guru :)
Ive been working on a website for quite some time. Ive got a top100 running. (thats all the site is) And as you know, people can log hits in and out on most of them.
That is true of my one, but with a difference. People are given a link to vote for the site they submited which they can add to there site, with most Top100's. On my one (which i want to move it more towards a community or database) people are giving a <script etc..></script> which includes a file on my server which displays a small banner advertising the community.
The actual tag is,
<script type="text/javascript" src="http://www.gamerforums.org/linksite/test.php?ID=2"></script> <-- ID 2 for example.
On this banner i want to display a link saying 'Click to vote for this site.' And the link will "USE" the ID of the include to add it to the URL in the script file. So that the link will then go to the vote page of the Top100 for that Site-ID.
I dont know how to "USE" the ID. Ive been to plenty of websites like this with webmasters to help me. But they all told me how to do it but never explained how to use the Code they showed me. And it was using javascript functions i have never seen before.
Anyone who can help would have my eternal gratitude :) And i would give credit.