Click to See Complete Forum and Search --> : Forcing A Window To Open In Thumbnail View!


TimminsGSC
08-15-2005, 02:34 PM
Is it possible to force a window that is launched by a hyperlink to open in thumbnail view? And if it is, would someone mind sharing the code with me? Thanks in advance for any help.
Craig

jjr0319
08-16-2005, 03:30 PM
there's probably a better way, but you can use the window.open method and specify how large you want the new window to be. something like this:

<a href="#" onclick="window.open('URL',
'mywindow','width=100,height=100,status=no,menubar=no,toolbar=no,location=no')">Link</a>

hope this helps.

TimminsGSC
08-16-2005, 04:57 PM
Hey,
thanks for the reply. I'm not sure where it specifies that the new window will open in thumbnail view though. The link is to a folder on our intra-net that contains folders. The agency that wants this site developed has people who wont know to switch the view of the folder to thumbnails to see thumbnails. As dumb as that sounds its true. I have been able to find code to specify size, colour tool bars on and off, etc... but not to open the folder in a particular view. This is paramount to this project so that I dont have to develop a seperate program to create images and dynamically update the website everytime an engineer dumps more photos into the folder I want them to see when they click on the "photos" link on their site.

jjr0319
08-17-2005, 06:43 AM
yeah, the code i specified above will not do that at all. i just assumed by your question that you wanted a new window to open, but the window had to be the size of a thumbnail.

your best bet is probably to make some type of photo gallery that will automatically update. you could probably use ASP, PHP, or some other server-side scripting for this. try searching or asking your question in those forums.

TimminsGSC
08-17-2005, 07:10 AM
Thanks, I'll do that. Sorry about the confusion :)