Nifflas' Support Forum
Being Creative => Creativity Support => Topic started by: Hmpf on July 19, 2010, 02:36:14
-
I'm trying to create a small gallery on my new website where you can click on a thumbnail and this will open a fixed-size window in which the full image will be displayed. How do I do that? I've been trying it in Dreamweaver, but the result doesn't seem to work in either of my browsers, even when I disable the pop-up blockers and so on. The code Dreamwaver gave me looks like this:
<a href="img/harbour.png"><img src="img/harbour_thumb.png" alt="harbour thumbnail" border="0" onload="MM_openBrWindow('img/harbour.png','harbour','width=592,height=232')" /></a>
Is there something wrong with that code? Any tips what I could change to make this work?
ETA: Never mind, I think I found the problem.
ETA2: Actually... I found out how to make the little pop-up window appear. However, for some reason there is *also* a full-size new browser tab that appears at the same time. Any idea why *that* happens? o.O
ETA3: Okay, now I *have* found and solved the problem. :-)
-
Well, frell. I should have written down what exactly the solution was, because I'm having the same frelling problem with the next page right now. GrrrrAAaaarrrRRRRGhh.
-
Have a look throught the code for the last page, and copy it across
-
Have a look throught the code for the last page, and copy it across
Actually, I seem to have solved the problem... *again*. Though I still don't know how. o.O
Thanks, anyway! :-) I think I should probably go to bed now; my new KS website is done. One website down, one to go... (I have to hand in two projects on Tuesday, arrgh.)
-
why do people like pictures appearing in popups? :sad: why do people use popups at all, anyways. D:
-
why do people like pictures appearing in popups? :sad:
Because opening a new *big* page for a small image like a KS screenshot isn't very elegant, I find. The new window in that case would cover the entire main page of the site I'm building, and you'd have to click it closed to see the main page again. And the little screenie would look all lost on such a big, empty page. Hey, this forum uses popups, too! Every time I attach a picture that is larger than the standard screenshot size - e.g. my map screenshot I just posted yesterday - it gets opened in a popup window. And I like that - I like being able to look at an image - in a small extra window - while still being able to read the post it belongs to.
-
Use gallery software like this: http://minishowcase.net/demo/
Much better solution.
-
Even better, make the image appear inside your page, like we have with the spoiler function. That way, a popup killer will not block it.