Print Page | Close Window

Mailing List WYSIWYG Problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=2452
Printed Date: 28 March 2026 at 12:45am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Mailing List WYSIWYG Problem
Posted By: Brolin99
Subject: Mailing List WYSIWYG Problem
Date Posted: 05 May 2003 at 11:18pm

Hi,

I want to add a function to the mailing list manager to link through a file that counts clicks. For example, when someone clicks on the link button it pops up with the Javascript prompt with http:// highlighted, and then they enter their address (i.e. http://www.webwiz.net - www.webwiz.net ) to come out with the link http://www.webwiz.net - http://www.webwiz.net in the actual email.

I want to know how to link it to http://www.webwiz.net/clicks.asp?url=http://www.webwiz.net - http://www.webwiz.net/clicks.asp?url=http://www.webwiz.net

Basically, I want the email program to automatically add in the http://www.webwiz.net/clicks.asp?url - http://www.webwiz.net/clicks.asp?url = part. I can get it to do it in the standard HTML editor through Javascript, but don't know much about using IFrames.

 

Please help me!!




Replies:
Posted By: pmormr
Date Posted: 07 May 2003 at 3:35pm

give this link a look:

http://www.cfdev.com/code_samples/code.cfm/CodeID/36/Javascript/Java_script_Popup_Window - http://www.cfdev.com/code_samples/code.cfm/CodeID/36/
JavaScript/Java_Script_Popup_Window

it shows you how to open up a new window using javascript. Good luck.



-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: Brolin99
Date Posted: 07 May 2003 at 11:48pm

Thanks Paul, the main problem I have is with the

execCommand('CreateLink')

portion of the code. It opens a generic IE Java window to enter the URL into, but will not allow me to use any sort of prefix... it's fairly frustrating!



Posted By: TYSON
Date Posted: 08 May 2003 at 6:25am

Ive put a little mod together for you, it consists of two pages advanced_mail_form_inc.asp (Modified so hyperlink button opens up  new window (wysiwyg only) and Insert_link.asp (the page that pastes the html in to the form ,  You will need to edit a variable in Insert_link.asp called CounterURL to whatever page your counter is.

Hope its what your after.

http://www.fuo-motorsports.com/db/output/files/Insert_Link.zip - Download



-------------
http://www.fuo-motorsports.com/ - http://www.fuo-motorsports.com/


Posted By: Brolin99
Date Posted: 10 May 2003 at 6:56pm

Hey Tyson,

Thanks heaps - you're a legend mate! I had pretty much given up on it - let me know if there's ever anything I can help you with (probably not though considering you managed to work this out) - I am a designer by trade so I would be more than happy to do some design work for you if you want - just pm me. Thanks again.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net