I am trying to figure this out. I am trying to open a window with a set background and header for use with different pictures. It is very hard to explain but you can see a sample of this javascript at [url]www.ehowa.com.[/url] The webmaster there makes it so when you click on a link to an image file a new window or page opens with his header and footer and that particular image in the middle. I think its amazing I cannot find ANY information on this and hope someone would help.
@Khalid_AliOct 29.2003 — #There are tonnes of scripts out there,here is one of those,the iamge is opened with the window sized to exactly same as th eimages,you can change that and add header and footer..
@agminerOct 29.2003 — #I have done something similar. From page one I open a new window with onclick ( I specify a window size and no tools or status) the on click gives an image name. The page specified in the window open parses the url for the img name . This page could have a header, footer or whatever.
Calling code:
Click on an image (could be text instead). These images are in a table for selecting what is to be viewed. The focus puts the new window on top and the return false keeps the calling page's postion from changing when moving to and from the calling window.
@vonedaddyauthorOct 29.2003 — #Im sorry but I cant get either one to work for me. Did you happen to check the example I gave?? agminer seems to have what I am looking for but I cant get it to work.
@vonedaddyauthorOct 29.2003 — #Well i would like to say thanks before anything.. I appreciate your time and help. But I altered the code from your page (I hope you dont mind) to see if I can get it to work for my needs. Here is the code Im using.
I have both html files and the image file in the same directory and everything works. Except the image will not show. It shows me a new window (PERFECT) but it only shows me the place holder for the image... The image does not load. Maybe you can check this code and let me know whats wrong. Thanks in advance.
@vonedaddyauthorOct 29.2003 — #Hey AGMINER... I am posting this for no other reason than to thank you kindly for all your help. I now have it working exactly the way I want it to. Without your help I would be pulling my hair out. I REALLY appreciate you taking the time to help me. Thanks again.