Reply
Script works once
Old 07-19-2004, 09:58 AM Script works once
Novice Talker

Posts: 12
Well, as promised here is one of those weird questions.

I have a script to open a page in a new window, however for some reason after it executes once... It will not a second time.

I receive the following error sometimes:
"The Callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute."

The source code looks fine in my eyes, and as long as people only click once it wont be a problem. Just trying to tweak it for those rare few who want to click again

Here is a link to one of the thorns in my side this morning:
http://www.rhodesriverranch.com/html/slh/menufoals.html

Thanks a bunch,
NW Web Guy
NW Web Guy is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-19-2004, 12:46 PM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,612
Name: Michael (mik) Land
Location: England
im not sure what u mean, because the link u gave just comes up as a full sized window with a little bit in the corner (ur horses) If u tell me more clearly what u wonna do i am sure i can help
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-19-2004, 12:50 PM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,612
Name: Michael (mik) Land
Location: England
i have found a prob wit ur script

the lines

<!--

function mllWindow() {
mllWindow = window.open("../foals/mll_x_slh_filly.htm", "mllWin", "height=365")
}
// -->
</script>
<script language="javascript" type="text/javascript">
<!--

function tlpWindow() {
tlpWindow = window.open("../foals/tlp_x_slh_filly.htm", "tlpWin", "height=365")
}
// -->

are wrong. where it goes ("../foals/mll_x, etc
u need the full path name. and again l8r
u must make sure all ur paths are correct be4 uploading.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-19-2004, 12:51 PM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,612
Name: Michael (mik) Land
Location: England
I suggest u abandon that code and try another from dynamicdrive.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-19-2004, 03:33 PM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,612
Name: Michael (mik) Land
Location: England
srry i didnt get what u meant earlier. My bad. I understand ur prob now. use the below code instead of href tags.

<a href="javascript:modelesswin('http://ursite.com',600,400)">Click here</a>

remember to change the height and width.
Also, remove the previous code that u used (cos it wont work wit that stupid thing).
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-20-2004, 02:01 AM
Novice Talker

Posts: 12
Thanks, I will give this a try.

I actually started with a script from Dynamic Drive and another from DHTML Shock. Unfortunately both clashed with other scripts included on the pages. Which is what led me to using this very basic one. Thanks for the tips though
NW Web Guy is offline
Reply With Quote
View Public Profile
 
Old 07-20-2004, 07:21 AM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,612
Name: Michael (mik) Land
Location: England
No probs. Glad to help. I think. If it is wrong and doesnt work, start the page from scrap.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to Script works once
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13514 seconds with 12 queries