Quote Originally Posted by customk1 View Post
might have a good answer for us "javascript challenged" folks..

i got it from this post: " I want to add a popup window code in zencart "

and ultimately this website:
http://accessify.com/features/tutori...perfect-popup/

so, heres the basic rundown...

1. go to this site
2. get completely overwhelmed by trying to read it
3. realize at the very bottom of the page there is a link to create the code for you
4. give a big sigh of relief
5. key in the info you need on the link generator page
6. copy the generated javascript to the top of the page you are trying to make the link on (for me it was: includes/templates/darkness/common/tpl_footer.php)
7. NOTE: YOU HAVE TO ADD THIS TO THE GENERATED JAVASCRIPT CODE:
before it, add:
<html>
<head>
<script type="text/javascript">

and after it, add:
</script>
</head>

8. Use the html created from the generator page, and paste it elsewhere on your page, where you actually want the link to be located.

ALTERNATIVELY:
if you do not want all that javascript code on your page, you can download the add_event.js and popup.js scripts and add them somewhere on your server, then at the top of the page where you want to use the code, simply call these two scripts using:

<script type="text/javascript" src="/path-to/add-event.js"></script>
<script type="text/javascript" src="/path-to/popup.js"></script>

change the "path-to" to route to where you actually put the add_event.js and popup.js scripts that you downloaded

I HOPE THIS HELPS!!
Wow!!

Well done for discovering that lot. I can't wait to try it.

I googled javascript forums and the ones I looked at didn't appear very active.

Regards

Philip