Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Grneyez
Topic Author
Posts: 3
Joined: 12 Jan 2008, 06:51

Slideshow popup from site menu bar?

16 Jan 2008, 02:54

mjau-mjau wrote:I think he is asking how to get the popup window slideshow working, like we have on our demopage.

<a href="javascript:window.open('https://www.photo.gallery/imagevue/slide ... dth/2-200)+'');void(0);" class="flink standard" title="View a Slideshow Popup window Demo (opens in POPUP window)">Popup Slideshow</a>
Code
<a href="javascript:window.open( 'https://www.photo.gallery/imagevue/slideshow.php?configfile=slideshowpopupconfig.ini', 'popslideshow', 'width=400, height=250, toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, top='+Math.round(screen.height/2-125)+', left='+Math.round(screen.width/2-200)+'');void(0);" class="flink standard" title="View a Slideshow Popup window Demo (opens in POPUP window)">Popup Slideshow</a>

I have the same issue he was having. I want to have a link in my site menu bar that when clicked my slideshow popups in a seperate window. I have it configured to
Code
link6 = Slideshow
link6rollover = tooltip
link6rolloverdata = View my slideshow
link6click = popup
link6clickdata = http://grneyedtemptress.com/see-the-beauty/slideshow.php
in the sitemenu.ini however that only pops open a tiny window that the user have to resize. I want the popup to auto resize like on the demo page. I tried using the above *link* code in the sitemnu.ini and it will not work. What else do I need to change? Its probably something very simple but it has me completely dumbfound. :oops: [/b]
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

24 Jan 2008, 22:52

Sorry for the late reply :? I somehow missed this one -

Try this:
Code
link6clickdata = "http://grneyedtemptress.com/see-the-beauty/slideshow.php?configfile=slideshowpopupconfig.ini"
Why would this work? Because to have the popup resize automatically, you need to add the "jsresize = true" to the configuration, which is already set in the file "slideshowpopupconfig.ini.