how do I put a javascript popup into a module???

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   how do I put a javascript popup into a module???
kingofbling
CZ Super Newbie
kingofbling has been a member for over 19 year's 19 Year Member
canada.gif
Website:
Status: Offline
Joined: Jun 17, 2004
0.01 posts per day
Posts: 39
Points: 1,659
   
I have an online store that I want to be in a popup window when someone clicks on the link in the modules menu. How can I do this? Here is my code:

<s c r i p t>

var doPopUpX = (screen.width/2)-400;
var doPopUpY = (screen.height/2)-400;
var pos = "left="+doPopUpX+",top="+doPopUpY;

function doPopUp(){
doPopUpWindow = window.open("http://www.cafepress.com/osbstore","OSBONLINESTORE","scrollbars=yes,width=800,height=800,"+pos);
}

</s c ri p t>



Back to top Reply with quote
#2   re: how do I put a javascript popup into a module???
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
[ Register or login to view links on this board. ]

look for section 21.9




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum