i know how to make a link open in a different window, but how do i define the properties of the new window, like the background, and stuff.
i knew how to, but suddenly i dunno anymore
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
12th April, 2004 at 15:54:19 -
javascript!
please don't copy and paste, it won't work (i'm not very experienced with js), but try something along the lines of:
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
well, in fact, my problem is that i want to make a kinda gallery page, where people can see my drawings. but i dont wanna make a separate html page for each drawing
what would you suggest me?
If you want to avoid using ASP/PHP/whatever, just use Javascript to:
1. Set a cookie on the main page holding the picture info
2. Open a new window
3. Read the cookie and show the corresponding picture
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
well, what i wanted is an image that changed. that you clicked something and the imaged changed to the thing you chose.
i remember asking this before and shen said something like that.
the only thing i find searching is google, are scripts like the one Kramy sent me, that are for images that you want to show in a certain order, but i dont find anyone that lets you choose from many, an specific one, instead of having just two buttons, next and prev
Just put some javascript instead of the url of a page as well. Like: window.open("javascript: document.write(\'<html><body>< img src="+imageurl+"></body></html>\')");.