The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I have been revamping the way the forum looks with a view to come away from pop-up pages. Current when you are in the pop_profile and you click 'Click to send me an email' it opens pop_mail.asp in a new window. I have removed the javascript tag at the fron of the link so that the email form opens in the same window.
What I have done so far is changed the way the pop_mail.asp looks with a header and expanded the table area out to look similar to other forum pages, but what I am stuck on is trying to ensure there is the forum header and footer on the page. Also I would like to see the navigation directory tree on the form too.
Is there an easy way to join the pop_mail.asp to a page with header, directory and footer or simply add the code to pop_mail.asp.. Something like this:
Thank you
Andy<
What I have done so far is changed the way the pop_mail.asp looks with a header and expanded the table area out to look similar to other forum pages, but what I am stuck on is trying to ensure there is the forum header and footer on the page. Also I would like to see the navigation directory tree on the form too.
Is there an easy way to join the pop_mail.asp to a page with header, directory and footer or simply add the code to pop_mail.asp.. Something like this:
Thank youAndy<
آخرین ویرایش توسط
نوشته شده در
It's because it uses inc_header_short.asp and WriteFooterShort. Have you tried replacing these lines of code within pop_mail.asp to inc_header.asp and WriteFooter? The former is near the top and the latter is at the bottom.<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Bandlink Music Forums - http://www.bandlink.net/forum/
نوشته شده در
Thank you! - with a little more fiddling I established the tree structure at the top..<
آخرین ویرایش توسط
نوشته شده در
Cool! Is it how you want it yet?<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Bandlink Music Forums - http://www.bandlink.net/forum/
نوشته شده در
yes thanks..The only niggling bit is when the page opens there is a gap between the top line of the directory tree and the live chat link, which does not appear on all other pages.
<
نوشته شده در
Post a link to a txt version and we'll fix your gap issue.<
نوشته شده در
Hmmmmm... I think I might like this idea....<
نوشته شده در
The simplest way, after you've changed the javascript routine, is to eliminate the response.clear line above the confirmation "Email has been sent" code.
Then you should add a meta-refresh back to default.asp following the confirmation.
Something like this:
That way it doesn't clear the screen but keeps your header/footer from pop_mail; then eliminates the Email table itself, adds the confirmation below the "Send an EMail Message ..." bit; pauses for two seconds, and returns to your main forum.<
Then you should add a meta-refresh back to default.asp following the confirmation.
Something like this:
Code:
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
Response.Write " <p><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>E-mail has been sent</font></p>" & vbNewLine & _
"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">" & vbNewLine
else
That way it doesn't clear the screen but keeps your header/footer from pop_mail; then eliminates the Email table itself, adds the confirmation below the "Send an EMail Message ..." bit; pauses for two seconds, and returns to your main forum.<
نوشته شده در
bobby131313 re "Hmmmmm... I think I might like this idea...." have a butchers and see what you think, you will note that an email will not be sent as there is a spammer routine in the code to stop emails until a certain amount of genuine posts have been approved on the forum..
Personally, I prefer this method of pop_mail.asp as it gets away from pop ups..
Demo link here login/pwd: demo/demo
Carefree: pop_mail.asp text file as requested..
Edit demo link amended<
Personally, I prefer this method of pop_mail.asp as it gets away from pop ups..
Demo link here login/pwd: demo/demo
Carefree: pop_mail.asp text file as requested..
Edit demo link amended<
آخرین ویرایش توسط
نوشته شده در
Here you go, Andy. See if this is what you want:
https://24.168.209.249/pop_mail.txt<
https://24.168.209.249/pop_mail.txt<
نوشته شده در
carefree I can not open the txt file: error message
There is a problem with this website's security certificate.<
There is a problem with this website's security certificate.<
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...