Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: not2easy

Message Too Old, No Replies

Pop Up Image

     
10:24 pm on Aug 4, 2005 (gmt 0)

New User

10+ Year Member

joined:June 29, 2005
posts:22
votes: 0


I know this is probably a very basic question but I can't find an answer anywhere or a dreamweaver plugin for it. I'm trying to allow when a customer clicks on a thumbnail image the image pops up in a seperate window not taking it away from the original page. Is there a way to do this with dreamweaver?

Thanks

11:04 pm on Aug 4, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member zeus is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 28, 2002
posts:3443
votes: 1


I do not use Dreamweaver, but _blank could do it or look for a script for popups.

wait for more replys here, its not the best answere

11:09 pm on Aug 4, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 23, 2002
posts:602
votes: 0


If it is linked in dreamweaver, the target box will open, can select type of window from there.
11:15 pm on Aug 4, 2005 (gmt 0)

Moderator from US 

WebmasterWorld Administrator travelin_cat is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 28, 2004
posts:3115
votes: 2


lxenterprise,

Try this:

<a href="picture_not_onpage.gif" target="_blank"><img src="pictureonpage.gif"></a>

so when somebody clicks on pictureonpage.gif, picture_not_onpage.gif will pop up in a new window leaving the original window underneath it.

11:40 pm on Aug 4, 2005 (gmt 0)

New User

10+ Year Member

joined:June 29, 2005
posts:22
votes: 0


OK great those ideas worked thanks a lot for your help.
8:12 am on Aug 5, 2005 (gmt 0)

New User

10+ Year Member

joined:June 24, 2005
posts:6
votes: 0


Dreamweaver does actually provide for this - open the properties window and once you have filled in the link address you can select target _blank.
Cheers.

(Visi has already pointed this out... oh well, better twice than not at all! :) )

3:56 pm on Aug 5, 2005 (gmt 0)

New User

10+ Year Member

joined:June 29, 2005
posts:22
votes: 0


I also noticed that some sites, have the image popup but the window is only the size of the image. When I used dreamweaver to apply the popup, a whole new window opens which doesn't display the image as bigger unless you click to open up the window all the way. Any experiences on this.

Thanks

10:43 pm on Aug 5, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 1, 2003
posts:70
votes: 0


Try - Behaviors panel / Open Browser Window
12:14 am on Aug 17, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 11, 2005
posts:386
votes: 0


I believe the "target" attribute is deprecated, correct? At any rate, don't use target_blank.

You want to have an image pop in a new window, and you want that window to be the size of the image, and of course it would be nice to not have that window be a full browser (the buttons and the URL bar and all that crap), correct?

Go to the Yourhtmlsource website and look at the popup tutorial under Javascript. (i'm posting the URL but i'm new to the forum and it seems that some URLs get edited, so sorry if you don't see it).

[yourhtmlsource.com...]

This tut, among plenty of others on the web, tells you how to get classy popups with JS, instead of a brand new browser window, which besides being ugly has all kinds of accessibility problems. It's worth the effort. Hope that helps.

2:23 am on Aug 17, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 29, 2003
posts:1676
votes: 0


While I am generally loath to open new windows without a very specific reason - when I do open a new window target="_blank", though deprecated, is often the simplest and most useful tool. There's often no 'need' for the script, beyond getting around the code validation.
5:15 am on Aug 20, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:July 30, 2005
posts:80
votes: 0


Definetly stick with the target attribute in a anchored link, and just specify anyname. Popular on in this forum seems to be _blank. It's the easiest way.