RE: Open new (image) window, but with other contents too

by Klaas De Waele <klaas(at)gracegraphics.be>

 Date:  Tue, 13 Nov 2001 10:19:47 +0100
 To:  "'Jay Smith'" <jay(at)JaySmith.com>,
"'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Either passing along variables with the URL if you need full-Javascript.

I'd go for ASP/PHP though, since your website over their should really be
running on a database.


- Kayjey -


> -----Oorspronkelijk bericht-----
> Van: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]Namens Jay Smith
> Verzonden: zaterdag 10 november 2001 18:42
> Aan: hwg-techniques(at)hwg.org
> Onderwerp: Open new (image) window, but with other contents too
> 
> 
> Hi,
> 
> I want to do a couple things which might be mutually exclusive, but
> just in case it is possible, how would one do this....
> 
> a) From a web page that is essentially a product price list with MANY
> listings (and thus page size is a huge issue; breaking into multiple
> pages is not the entire answer to minimizing the page size).....
> 
> b) Presumably using Javascript, use a "pic" link to open a new browser
> window for viewing of each product image.  Each product in the main
> browser window will need a link to open the new window.  I believe I
> know how to do this part.
> 
> c) In the NEW browser window, I am hoping to have MORE than just the
> product image.  I am hoping to also have a bare-bones logo/page
> header.  The problem is that to do this, I assume that the contents
> for this NEW window must then be an HTML page.  HOWEVER, I do NOT want
> to build _thousands_ of HTML pages for these thousands of
> products/images.
> 
> d) In the MAIN window, at each product line item, I expect to have to
> give the the window-opening process the URL of the product image.  
> 
> e) IS IT POSSIBLE (AND HOW) would I get the Javascript ONCE on the
> MAIN prioce list page to supply the other NEW-window HTML elements,
> without actually requiring an HTML page to exist for each product
> image?
> 
> f) Even better, HOW would I supply it only ONCE to the Javascript as
> an EXTERNAL include (I can do SSI).
> 
> I hope this makes sense!  In other words, when I open a NEW window for
> the product image, I want some other _standard_ page header stuff in
> the NEW browser window; but I only want to supply that data once for
> each main product price list page -- or even better on each main
> product page refer to an external file that will have the needed
> page-header code only once for the entire system.
> 
> Sorry, I have not yet built a sample to refer to.
> 
> Jay
> 
> -- 
> Jay Smith
> 
> e-mail: Jay(at)JaySmith.com  mailto:Jay(at)JaySmith.com
> website: http://www.JaySmith.com
> 
> Jay Smith & Associates
> P.O. Box 650
> Snow Camp, NC  27349  USA
> 
> Phone: Int+US+336-376-9991
> Toll-Free Phone in US & Canada:
> 	1-800-447-8267
> Fax: Int+US+336-376-6750
>  
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.