new page in XSL

T

tom

Hi all,

The following code is a line in an XSL page, it shows a small image and when
you click on it, an new page opens showing a bigger version of the image.

<a href="{translate(imagelarge,' ','_')}" target="_blank" title="{id}"><img
src="{translate(imagesmall,' ','_')}" alt="click to enlarge"
border="1"/></a>

How can I change the properties of the new page that opens. I want to open a
page thats 400x400 and doesn't show the menu or navigation bars.

Does any one know were I can find any info on this.
 
M

Martin Honnen

tom wrote:

The following code is a line in an XSL page, it shows a small image and when
you click on it, an new page opens showing a bigger version of the image.

<a href="{translate(imagelarge,' ','_')}" target="_blank" title="{id}"><img
src="{translate(imagesmall,' ','_')}" alt="click to enlarge"
border="1"/></a>

If your XSLT stylesheet generates HTML then you rather have an HTML page
or document with a hyperlink and not "an XSL page".
How can I change the properties of the new page that opens. I want to open a
page thats 400x400 and doesn't show the menu or navigation bars.

HTML hyperlinks don't allow you to change the size or bars of a new
window, client-side script embedded into HTML documents used to be able
to do that but nowadays browsers are configurable to disallow script
such things so that the browser user stays in command of his browser.
If you want to open a new window with script you could try
<a href="whatever.gif" target="imageWin"
onclick="window.open(this.href, this.target,
'width=400,height=400,scrollbars,resizable');
return false;">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,254
Members
46,851
Latest member
CliftonCor

Latest Threads

Top