Forums / General Questions / Creating popup windows from images

Creating popup windows from images

Locked

Views: 843

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
24 Mar 2010, 1:18 AM
#1
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Creating popup windows from images

zen 1.3.8 website is wannaspeed.com

I'm trying to add a live help chat to my site. I have a custom sidebar that allows me to add whatever code I want, and I already generated the code for an aim "wimzi" which works well. I first put the wimzi chat box directly in the sidebar, but I feel it's a bit too big for the page, and too small for the wimzi. So instead, I would like to have an image that the customer clicks on and then a properly sized popup window opens with the wimzi chat.

I created a javascript that works correctly with the wimzi popup in link form (see header link "chat"), but when I try to add the image the popup link no longer works and I just have an image that does nothing. (see sidebar live help image) Any ideas?

24 Mar 2010, 4:13 AM
#2
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Creating popup windows from images

Try this:

<a href="javascript:popUp('http://www.wannaspeed.com/chat.html"> <img src="http://www.wannaspeed.com/images/livechat_icon_2_online.gif" /></a>

Good Luck in your website. One more website to add to the 1,000,000,000 websites that sell aftermarket websites.

25 Mar 2010, 2:53 AM
#3
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Creating popup windows from images

tried the code posted, still does the same thing.

25 Mar 2010, 3:29 AM
#4
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Creating popup windows from images

got it to work. I used

<form>
<input type="image" src="http://www.wannaspeed.com/images/livechat_icon_2_online.gif" onClick="javascript:popUp('/chat.html')">


</form>