Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / 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
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

Post #1 by touchclothing

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

Post #2 by vr4indian

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

Post #3 by theoracle

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,764
Plugin Contributions:
0

Post #4 by Kim

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,773
Plugin Contributions:
56

Post #5 by swguy

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.