Help - Search - Members - Calendar
Full Version: small to big oO
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
slayerdeath666
Hey. Someone please tell me how can i do to someone press a picture than open new window and show picture in bigger sizes. like it show picture i added. thanks smile.gif
slayerdeath666
thanks. i readed and i know now...i only dont know how to make window smaller when someone click the small image.

and what is this return false"> at the end?
Darin McGrew
QUOTE
and what is this return false"> at the end?
This prevents the browser from processing both the normal link and the JavaScript event handler that replaces the normal link when JavaScript is available.
pandy
How do you mean "make window smaller"? The pop-up window?
http://htmlhelp.com/faq/html/links.html#window-specify
slayerdeath666
yes look my code how i do:

<a href="www.shrani.si/picureblabla" target="popup" onclick="window.open('example.html', 'popup', 'width=100,height=50'); return false">View Foo</a>

i used width 100 and height 50 and still same window (big one)
pandy
Looks right to me. Maybe you have configured your browser not to allow sizing of windows?

Maybe it won't be extly 100x50. A window can't be below a certain site, but it should be small.
Darin McGrew
Note that
CODE
<a href="www.shrani.si/picureblabla" ...>
and
CODE
<a href="http://www.shrani.si/picureblabla" ...>
are not the same, and do not refer to the same thing.
pandy
True, but the JS for the window size looks OK AFAICS.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.