HighDots Forums  

Pop windows with images.

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Pop windows with images. in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
warnoe
 
Posts: n/a

Default Pop windows with images. - 02-11-2005 , 06:30 AM






hi

I adding pictures to my web site of my star wars collection but want to show
small thumbnails of my collection - I can put images on my site with no problem
to do

but i want to have a new window to pop up on screen when you click on the
thumbnail you choose with the full image and some small text.

Ive been trying extensions etc... but can anyone please tell me if theres a
realy easy way to add a window with my image and small amount of text on it so
the visitor can close the popped up image with out having to press back on the
internet explorer.

simple as possible please as im a novice at DW MX

thanks

neil
www.uk-scout.co.uk


Reply With Quote
  #2  
Old   
David Stiller
 
Posts: n/a

Default Re: Pop windows with images. - 02-11-2005 , 08:45 AM






warnoe,

Quote:
but i want to have a new window to pop up on screen when you click on the
thumbnail you choose with the full image and some small text.

HTML, on its own, provides a way to open a new window. The simplest way
to do this is to wrap your thumbnail in an anchor tag (<a>) and set its
target attribute to _blank.

<a href="pageWithLargeImage.html" target="_blank"><img
src="thumbnail.jpg"></a>

Dreamweaver provides an "Open Browser Window" Behavior that writes the
JavaScript necessary to make this a little more complex, giving you the
option to specify the new browser's height and width and other
characteristics. Put in your anchor tag, then look in the Behaviors panel.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."




Reply With Quote
  #3  
Old   
Adrian Stock
 
Posts: n/a

Default Re: Pop windows with images. - 02-11-2005 , 12:50 PM



warnoe wrote:

Quote:
hi

I adding pictures to my web site of my star wars collection but want to show
small thumbnails of my collection - I can put images on my site with no problem
to do

but i want to have a new window to pop up on screen when you click on the
thumbnail you choose with the full image and some small text.

Ive been trying extensions etc... but can anyone please tell me if theres a
realy easy way to add a window with my image and small amount of text on it so
the visitor can close the popped up image with out having to press back on the
internet explorer.

simple as possible please as im a novice at DW MX

thanks

neil
www.uk-scout.co.uk

To enlarge the thumbnail pictures **I** would do one of the following:

1 Select the thumbnail, then create a link in Property inspector to the
large version of the image. In Property inspector, set target to
'Parent'. A new window will be opened, and the user can return to your
thumbnail page by clicking the Back button.

2 If you want to add text to the large picture, and perhaps centre it,
and perhaps add a background colour to the fresh window, etc etc,

create an html file, put the large image, text, background etc etc into
that file.

Then link the thumbnail to that html file (as above) instead of linking
it directly to the large image. Remember: target = parent. (Try the
other options for Target, to see if they give you something you prefer
for some reason.)

That's what **I** would do. Don't know if there is a more elegant solution.

Adrian




Reply With Quote
  #4  
Old   
Adrian Stock
 
Posts: n/a

Default Re: Pop windows with images. - 02-11-2005 , 12:53 PM



Adrian Stock wrote:

Quote:
warnoe wrote:

hi
I adding pictures to my web site of my star wars collection but want
to show small thumbnails of my collection - I can put images on my
site with no problem to do

but i want to have a new window to pop up on screen when you click on
the thumbnail you choose with the full image and some small text.

Ive been trying extensions etc... but can anyone please tell me if
theres a realy easy way to add a window with my image and small amount
of text on it so the visitor can close the popped up image with out
having to press back on the internet explorer.

simple as possible please as im a novice at DW MX

thanks

neil
www.uk-scout.co.uk


To enlarge the thumbnail pictures **I** would do one of the following:

1 Select the thumbnail, then create a link in Property inspector to
the large version of the image. In Property inspector, set target to
'Parent'. A new window will be opened, and the user can return to your
thumbnail page by clicking the Back button.

2 If you want to add text to the large picture, and perhaps centre
it, and perhaps add a background colour to the fresh window, etc etc,

create an html file, put the large image, text, background etc etc into
that file.

Then link the thumbnail to that html file (as above) instead of linking
it directly to the large image. Remember: target = parent. (Try the
other options for Target, to see if they give you something you prefer
for some reason.)

That's what **I** would do. Don't know if there is a more elegant solution.

Adrian


Afterthought:

I just see that you want to avoid use of Back button.

I don't know why you find the back button inconvenient,

but if I wanted to avoid the back button, I would put a link back to the
thumbnail page into the html file containing the large image.

Adrian


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.