A popup window in 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   A popup window in a module?
Demorgon
CZ Newbie
Demorgon has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jul 18, 2005
0.00 posts per day
Posts: 2
Points: 175
   
Ok so I have created my own module it displays thumbnails of map images for a clan site and what I'm trying to do is make it so when the thumbnails are clicked on a popup window will appear 600 X 450 and display a page or image I want to show....

I have tried a javascript to do this that i have used several times on straight HTML sites but it seems that it is not possible in nuke to use this... Does anyone know a php code or something they have used to acheive this?

I have tried to give as much info and explain this the best I can if more info is required please post and I will add what info is needed.

Any help would be much appreciated! Thanks in advance

-------------------------------------------------------------------------------------------------------------------

EDIT:

I found the popup creator and I am very sorry for wasting forum space and for wasting anyones time I should have used the search function before i posted... Mods If you would like delete this waste of space...



Back to top Reply with quote
#2   re: A popup window in a module?
Demorgon
CZ Newbie
Demorgon has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jul 18, 2005
0.00 posts per day
Posts: 2
Points: 175
   
Ok so yea that has worked for me but I want multiple popup links on one page and I keep getting the same winodow for all of them which I kinda expected so is there a way to id each so that they don't get crossed? Or have i just messed it up somehow or have a unclosed tag or something?

---------------------------------------------------------------------------------------------------------------------

EDIT: LOL

Ok I just added an id to them as I call it now this is how i did it...


function openpopup5(){
var popurl="link.html"
winpops=window.open(popurl,"","width=600,height=500")
}


And then In the link I put:


<a href="javascript:openpopup5()">Click Here</a>


CHEERS!!


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