Click to See Complete Forum and Search --> : having errors with new html windows and picture popups


metallibanger
07-31-2003, 06:31 PM
I have several sections on my website where I have multiple javascript links, for example, on every page of my site I have a navagation bar where the guestbook link uses script to open the new window at a certain size with no toolbars and the like... most of my pages also have other links that open a new window, and links that open an image in a custom sized window. If I click a picture and then close that window, for some reason the guestbook won't open until I refresh the page. If I click on another link to open one of the html pages, it opens fine... once. Can't open it again, you get a scripting error.

Is there any way to reset all the javascripting or perhaps refresh the entire website if need be, when you open or close one of the new windows, so when you go back to the site the rest of the links will work?

I know this is hard to understand just by me explaining it, if you need to see it for yourself the site is http://www.thethirteenthhour.com but this post is by no means an ad for my site, I really need help with the scripting. I promise you that there are no unexpected popups when you go to the page, and no ads of any kind.

Please help!!!

Andy Oliphant
The Thirteenth Hour

xataku_nakusute
07-31-2003, 08:11 PM
everything seemz to be working well for me...

but i guess you could try adding this:

<script type="text/javascript">
function re()
{
history.go(0)
}
</script>
<a href="news.html" onclick="re()">News</a>

metallibanger
07-31-2003, 09:06 PM
Nope, that made it so the links reloaded the page, but stopped bringing anything up. So I'd click on 'guestbook' and it would just refresh the page, not go to the guestbook.

Everything worked alright for you though? That's really odd. Try going to the bio/info link, and clicking on a member bio (one of the pictures with the signature rollover), and see if you can open and close the same bio more than once. I've tried it on multiple computers and every time you can only open a link once, and the next time you click on it it says there's a script error.

Thanks for reading my post though, I really appreciate it.
Edit - Would it help if I posted the code I'm currently using?

Andy Oliphant
The Thirteenth Hour

metallibanger
07-31-2003, 09:45 PM
Messing around trying (and failing) to fix it and figured I'd turn on 'show script errors' in IE to see what it's having a problem with... says:

Line: 1
Char: 1
Error: The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.
Code:0
URL: http://www.665.org/thethirteenthhour

That's the guestbook link that worked perfectly, and multiple times, until I opened a picture from the same page and then tried clicking on the guestbook link again. I'm really stumped here, it should not be doing this.

Andy Oliphant
The Thirteenth Hour

xataku_nakusute
08-01-2003, 01:05 AM
sorry, im unsure of what to do

but hey, what can i say? im barely 14 :D

metallibanger
08-01-2003, 02:45 PM
Anyone else care to help me out? Moderators maybe? I can't leave my page with links that you can only open once, and sometimes not at all depending on what you did before you clicked it. Come on guys, I thought scripters liked a challenge?

Andy Oliphant
The Thirteenth Hour

pyro
08-01-2003, 06:05 PM
The page seems to work fine for me. I tested in IE6, Mozilla 1.2, and Opera 7. Also, you may want to rethink using popups, due to accessability issues...

From http://www.w3.org/TR/WCAG10/#gl-interim-accessibility
10.1 Until user agents allow users to turn off spawned windows, do not cause pop-ups or other windows to appear and do not change the current window without informing the user. [Priority 2]

metallibanger
08-01-2003, 06:50 PM
You're kidding... you can open the member bios or archive page multiple times? And you can open the guestbook after you've opened a picture? I've been testing it using IE 6, and get that error every single time, no exceptions. If it's working... cool, I guess... I'm confused, but cool... thanks for checking it out and getting back to me so fast, pyro, I really do appreciate it.

Andy Oliphant
The Thirteenth Hour

Ice3T
08-01-2003, 11:43 PM
It doesn't work for me, I get the same error message as you do.