homepage Welcome to WebmasterWorld Guest from 54.211.157.103
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

    
Pop Up Image
lxenterprise




msg:857214
 10:24 pm on Aug 4, 2005 (gmt 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

 

zeus




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

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

Visi




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

If it is linked in dreamweaver, the target box will open, can select type of window from there.

travelin cat




msg:857217
 11:15 pm on Aug 4, 2005 (gmt 0)

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.

lxenterprise




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

OK great those ideas worked thanks a lot for your help.

jonnyfolk




msg:857219
 8:12 am on Aug 5, 2005 (gmt 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! :) )

lxenterprise




msg:857220
 3:56 pm on Aug 5, 2005 (gmt 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

scottmack




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

Try - Behaviors panel / Open Browser Window

Don_Hoagie




msg:857222
 12:14 am on Aug 17, 2005 (gmt 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.

D_Blackwell




msg:857223
 2:23 am on Aug 17, 2005 (gmt 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.

Conscientious Reject




msg:857224
 5:15 am on Aug 20, 2005 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved