Help with Thumbnail popup windows

This is a discussion on "Help with Thumbnail popup windows" within the Flash & Multimedia Forum section. This forum, and the thread "Help with Thumbnail popup windows are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 7th, 2007, 11:38
Junior Member
Join Date: Feb 2007
Location: England
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Help with Thumbnail popup windows

Hi I have a gallery of thumbnail buttons which when clicked I would like to open a new pop up window with a simple jpg inside. But I want each thumbnail button to open a separate pop up window, not all in the same window, so if the user wants they can leave several windows open to view at their leisure. I cannot find a tutorial that explains how to make a different pop up window for each button, can anyone help me?
Reply With Quote

  #2 (permalink)  
Old Dec 7th, 2007, 12:03
Up'n'Coming Member
Join Date: Jun 2007
Location: Birmingham, UK
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Thumbnail popup windows

Hi,
normally you would use the target="_blank" attribute in your link. So the link would look like
Code: Select all
<a href="image.jpg" target="_blank">View Image</a>
But before you start doing that, please think about whether the user would REALLY appreciate a new window popping up every time she clicks on an image.
Reply With Quote
  #3 (permalink)  
Old Dec 7th, 2007, 12:08
Junior Member
Join Date: Feb 2007
Location: England
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Thumbnail popup windows

I know it's something I need to think about but It's for buying and I thought it might be helpful if the user can compare products to each other before making their choice, besides that though I'm doing this in flash so how would the actionscrpit and javascript go for separate windows?
Reply With Quote
  #4 (permalink)  
Old Dec 7th, 2007, 12:11
Up'n'Coming Member
Join Date: Jun 2007
Location: Birmingham, UK
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Thumbnail popup windows

In actionscript, you can simply supply a second argument to the getURL function. So the code would look like
Code: Select all
getURL("image.jpg", "_blank");
Reply With Quote
  #5 (permalink)  
Old Dec 7th, 2007, 12:16
Junior Member
Join Date: Feb 2007
Location: England
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Thumbnail popup windows

Great thankyou, but don't I need to put some script in the html file of the main page
Reply With Quote
  #6 (permalink)  
Old Dec 7th, 2007, 13:49
Up'n'Coming Member
Join Date: Jun 2007
Location: Birmingham, UK
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Thumbnail popup windows

Quote:
Originally Posted by cjrollo View Post
Great thankyou, but don't I need to put some script in the html file of the main page
If I understand you correctly, you want to open new a window when you click on an image in your Flash movie. The above code should do the trick. No extra JavaScript is necessary.
Reply With Quote
  #7 (permalink)  
Old Dec 7th, 2007, 13:59
Junior Member
Join Date: Feb 2007
Location: England
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Thumbnail popup windows

This way, can I control how the window appears no toolbars etc?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
One time popup windows dhossai JavaScript Forum 5 Dec 29th, 2007 22:05
Edit text in popup windows. Janisf Flash & Multimedia Forum 7 Aug 2nd, 2007 15:56
HELP - IE7 Thumbnail Images on a tab ActionPart Web Page Design 2 Jul 15th, 2007 13:00
thumbnail and text next to each other konnor5092 Web Page Design 15 Jul 2nd, 2007 11:51
Popup windows problem Freddie JavaScript Forum 2 Jan 10th, 2006 09:20


All times are GMT. The time now is 15:11.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43