Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Need help with my webring!
03-16-2004, 11:16 PM #1
- Join Date
- Feb 2004
- Thanked 0 Times in 0 Posts
Need help with my webring!
I'm stumped at the moment. I'm currently designing a webring for commercial use, so right now I'm running a demo version on my website using various pages of my own website as "members" of the example ring. So far, it almost works flawlessly, only there's one problem.
The last website in the ring isn't working right. When I hit the "random" button from that page, sometimes it only refreshed that page (suggesting my "idcurrentsite" function is messed up somehow). When I hit the "next" button, it skips the first ring page and goes to the second, and when I hit the "previous" button it only refreshes the current page. I can't figure out why it's only doing that with this one webpage; the webring works fine on all other member pages. Could you guys take a look at the code below and help me out? (You can go to the members website and use the ring there to recreate the problem.)
<!--- hide script from old browsers
var members = new Array(4);
members = "http://www.angelfire.com/realm/angelicknight/projects.htm";
members = "http://www.angelfire.com/realm/angelicknight/exbus1.html";
members = "http://www.angelfire.com/realm/angelicknight/jamesfun.htm";
members = "http://www.angelfire.com/super2/stuffstore";
var maxmembers = members.length-1;
var place = 0;
for(i=0; i<=maxmembers; i++)
var a = Math.floor(Math.random()*members.length)
location.href = members[a];
location.href = "http://www.angelfire.com/realm/angelicknight/projects/list.html";
//end hiding script from old browsers --->The James Website: