Question:
Can I change the background color of the image page that opens in new window?
cheryl d
2008-03-16 23:13:12 UTC
Im working on my website which is overall a black background theme. I have my images set as thumbnail sizes, and when the user clicks on the image, IE opens it in a new window by default. This allows the image to be shown full size, and I dont need to create a page for each and every image...
however when it opens up, of course the background is white. Is there a way to control this either by css or java or something, that tells the browser to open with a black background?
Four answers:
Warren O
2008-03-16 23:47:50 UTC
Have javascript write the HTML that opens the new window. Example:



then, have the anchor tag read as follows:





There is a chance that the new window that this creates will get caught by popup blockers, but not likely.



Good luck!
1hotdeal4u.com
2008-03-17 07:04:28 UTC
If you are using yahoo site builder to do this than the answer is no. If you created the page yourself that the full size image is on, than yes you can change the background.











You will of course have other html between the and anchors just place the code I gave you above after the anchor tag
rockinronnie
2008-03-17 06:45:24 UTC
You can use Javascript, but I agree with the first poster an album would proably be nicer. your choice..here's a link regarding Javascript by the way..Java is entirely different than Javascript.



http://www.quackit.com/javascript/popup_windows.cfm



Here's one free album tool which will create html for you. Any search engine will help you find others.





http://jalbum.net/
TOM
2008-03-17 06:40:47 UTC
This is impossible.



css/java only include using by HTML, so you must have create page for each image.



But there are some easy use web gallery generation software, you could try them.



or try some php code like http://gallery.menalto.com/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...