PDA

View Full Version : Blending Image Slide Show Script



DouginBC
08-29-2006, 10:07 PM
Hi. This is not really a problem.

function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}

I'd like to specify the height/width and center the new window as well as customize (remove menu bar, etc). Thanks.

DouginBC

ddadmin
08-30-2006, 03:34 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

You can use a modified version of gotoshow() such as:


function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink], "", "width=800px, height=600px, resizable")
else
window.location=slidelinks[whichlink]
}

Refer to this page (http://www.javascriptkit.com/jsref/window.shtml) to see how to customize a popup window in JS.

DouginBC
08-31-2006, 08:44 PM
Apologies ... I sometimes get ahead of myself ... won't happen again until the next time. :D

And thanks the solution ... it works just fine ... I did a little more customizing so the new window is now centered.