small to big oO, picture enlarge |
small to big oO, picture enlarge |
slayerdeath666 |
Dec 17 2008, 03:14 PM
Post
#1
|
Advanced Member Group: Members Posts: 100 Joined: 14-December 08 Member No.: 7,337 |
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
Attached image(s) |
Darin McGrew |
Dec 17 2008, 04:02 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entries How can I create a thumbnail image that is linked to the full-sized image? and How do I create a link that opens a new window?
|
slayerdeath666 |
Dec 18 2008, 01:04 PM
Post
#3
|
Advanced Member Group: Members Posts: 100 Joined: 14-December 08 Member No.: 7,337 |
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? This post has been edited by slayerdeath666: Dec 18 2008, 01:16 PM |
Darin McGrew |
Dec 18 2008, 04:54 PM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
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 |
Dec 18 2008, 05:24 PM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
How do you mean "make window smaller"? The pop-up window?
http://htmlhelp.com/faq/html/links.html#window-specify |
slayerdeath666 |
Dec 19 2008, 02:17 PM
Post
#6
|
Advanced Member Group: Members Posts: 100 Joined: 14-December 08 Member No.: 7,337 |
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 |
Dec 19 2008, 05:57 PM
Post
#7
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Dec 19 2008, 06:46 PM
Post
#8
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Note that
CODE <a href="www.shrani.si/picureblabla" ...> andCODE <a href="http://www.shrani.si/picureblabla" ...> are not the same, and do not refer to the same thing. |
pandy |
Dec 19 2008, 08:39 PM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
True, but the JS for the window size looks OK AFAICS.
|
Lo-Fi Version | Time is now: 15th April 2024 - 10:33 PM |