can I create pop-ups?

  • Thread starter Thread starter Rob
  • Start date Start date
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?
 
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>
 
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?
 
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.
 
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.
==============================================
 
ok!!! that worked fine for new windows..thanks!

Now, is there a way to make the new windows open in full screen mode automatically?
 
Accually MD it did work, there is no menu for target frame, so I just typed in "new window" and it worked fine!
 
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?
 
THANKS TO ALL WHO CONTRIBUTED TO THIS THREAD!

NEW QUIESTION COMING.. LOOK FOR ROB'S NEW POST.....
power point web frames?
 
Yes, you just need to set the target to _blank or add this code: <a href="HYPERLINK" target="_blank">
 
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 (e-mail address removed)

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!
 

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

Back
Top