Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: not2easy

Pop Up Image

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

5+ Year Member



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)

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



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)

10+ Year Member



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)

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



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)

5+ Year Member



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

5+ Year Member



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)

5+ Year Member



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)

10+ Year Member



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

5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

5+ Year Member



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.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month