View Full Version : linking to files without multiple pages
mandville
09-09-2002, 07:17 PM
I have a page that currently has a load of links to files.
is there any way that i can track these clicks without making
a lot of pages with a seperate counter on each holding just one href link?
:rolleyes:
Dynasty
09-09-2002, 08:42 PM
I'm not sure how to do it exactly, but you will probably have to look at javascript or something like that to do that.
this is an vbscript code,it can be easily be turn into javascript or others.
<script language=vbscript>
<!--
sub tab_onclick()
window.open "http://www.yam.com"
window.open "http://www.google.com"
'...........
end sub
-->
</script>
<button id="tab">click here</button>
HTH
:p
EnwTheGood
09-10-2002, 04:31 AM
Do you have access to any server-side scripting?
I would suggest a javascript function in that would input a URL and, in its body, increase a counter and location.href to the URL given.
mandville
09-17-2002, 04:56 PM
thanks for your help all. i will try and let you know.
its just to save me doing 850 new htmls!!!
BoR|S
09-18-2002, 09:38 AM
Do you also need to show the number of clicks on the link? i.e. http://www.website.com (13 clicks)
mandville
09-30-2002, 09:00 PM
soz for delay, holidays, i dont need to know or show the licks on the main pages, just a small counter. i have been told that python will do it but errr (blond)
gloria22
10-05-2002, 06:17 PM
Originally posted by mandville
I have a page that currently has a load of links to files.
is there any way that i can track these clicks without making
a lot of pages with a seperate counter on each holding just one href link?
:rolleyes:
From Gloria22: HI, I have your problem and was wondering
whether you received a responce? I have tons of jpgs
for my gallery, roses on Porcelain, Oil paintings,
Water color, etc. I wanted to keep them in a running
order and linked to the first page, but without having
to keep page order. Thanks in advance...for a reply
Gloria
do you want to download them,or just show all the jpgs?
mandville
10-16-2002, 06:06 PM
ok- thanks to all of you. i have now got the thing i needed! it is a python script that has listed everything an can be tested at http://secureroom.host.sk - it may not work propely but still.
as for the index thing. i used a program called indexhtml.exe or something that does the job for me. i found a copy of it here http://www.ifrance.com/fouf/Progsvideos.html
i hope the others find it usefull!
claire
gloria22
10-17-2002, 10:48 AM
Originally posted by Josh
do you want to download them,or just show all the jpgs?
Josh,
Thanks for the responce and question. My answer about the jpegs is this. I want to simply have on the left side of the page a verticle
bar with names of my works, such as, Oil Paintings, Porcelain,
Gold Works, Limoge Boxes....
Ok from there I want to be able to click on Oil paintings, and
it will show let me say 3 oil paintings that I have done. Also
I want to link all other works to the jpgs pages...Download or upload,
I want them to be visible upon the click
On this "page" i want to also have a "return" or Home, or BACK./
Thank you very much.
Gloria22
mandville
10-19-2002, 08:01 PM
The easiest way to do it is from frames.
have a look at one of my sites, http://members.fortunecity.com/cryfm and look at the way the frames are done there.
i am sure that someone in the forum could set it up for you if you really wanted and were unsure.
i think that is the way you are trying to do something!
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.