Fixing the position of Link buttons

B

ben

Thank you to DAVID BARTOSIK for solving my previous
problem.

I have included the code below as an HTML fragment
positioned near the top of the screen in pub2003 and it
creates a button at the same location in my browser and
works fine.

However if I place another similar link below with
another HTML fragment, when i Display it in my browser
the second button appears right at the bottom of the
screen rather than just below the first one. I've
experimented with various distances away from the first
button but the result is always that the second button is
miles away from the first.

How can i fix it's position?

Thank you


<FORM>
<INPUT type="button" value="New Window!"
onClick="window.open('http://www.reuters.com','mywindow',
'height=527,width=809,scrollbars=yes,left=185,top=150')">
</FORM
 
D

David Bartosik - MS MVP

it may be that Pub's code conflicts with two forms and two code inserts, I'd
suggest trying it with both in the same code insert...

<FORM>
<table>
<tr>
<td>
<INPUT type="button" value="New Window1"
onClick="window.open('http://www.reuters.com','mywindow1',
'height=527,width=809,scrollbars=yes,left=185,top=150')">
</td>
</tr>
<tr>
<td>
<INPUT type="button" value="New Window2"
onClick="window.open('http://www.barvin.com','mywindow2',
'height=527,width=809,scrollbars=yes,left=185,top=150')">
</td>
</tr>
</table>
</FORM


--
David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx
 

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

Top