Forums / Basic Configuration / can I put a pop up window on the main page?

can I put a pop up window on the main page?

Locked

Views: 2,256

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Aug 2006, 6:48 AM
#1
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

can I put a pop up window on the main page?

when the enter my store I want a pop up window to come up but I have no idea were to add my Java to do this can some please help me out.

2 Sep 2006, 12:13 PM
#2
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: can I put a pop up window on the main page?

use

<script lang= "javascriopt"> window.open("url", width , height); </scriopt> thanks
2 Sep 2006, 12:26 PM
#3
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: can I put a pop up window on the main page?

A good place to add your javascript code would be on your includes/templates/<your_template>/common/tpl_header.php file.

2 Sep 2006, 1:56 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,681
Plugin Contributions:
0

Re: can I put a pop up window on the main page?

Open your /docs/read_me_jscript.html for instructions on how to add javascript to your Zen Cart shop.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

2 Sep 2006, 2:15 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: can I put a pop up window on the main page?

Bear in mind when you're evaluating this that a lot of people consider pop-ups
obnoxious, and many people (and most controlled computing environments, such as at-work internet facilities) block popups.

Popups are associated - rightly or wrongly - with viruses, trojans, spam, id theft, phishing, and everything else bad. Use at your own risk.

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.