Opening New Window

  • Thread starter Thread starter Bill Brutzman
  • Start date Start date
B

Bill Brutzman

In our site, www.hkMetalCraft.com, when a user clicks on
the "Contact" button, it opens a whole new browser window.

I do not want a whole new window. I want the contacts
window to appear inside the same "main" index window,
superceding the index window altogether

Suggestions would be appreciated.

Regards,

Bill

973.471.7770 x145
 
Bill,

The short answer is you need to modify the properties of the Contact button
to stop the behavior.

The longer answer is that you should really get rid of the Hover Buttons
entirely. They are Java based (Not JavaScript based, that's an entirely
different thing.) and not every user has a Java Virtual Machine (JVM)
installed on their computer. If they don't have a JVM, they get no
navigation _at_all_. This means those folks only see your homepage and
can't navigate around. Same thing with your products and about pages.
 
Jack:

Thanks very much indeed for writing.

OK. How do I replace the pesky hover buttons? I would
really like drop-down menu bars. I can't find it in Help
or the "Front Page 98 Complete Reference" textbook.

It is not clear to me how to "modify the properties of the
contact button to stop the behavior". I looked at it; I
need more specificity.

Regards,

Bill
 
Bill,

I never use the hover buttons, so I'm not sure which property to change. :)

But after taking a look at the source code for your page, I think you need
to make the modification in the same place where you tell it which page to
link to. From the source of your homepage:

<param name="target" value="main">
<param name="color" value="#000080">
<param name="textcolor" value="#FFFFFF">
<param name="text" value="Contact">
<param name="url" valuetype="ref" value="contact.htm">

That first line adds a "target" value of "main". That is probably telling
it "open this link in the 'main' frame window". Because the site isn't in a
frame, it ends up opening the new window. Muck about in the properties and
see if you can find this parameter and remove it.

When say you're interested in drop down menus, do you mean something like
this:
http://www.microsoft.com (the main menu at the top right corner)

Or are you just looking for a roll over effect similar to how the hover
buttons change color?

The first can be fairly complicated, but there are add-in products you can
buy to help out. If you're using FrontPage 98, I don't know if the add-ins
will work, but you can always check and see. You can search for FrontPage
add-ins here:
http://www.microsoft.com/frontpage/downloads/addin/launchupdate/search.asp

Also, Jim Cheshire has a review from a few months back of DHTML menus (those
are the ones like the MS site). Some are add-ins, but others are external
products that generate the code you need to add to your site. Visit his
site and check the Reviews section:
www.jimcoaddins.com

While you're figuring out the menu thing, here's a quick solution to:
- get rid of the new window problem
- get rid of the hover buttons
- have links with rollover effects

take a look at this JavaScript (JS) code generator:
http://javascript.internet.com/generators/preload-images.html

With it you can creat your own JS based rollovers so you can maintain that
effect. Because it's JavaScript, whether the visitor has a Java Virtual
Machine installed is a non-issue. Even if they have JS turned off in their
browser (many users disable JS to avoid pop-up windows) they can still see
your links, they just won't get the cool effect. And the great part about
this generator is that you don't have to know JS. You just copy the
generated code into your page and follow the directions.

Hope that all helps!
 
Bill:
Dynamicdrive.com has javscripts for pull down menus, I use
Navbar 3 on my site
www.lannonfire.com

Check the hyperlink properties on the hover buttons and make
sure they are not set for new page. If you are using frames
this may be different.

Mike



: Jack:
:
: Thanks very much indeed for writing.
:
: OK. How do I replace the pesky hover buttons? I would
: really like drop-down menu bars. I can't find it in Help
: or the "Front Page 98 Complete Reference" textbook.
:
: It is not clear to me how to "modify the properties of the
: contact button to stop the behavior". I looked at it; I
: need more specificity.
:
: Regards,
:
: Bill
:
:: -----Original Message-----
:: Bill,
::
:: The short answer is you need to modify the properties of
:: the Contact button to stop the behavior.
::
:: The longer answer is that you should really get rid of
: the Hover Buttons
:: entirely. They are Java based (Not JavaScript based,
:: that's an entirely different thing.) and not every user
:: has a Java Virtual Machine (JVM) installed on their
:: computer. If they don't have a JVM, they get no
:: navigation _at_all_. This means those folks only see
: your homepage and
:: can't navigate around. Same thing with your products
:: and about pages.
::
:: --
:: Jack Brewster - Microsoft FrontPage MVP
::
:: :::
::: In our site, www.hkMetalCraft.com, when a user clicks on
::: the "Contact" button, it opens a whole new browser
::: window.
:::
::: I do not want a whole new window. I want the contacts
::: window to appear inside the same "main" index window,
::: superceding the index window altogether
:::
::: Suggestions would be appreciated.
:::
::: Regards,
:::
::: Bill
:::
::: 973.471.7770 x145
::
::
:: .
 
If you use one of those scripts, make sure you provide an alternate
navigation method like Mike has done. With JavaScript disabled, the entire
menu is gone but the links at the bottom of the page still allow users to
get around the site.

Thanks for the tip on Dynamic Drive, Mike. I always forget about that one
and it's a great site.
 
I added in the bottom navigation after I couldn't view it
with 2003 out-of-box. I have this all templated so in the
future the links will be at the top, so the navigation bar
would be visible with js disabled.

Your welcome on Dynamic Drive

Mike


: If you use one of those scripts, make sure you provide an
: alternate navigation method like Mike has done. With
: JavaScript disabled, the entire menu is gone but the
: links at the bottom of the page still allow users to get
: around the site.
:
: Thanks for the tip on Dynamic Drive, Mike. I always
: forget about that one and it's a great site.
:
:
: :: Bill:
:: Dynamicdrive.com has javscripts for pull down menus, I
:: use
:: Navbar 3 on my site
:: www.lannonfire.com
::
:: Check the hyperlink properties on the hover buttons and
:: make
:: sure they are not set for new page. If you are using
:: frames
:: this may be different.
::
:: Mike
::
::
::
::: Jack:
:::
::: Thanks very much indeed for writing.
:::
::: OK. How do I replace the pesky hover buttons? I would
::: really like drop-down menu bars. I can't find it in
::: Help
::: or the "Front Page 98 Complete Reference" textbook.
:::
::: It is not clear to me how to "modify the properties of
::: the
::: contact button to stop the behavior". I looked at it; I
::: need more specificity.
:::
::: Regards,
:::
::: Bill
:::
:::: -----Original Message-----
:::: Bill,
::::
:::: The short answer is you need to modify the properties
:::: of
:::: the Contact button to stop the behavior.
::::
:::: The longer answer is that you should really get rid of
::: the Hover Buttons
:::: entirely. They are Java based (Not JavaScript based,
:::: that's an entirely different thing.) and not every user
:::: has a Java Virtual Machine (JVM) installed on their
:::: computer. If they don't have a JVM, they get no
:::: navigation _at_all_. This means those folks only see
::: your homepage and
:::: can't navigate around. Same thing with your products
:::: and about pages.
::::
:::: --
:::: Jack Brewster - Microsoft FrontPage MVP
::::
:::: message :::::
::::: In our site, www.hkMetalCraft.com, when a user clicks
::::: on
::::: the "Contact" button, it opens a whole new browser
::::: window.
:::::
::::: I do not want a whole new window. I want the contacts
::::: window to appear inside the same "main" index window,
::::: superceding the index window altogether
:::::
::::: Suggestions would be appreciated.
:::::
::::: Regards,
:::::
::::: Bill
:::::
::::: 973.471.7770 x145
::::
::::
:::: .
 
Hi Mik

I just downloaded dynamic drive for drop down menu's. Look's like a great program. I noticed it doesn't seem to be a plugin with FP 2003. If so, how easy is it to get the menu's inside my FP webpages

Thank
Mel
 
I just resolved the same issue with my FrontPage 2003 by going to Page Properties for the affected page and changing the Default Target Frame to "_Self.
 

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