RE: WebCat and image maps

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12157
interpreted = N
texte = Michael ->How does WebCat deal with server-side image maps with WebDNA in them? >I'd like to cover all my bases by including both client-side and >server-side maps, but I realized that the server-side would be an exterior >file that wouldn't have the arguments passed to it. >Any ideas?Hmm.. you can put a URL that points to a WebCatalog template into a .map file, like:rect Results.tmpl$search?db=catalog.txt&neskudata=0 8,46 82,68')but, as it took me a few minutes to realize, WebDNA tags in this file won't be processed, so you can't pass on the cart number, for example, by using &cart=[cart].However, if you wanted to get tricky, you could use a [writefile] context on the page with the image map which would dynamically write a .map file for that browser which would contain all the correct information. You could use [cart].map as the filename, and your link to the .map file would look something like . This might mean you'd get quite a few of these .map files, but it should work (come to think of it, you could put that [writefile] context inside an [html1] or [html2] context, so that it would only write a .map file for browsers that didn't support client-side image maps. That's one of the great things about WebCatalog -- there's always a way to account for different situations).I hope that proves helpful,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat and image maps (Trevor Crist 1997)
  2. RE: WebCat and image maps (Michael Winston 1997)
  3. Re: WebCat and image maps (bob 1997)
  4. RE: WebCat and image maps (Marc Eagle 1997)
Michael ->How does WebCat deal with server-side image maps with WebDNA in them? >I'd like to cover all my bases by including both client-side and >server-side maps, but I realized that the server-side would be an exterior >file that wouldn't have the arguments passed to it. >Any ideas?Hmm.. you can put a URL that points to a WebCatalog template into a .map file, like:rect Results.tmpl$search?db=catalog.txt&neskudata=0 8,46 82,68')but, as it took me a few minutes to realize, WebDNA tags in this file won't be processed, so you can't pass on the cart number, for example, by using &cart=
[cart].However, if you wanted to get tricky, you could use a [writefile] context on the page with the image map which would dynamically write a .map file for that browser which would contain all the correct information. You could use [cart].map as the filename, and your link to the .map file would look something like [cart].map>. This might mean you'd get quite a few of these .map files, but it should work (come to think of it, you could put that [writefile] context inside an [html1] or [html2] context, so that it would only write a .map file for browsers that didn't support client-side image maps. That's one of the great things about WebCatalog -- there's always a way to account for different situations).I hope that proves helpful,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Marc Eagle

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebDNA 5.0 & WebMerchant (2003) unable to launch acgi in WebCat (1997) WC2.0 Memory Requirements (1997) WebDNA tags in WebMerchant email templates ... (1997) show me your store ! (2003) WebDNA Fusebox was (European Convention) (2004) European Dates (1998) New Plug-in and Type 11 errors (1997) WC TableGrinder (1997) Skipping first item in a search (2000) [Replace] (2000) Clickable maps and WebCatalog? (1996) RE: Problems with dbcatalog.exe (1997) Can you do this??? and other stuff (1997) posts (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Remove Multiple Line Items (2005) I need a Smart-quote workaround (1999) Date calculation problems (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997)