Javascript pop-up in a PHP Nuke 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   Javascript pop-up in a PHP Nuke module
dcasmr
CZ Newbie
 Codezwiz Site Donator
dcasmr has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Oct 25, 2004
0.00 posts per day
Posts: 26
Points: 1,961
   
Please note that wherever you see added spcaes, it is not due to misspelling.

I have on my site a folder named talkdata. [ Register or login to view links on this board. ] If I open in a normal browser window the attached codes, I get a javas cript link and when I double click on the link, I get the pop-up window.

I am trying to add as module to my Main Menu the link portion so that whenever someone clicks on that module, the pop-up window will open.
Note: the HTML posted must be called from the folder [ Register or login to view links on this board. ]

I have read a few post and even tried creating a module, but with no success.
Thanks,
dcasmr


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Musee de Manega - Brendologie</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<p>
<sc ript language="JavaS cript" type="text/JavaS cript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</sc ript>
<a href="#" onClick="MM_openBrWindow('manegapopup.html','popWimpy','width=450,height=185')">
Musee de Manega</a>
</body>
</html>



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Your trying to add a link to your main menu that opens up in a popup?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
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