Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Announcement Center
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

Etymon
Advanced Member

United States
2385 Posts

Posted - 25 March 2009 :  16:15:37  Show Profile  Visit Etymon's Homepage  Reply with Quote
Thanks Mike. I see now.

What I was referring to is the apostrophe breaks the code when using javascript to write to the browswer in your inc_announce.asp file. Since the javascript has a beginning and an ending apostrophe, an additional apostrophe in the subject of the topic or the message would stop the javascript by not allowing the code to finish completely. That's the reason I mentioned it. Look below for the apostrophes in the code (in red) and the beginning and the end of the command in blue:

document.write('<Div align="center"><View_announcements.asp><strong><%= rsAnnounce("A_SUBJECT") %></strong></font><br><br><view_announcements.asp><%= rsAnnounce("A_message") %><br></div><br>');
document.write('</font>');
Go to Top of Page

MikeB.Lynn
New Member

54 Posts

Posted - 25 March 2009 :  16:19:25  Show Profile  Reply with Quote
Etymon-
Yea I noticed that happened. Lucky for us carefree had the original inc_announce3.asp file hahahaha
That file cleared the apostrophe issue as well as the same issue if you tried to insert a small graphic in the message body.
I leave it to you people that know code to look over and improve if possible.
Thanks again to everyone that came to my assistance on this.

Edited by - MikeB.Lynn on 25 March 2009 16:34:17
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 25 March 2009 :  16:55:11  Show Profile  Visit Etymon's Homepage  Reply with Quote
Good deal! I'm glad it worked out!
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07