Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forcing page properties of a linked page.

Status
Not open for further replies.
Mar 11, 2004
127
GB
I'm sure I've seen this before, but I cant think where.

I'm linking an image to a new browser window, and would like that page to be the same colour as my site.

Any tips tekies? :D

Thanks,
Ant
 
What is "that page"? Is that another page on your site? If so, the URL in your href could supply a querystring parameter specifying the color.

JavaScript on the destination page would parse the querystring, setting the appropriate style property of the document.



Thomas D. Greer

Providing PostScript & PDF
Training, Development & Consulting
 
Sorry, just realised I wasn't very clear. It was late and I was tired.

My page will have multiple thumbnail images on it, which when clicked will open the full size image in a new browser window. The site colour is black, but at the moment the full size image opens into a page where the background is white. So, I'm wondering if there is a way to specify this colour, or even better, force the new window to be specifically the size of the image.


Thanks,
Ant
 
I got this sorted with a javascript open window command. All my pictures are a set size so this worked a treat.

Thanks for your ideas though guys.

Ant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top