can I create pop-ups?

R

Rob

Is it posible in frontpage express to make the links
on my home page pop-ups so that the main page stays open
rather than transitioning?
 
M

MD WebsUnlimited.com

Yes, but you'll have to use code like this:

<script language="javascript" id="jcSpawn">
// Jimco Add-ins Spawn JavaScript
// This script is freely redistributable. //-->
function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
{
var windowOptions;
if (scaleType == 'percent')
{
w = (w * screen.availWidth) / 100;
h = (h * screen.availHeight) / 100;
}
if (x == 'center')
{
x = (screen.availWidth - w) / 2;
y = (screen.availHeight - h) / 2;
}
windowOptions = options + ',width=' + w + ',height=' + h + ',left=' + x +
',top=' + y;
newWindow = window.open(url, name, windowOptions);
newWindow.focus();
}
</script>
</head>

<a href="index.htm"
onclick="spawnJimcoPopup('index.htm','47D470F1EF574A1490A4EADDA459887C','too
lbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resiza
ble=no','200','200','center','center','pixel');return false;">page</a>
 
R

Rob

well, thanks for your quick response. however, what you suggest is beyond my abilities at this point
Is there a script untility that performs this function?
 
S

Steve Easton

You can make your links open in n new window,
By right clicking the link and selecting hyperlink properties.
Then click Target Frame and then select New Window and then
click Apply.

If you want to control the size of the new window
it will require using a script.
 
T

Thomas A. Rowe

Rob,

Down load and install the actual Spawn FP Add-in from
http://www.jimcoaddins.com

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
R

Rob

ok!!! that worked fine for new windows..thanks!

Now, is there a way to make the new windows open in full screen mode automatically?
 
R

Rob

Accually MD it did work, there is no menu for target frame, so I just typed in "new window" and it worked fine!
 
T

Thomas A. Rowe

Yes, but you would have to locate a script that would test for the user
resolution, etc. and then force the browser to window to full screen.

Personally, I do not return to sites that cause my browser to open full
screen, so I would suggest that you don't do this, as there may be many
other folks that also dislike this and will not return to your site.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Rob said:
ok!!! that worked fine for new windows..thanks!!

Now, is there a way to make the new windows open in full screen mode
automatically?
 
R

Rob

THANKS TO ALL WHO CONTRIBUTED TO THIS THREAD!

NEW QUIESTION COMING.. LOOK FOR ROB'S NEW POST.....
power point web frames?
 
M

Matthew

Yes, you just need to set the target to _blank or add this code: <a href="HYPERLINK" target="_blank">
 
M

MD WebsUnlimited.com

Huh? You installed Spawn in FPE?


--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at [email protected]

Rob said:
Accually MD it did work, there is no menu for target frame, so I just
typed in "new window" and it worked fine!
 
Top