Frontpage Hyperlink Problem

G

Guest

Using hyperlinks I can have the link open in a new browser, but how can I
determine the size of the new window?

For example: Having a hyperlink that has a new window open to fit the size
of the individual picture.

thanks!

-Matt
 
T

Trevor L.

Mpow540 said:
Using hyperlinks I can have the link open in a new browser, but how
can I determine the size of the new window?

For example: Having a hyperlink that has a new window open to fit
the size of the individual picture.

thanks!

-Matt

Use Jimco's Spawn
http://www.jimcosoftware.com/


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
G

Guest

What is Jimco Software? And what specific app are you referring to that I use?

-Matt



Trevor L. said:
Mpow540 said:
Using hyperlinks I can have the link open in a new browser, but how
can I determine the size of the new window?

For example: Having a hyperlink that has a new window open to fit
the size of the individual picture.

thanks!

-Matt

Use Jimco's Spawn
http://www.jimcosoftware.com/


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
T

Tom Willett

Trevor *gave* you that information in his reply:

Use Jimco's Spawn
http://www.jimcosoftware.com/

--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===

| What is Jimco Software? And what specific app are you referring to that I
use?
|
| -Matt
|
|
|
| "Trevor L." wrote:
|
| > Mpow540 wrote:
| > > Using hyperlinks I can have the link open in a new browser, but how
| > > can I determine the size of the new window?
| > >
| > > For example: Having a hyperlink that has a new window open to fit
| > > the size of the individual picture.
| > >
| > > thanks!
| > >
| > > -Matt
| >
| > Use Jimco's Spawn
| > http://www.jimcosoftware.com/
| >
| >
| > --
| > Cheers,
| > Trevor L.
| > [ Microsoft MVP - FrontPage ]
| > MVPS Website: http://trevorl.mvps.org/
| > ----------------------------------------
| >
 
S

Steve Easton

Jimco software is a website with free downloads, run and written by Jim Cheshire.
Who just happens to be a MSFT programmer.


--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

Mpow540 said:
What is Jimco Software? And what specific app are you referring to that I use?

-Matt



Trevor L. said:
Mpow540 said:
Using hyperlinks I can have the link open in a new browser, but how
can I determine the size of the new window?

For example: Having a hyperlink that has a new window open to fit
the size of the individual picture.

thanks!

-Matt

Use Jimco's Spawn
http://www.jimcosoftware.com/


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
G

Guest

I'm sorry, I didn't notice that "Spawn" was the Jimco App that he was
referring to.
I downloaded it and it works fine. Thanks.

Beside using this software, is their another way of achieving this using
code/css?

-Matt



Steve Easton said:
Jimco software is a website with free downloads, run and written by Jim Cheshire.
Who just happens to be a MSFT programmer.


--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

Mpow540 said:
What is Jimco Software? And what specific app are you referring to that I use?

-Matt



Trevor L. said:
Mpow540 wrote:
Using hyperlinks I can have the link open in a new browser, but how
can I determine the size of the new window?

For example: Having a hyperlink that has a new window open to fit
the size of the individual picture.

thanks!

-Matt

Use Jimco's Spawn
http://www.jimcosoftware.com/


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
D

David Berry

Yes. You can use your own JavaScript. See http://javascript.internet.com
for samples

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/



Mpow540 said:
I'm sorry, I didn't notice that "Spawn" was the Jimco App that he was
referring to.
I downloaded it and it works fine. Thanks.

Beside using this software, is their another way of achieving this using
code/css?

-Matt



Steve Easton said:
Jimco software is a website with free downloads, run and written by Jim
Cheshire.
Who just happens to be a MSFT programmer.


--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

Mpow540 said:
What is Jimco Software? And what specific app are you referring to
that I use?

-Matt



:

Mpow540 wrote:
Using hyperlinks I can have the link open in a new browser, but how
can I determine the size of the new window?

For example: Having a hyperlink that has a new window open to fit
the size of the individual picture.

thanks!

-Matt

Use Jimco's Spawn
http://www.jimcosoftware.com/


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
T

Trevor L.

David said:
Yes. You can use your own JavaScript. See
http://javascript.internet.com for samples

You could use this JavaScript. It is a slightly amended version of the JS
generated by Spawn

function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
{
var newWindow
if (scaleType == 'percent')
{ h = (h * screen.availHeight) / 100
w = (w * screen.availWidth) / 100 }
if (x == 'center')
x = (screen.availWidth - w) / 2
if (y == 'center')
y = (screen.availHeight - h) / 2
options += ',width=' + w + ',height=' + h
+ ',left=' + x + ',top=' + y
newWindow = window.open(url, name, options)
newWindow.focus()
}

I call this by (for example):
spawnJimcoPopup ('dayborn.html','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no',
'180','200', 'center','500','pixel');return false;"

Parameters are:
url: URL of the window to open
name: generally blank, i.e. ''
options: a set of options - see above
h: Window height
w: Window width
x: Window offset from the left - can be "center", in which case it is
centred horizontally
y: Window offset from the top - can be "center", in which case it is centred
vertically
scaleType: If "percent", calculates h and w as percentage of window size
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 

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