Help - Search - Members - Calendar
Full Version: Pop up window for individual archives
Movable Type Community Forum > Additional Resources > Tips and Tricks
chunderchud
So I understand how to get windows to pop open for the comments (which I didn't want  smile.gif ), but I can't figure out how to get windows to pop open for individual archive entries.

My Archive Page

So, I have an archive page (above) with the monthly listings, then when someone clicks on an entry, I just want it to pop up in a new window.

I tried using Javascript language, but even that's not working. Any ideas?
reb
a suggestion would be to add 'target="_blank"' to your link tags which would open a whole new, normal-size window.

if you're intersted in just small pop-ups, try
CODE
<a href="URLHERE" onclick="window.open('URLHERE', 'popup', 'width=300,height=600,scrollbars=yes,
resizable=yes,toolbar=no,directories=no,location=no,menubar=no,
status=yes,left=0,top=0'); return false">LINKNAME</a>


for your link.
chunderchud
smile.gif  Yes! That worked. The thing is, I used a java script (OpenBrWindow, rather than window.open), so the only thing different, really was the "return false". Huh. Maybe I should learn to code, eh?  :p

Thanks for the help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.