How do I find my previous posts?

G

Gurlonthesun

I know I have posted here before...is there a way to search for previous
posts without having to post again?
 
J

JT

Due a search. Right below when it says "Discussions in FrontPage General
Questions" is a 'Search For:' box. If you remember the title or some of the
title of you orgional Post you can search for it. If it was resent you can
also scroll down to the proper date and find it.
 
G

Gurlonthesun

I did that. In fact I wrote the EXACT title of this post down and searched
for it and it did not come up. Also, I am looking for a specifc post I did
less then 6 months ago regarding adding a hand cursor to an onclick behavior
for a popup window and I can not find it. I even went so far as to click on
my name from this current post and view my post history and it is not
there!!! Does this site just hate me or something?
 
T

Tom [Pepper] Willett

You'd be much better of not using the clunky web interface, and subscribe to
the newsgroups in a newsreader, such as outlook express.
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
|I did that. In fact I wrote the EXACT title of this post down and searched
| for it and it did not come up. Also, I am looking for a specifc post I did
| less then 6 months ago regarding adding a hand cursor to an onclick
behavior
| for a popup window and I can not find it. I even went so far as to click
on
| my name from this current post and view my post history and it is not
| there!!! Does this site just hate me or something?
|
| "JT" wrote:
|
| > Due a search. Right below when it says "Discussions in FrontPage
General
| > Questions" is a 'Search For:' box. If you remember the title or some of
the
| > title of you orgional Post you can search for it. If it was resent you
can
| > also scroll down to the proper date and find it.
| > --
| > Good Luck!
| > JT
| >
| >
| > "Gurlonthesun" wrote:
| >
| > > I know I have posted here before...is there a way to search for
previous
| > > posts without having to post again?
 
J

John Malone

If you are using Outlook Express try this..

news://msnews.microsoft.com/microsoft.public.frontpage.client

John Malone
=================

FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
(The Post I have)
Weird...that is the code that was put in using the behavior from
FrontPage....why would it be written like that if it wasn't going to work
properly?

Anyway, your solution worked GREAT!!! I have my hand and my little popup
window, so thank you very much!!

You're welcome. The lesson here is - anytime you do NOT get the pointer,
check your code. It means you have applied the event to something that the
browser doesn't expect to have events applied to.
Can you tell me how to put a "Print This Page" link in the window? Or a
little printer icon?

All programatic print functions will fail on IE5/Mac, so here is the best
you can do -

Put this in the head of the document -

<script type="text/javascript">
function print_page(where){
var is_mac=(navigator.platform.indexOf("ac") != -1);
(document.all && is_mac)?
alert("Select \"Print\" from the menu") : where? where.window.print() :
window.print();
}

function writeOutPrintLink(){
document.getElementById('printLink').innerHTML = '<a
href="javascript:print_page();">Print this</a>'

}

</script>

Adjust the body tag of the document as follows -

<body ... onload="writeOutPrintLink();"> (where the ellipsis indicates
already existing attributes, if any)
<span id="printLink"></span>

That way, the link only shows up if you have javascript enabled.
 
J

JT

Hey there Gurlonthesun, I noticed a better answer. You have to have a
profile to post and if you login and select to edit your profile at the
bottom of the edit screen is a list of your posts. Not sure if you are still
checking this post or not, but hope that helps.
 
G

Gurlonthesun

John,

I tried to input this information into the new page I am doing and for the
life of me can not get it to work...This is the code I have so far....I know
it has an error, but I really need to get the little hand working. Can you
help?

"<p align="center">
<b>
<font face="Arial" color="#FFFFFF" <a id="special" href="Directions.htm"
target="_blank" onclick="FP_openNewWindow('400', '400', false, false, false,
false, false, false, 'Directions', /*href*/'directions.htm'); return false">
For Directions to our Office</a></font></b></div>
</font></div>"
 
J

John Malone

See if this works....
If there are no styles on the top of the page.
In the <head> just before the </head> (in code view)

<style type="text/css">
a#special { text-decoration:underline; }
</style>
</head>

Then in the body (where you need the link)

<a id="special" href="Directions.htm" target="_blank"
onclick="FP_openNewWindow('400', '400', false, false, false, false,
false,false, 'Directions', /*href*/'Directions.htm');return false">Click
Here
For Directions To Our Offices</a></font></div>

That should work...
If you are getting an error in preview try saving the page and File |
preview in Browser...

John Malone
=================
| John,
|
| I tried to input this information into the new page I am doing and for the
| life of me can not get it to work...This is the code I have so far....I
know
| it has an error, but I really need to get the little hand working. Can
you
| help?
|
| "<p align="center">
| <b>
| <font face="Arial" color="#FFFFFF" <a id="special" href="Directions.htm"
| target="_blank" onclick="FP_openNewWindow('400', '400', false, false,
false,
| false, false, false, 'Directions', /*href*/'directions.htm'); return
false">
| For Directions to our Office</a></font></b></div>
| </font></div>"
|
| "John Malone" wrote:
|
| > If you are using Outlook Express try this..
| >
| > news://msnews.microsoft.com/microsoft.public.frontpage.client
| >
| > John Malone
| > =================
| >
| > FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
| > (The Post I have)
| >
| > > Weird...that is the code that was put in using the behavior from
| > > FrontPage....why would it be written like that if it wasn't going to
work
| > > properly?
| >
| > Because you had selected the <u> tag when you applied it, and FP did not
| > stop you from doing that (it should have).
| >
| > > Anyway, your solution worked GREAT!!! I have my hand and my little
popup
| > > window, so thank you very much!!
| >
| > You're welcome. The lesson here is - anytime you do NOT get the
pointer,
| > check your code. It means you have applied the event to something that
the
| > browser doesn't expect to have events applied to.
| >
| > > Can you tell me how to put a "Print This Page" link in the window? Or
a
| > > little printer icon?
| >
| > All programatic print functions will fail on IE5/Mac, so here is the
best
| > you can do -
| >
| > Put this in the head of the document -
| >
| > <script type="text/javascript">
| > function print_page(where){
| > var is_mac=(navigator.platform.indexOf("ac") != -1);
| > (document.all && is_mac)?
| > alert("Select \"Print\" from the menu") : where? where.window.print() :
| > window.print();
| > }
| >
| > function writeOutPrintLink(){
| > document.getElementById('printLink').innerHTML = '<a
| > href="javascript:print_page();">Print this</a>'
| >
| > }
| >
| > </script>
| >
| > Adjust the body tag of the document as follows -
| >
| > <body ... onload="writeOutPrintLink();"> (where the ellipsis indicates
| > already existing attributes, if any)
| > <span id="printLink"></span>
| >
| > That way, the link only shows up if you have javascript enabled.
| >
| > --
| > Murray
| > ============
| >
| > | > > Weird...that is the code that was put in using the behavior from
| > > Frontpage....why would it be written like that if it wasn't going to
work
| > > properly?
| > >
| > > Anyway, your solution worked GREAT!!! I have my hand and my little
popup
| > > window, so thank you very much!!
| > >
| > > Can you tell me how to put a "Print This Page" link in the window? Or
a
| > > little printer icon?
| > >
| > > Dawn
| > >
| > > "Murray" wrote:
| > >
| > >> You have applied the event to a <u> tag, which is not going to work
| > >> reliably, not going to validate, and is just unethical! 8)
| > >>
| > >> Change that code to this -
| > >>
| > >> <a id="special" href="Directions.htm" target="_blank"
| > >> onclick="FP_openNewWindow('400', '400', false, false, false, false,
| > >> false,
| > >> false, 'Directions', /*href*/'Directions.htm');return false">Click
Here
| > >> For
| > >> Directions To Our Offices</a></font></div>
| > >>
| > >> and with this CSS -
| > >>
| > >> a#special { text-decoration:underline; }
| > >>
| > >> you will get exactly what you want, in addition to having a link that
| > >> works
| > >> even when javascript is disabled (your originaly invalid construction
| > >> would
| > >> not have).
| > >>
| > >> --
| > >> Murray
| > >> ============
| > >>
message
| > >> | > >> > Sorry for the multiple postings of this question, but when I posted
| > >> > before
| > >> > I
| > >> > forgot to check the Notify me box, and no matter how hard I
searched I
| > >> > could
| > >> > NOT find my original postings....
| > >> > Anyway, this is not for an image. It is for a popup window opened
with
| > >> > onclick behavior. I realize that I can create a hyper link to a
new
| > >> > window
| > >> > and get a "hand" but I don't want/need a full window, and the popup
one
| > >> > works
| > >> > great for my purposes. The only problem is that people need to
know
| > >> > where
| > >> > to
| > >> > click, and unless I specify "Click here for directions" (which I
have
| > >> > now
| > >> > and
| > >> > think looks HORRID) no one is ever going to know to do it. Here is
the
| > >> > code
| > >> > I have for the window....
| > >> >
| > >> > <u onclick="FP_openNewWindow('400', '400', false, false, false,
false,
| > >> > false, false, 'Directions', /*href*/'Directions.htm')">
| > >> > Click Here For Directions To Our Offices</u></font></div>
| > >> >
| > >> > Also, is there a way to add a "Print this page" code to the window
as
| > >> > well?
| > >> > I have a Close Window link on there, but can not figure out how to
do a
| > >> > print
| > >> > one.
| > >> >
| > >> > Dawn
| > >> >
| > >> >
| > >> > "Murray" wrote:
| > >> >
| > >> >> Yes, but if you don't need to use it, then don't use it. And this
| > >> >> poster
| > >> >> doesn't.
| > >> >>
| > >> >> --
| > >> >> Murray
| > >> >> ============
| > >> >>
| > >> >> message
| > >> >> | > >> >> > The correct declaration follows:
| > >> >> >
| > >> >> > // IE
| > >> >> > cursor: hand;
| > >> >> > // others
| > >> >> > cursor: pointer;
| > >> >> >
| > >> >> >
| > >> >> > <%= Clinton Gallagher
| > >> >> > METROmilwaukee (sm) "A Regional Information Service"
| > >> >> > NET csgallagher AT metromilwaukee.com
| > >> >> > URL http://metromilwaukee.com/
| > >> >> > URL http://clintongallagher.metromilwaukee.com/
| > >> >> >
| > >> >> >
| > >> >> >
| > >> >> >
| > >> >> > | > >> >> >> Is the link an image??
| > >> >> >>
| > >> >> >> <style type="text/css">
| > >> >> >> img{
| > >> >> >> cursor: hand;
| > >> >> >> }
| > >> >> >> </style>
| > >> >> >>
| > >> >> >> Will work in IE, questionable in other browsers.
| > >> >> >>
| > >> >> >>
| > >> >> >> --
| > >> >> >> Steve Easton
| > >> >> >> Microsoft MVP FrontPage
| > >> >> >> 95isalive
| > >> >> >> This site is best viewed..................
| > >> >> >> ..............................with a computer
in
| > >> >> >> message
| > >> >> >> | > >> >> >>> How to I change my cursor to a "Hand" for a window link with
| > >> >> >>> onclick
| > >> >> >>> behavior? I need people to know that they can click a certain
| > >> >> >>> spot
| > >> >> >>> for
| > >> >> >>> a
| > >> >> >>> popup window to open, and I don't want to have to write "Click
| > >> >> >>> here
| > >> >> >>> for....."
| > >> >> >>> on my webpage.
| > >> >> >>
| > >> >> >>
| > >> >> >
| > >> >> >
| > >> >>
| > >> >>
| > >> >>
| > >>
| > >>
| > >>
| >
| >
| >
| >
 
G

Gurlonthesun

OK I am having two problems. The first is this:
This is what the script looks like before I put the the style in

</script>
<!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

and I did what you said and put the code below before the </head> but when I
saved it, it moves on its own and becomes this:

</script>

<style type="text/css">
a#special { text-decoration:underline; }
</style>
<!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

</head>

Also, I had almost exactly what you did for the code for the window and
hand, the only difference being I have a </b> between here </a></font> **
Here</div>, and if I take it out all the text on the page gets messed up. I
still have no hand and no underlining. ??? What is the problem?
 
J

John Malone

OK move the style above the script..
That's not a problem...

Can you post a link to the page or upload to a test directory?

John Malone
===============
| OK I am having two problems. The first is this:
| This is what the script looks like before I put the the style in
|
| </script>
| <!--[if gte mso 9]>
| <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| </xml><![endif]-->
| </head>
|
| and I did what you said and put the code below before the </head> but when
I
| saved it, it moves on its own and becomes this:
|
| </script>
|
| <style type="text/css">
| a#special { text-decoration:underline; }
| </style>
| <!--[if gte mso 9]>
| <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| </xml><![endif]-->
| </head>
|
| </head>
|
| Also, I had almost exactly what you did for the code for the window and
| hand, the only difference being I have a </b> between here </a></font> **
| Here</div>, and if I take it out all the text on the page gets messed up.
I
| still have no hand and no underlining. ??? What is the problem?
|
| "John Malone" wrote:
|
| > See if this works....
| > If there are no styles on the top of the page.
| > In the <head> just before the </head> (in code view)
| >
| > <style type="text/css">
| > a#special { text-decoration:underline; }
| > </style>
| > </head>
| >
| > Then in the body (where you need the link)
| >
| > <a id="special" href="Directions.htm" target="_blank"
| > onclick="FP_openNewWindow('400', '400', false, false, false, false,
| > false,false, 'Directions', /*href*/'Directions.htm');return false">Click
| > Here
| > For Directions To Our Offices</a></font></div>
| >
| > That should work...
| > If you are getting an error in preview try saving the page and File |
| > preview in Browser...
| >
| > John Malone
| > =================
| > | > | John,
| > |
| > | I tried to input this information into the new page I am doing and for
the
| > | life of me can not get it to work...This is the code I have so
far....I
| > know
| > | it has an error, but I really need to get the little hand working.
Can
| > you
| > | help?
| > |
| > | "<p align="center">
| > | <b>
| > | <font face="Arial" color="#FFFFFF" <a id="special"
href="Directions.htm"
| > | target="_blank" onclick="FP_openNewWindow('400', '400', false, false,
| > false,
| > | false, false, false, 'Directions', /*href*/'directions.htm'); return
| > false">
| > | For Directions to our Office</a></font></b></div>
| > | </font></div>"
| > |
| > | "John Malone" wrote:
| > |
| > | > If you are using Outlook Express try this..
| > | >
| > | > news://msnews.microsoft.com/microsoft.public.frontpage.client
| > | >
| > | > John Malone
| > | > =================
| > | >
| > | > FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
| > | > (The Post I have)
| > | >
| > | > > Weird...that is the code that was put in using the behavior from
| > | > > FrontPage....why would it be written like that if it wasn't going
to
| > work
| > | > > properly?
| > | >
| > | > Because you had selected the <u> tag when you applied it, and FP did
not
| > | > stop you from doing that (it should have).
| > | >
| > | > > Anyway, your solution worked GREAT!!! I have my hand and my
little
| > popup
| > | > > window, so thank you very much!!
| > | >
| > | > You're welcome. The lesson here is - anytime you do NOT get the
| > pointer,
| > | > check your code. It means you have applied the event to something
that
| > the
| > | > browser doesn't expect to have events applied to.
| > | >
| > | > > Can you tell me how to put a "Print This Page" link in the window?
Or
| > a
| > | > > little printer icon?
| > | >
| > | > All programatic print functions will fail on IE5/Mac, so here is the
| > best
| > | > you can do -
| > | >
| > | > Put this in the head of the document -
| > | >
| > | > <script type="text/javascript">
| > | > function print_page(where){
| > | > var is_mac=(navigator.platform.indexOf("ac") != -1);
| > | > (document.all && is_mac)?
| > | > alert("Select \"Print\" from the menu") : where?
where.window.print() :
| > | > window.print();
| > | > }
| > | >
| > | > function writeOutPrintLink(){
| > | > document.getElementById('printLink').innerHTML = '<a
| > | > href="javascript:print_page();">Print this</a>'
| > | >
| > | > }
| > | >
| > | > </script>
| > | >
| > | > Adjust the body tag of the document as follows -
| > | >
| > | > <body ... onload="writeOutPrintLink();"> (where the ellipsis
indicates
| > | > already existing attributes, if any)
| > | > <span id="printLink"></span>
| > | >
| > | > That way, the link only shows up if you have javascript enabled.
| > | >
| > | > --
| > | > Murray
| > | > ============
| > | >
message
| > | > | > | > > Weird...that is the code that was put in using the behavior from
| > | > > Frontpage....why would it be written like that if it wasn't going
to
| > work
| > | > > properly?
| > | > >
| > | > > Anyway, your solution worked GREAT!!! I have my hand and my
little
| > popup
| > | > > window, so thank you very much!!
| > | > >
| > | > > Can you tell me how to put a "Print This Page" link in the window?
Or
| > a
| > | > > little printer icon?
| > | > >
| > | > > Dawn
| > | > >
| > | > > "Murray" wrote:
| > | > >
| > | > >> You have applied the event to a <u> tag, which is not going to
work
| > | > >> reliably, not going to validate, and is just unethical! 8)
| > | > >>
| > | > >> Change that code to this -
| > | > >>
| > | > >> <a id="special" href="Directions.htm" target="_blank"
| > | > >> onclick="FP_openNewWindow('400', '400', false, false, false,
false,
| > | > >> false,
| > | > >> false, 'Directions', /*href*/'Directions.htm');return
false">Click
| > Here
| > | > >> For
| > | > >> Directions To Our Offices</a></font></div>
| > | > >>
| > | > >> and with this CSS -
| > | > >>
| > | > >> a#special { text-decoration:underline; }
| > | > >>
| > | > >> you will get exactly what you want, in addition to having a link
that
| > | > >> works
| > | > >> even when javascript is disabled (your originaly invalid
construction
| > | > >> would
| > | > >> not have).
| > | > >>
| > | > >> --
| > | > >> Murray
| > | > >> ============
| > | > >>
| > message
| > | > >> | > | > >> > Sorry for the multiple postings of this question, but when I
posted
| > | > >> > before
| > | > >> > I
| > | > >> > forgot to check the Notify me box, and no matter how hard I
| > searched I
| > | > >> > could
| > | > >> > NOT find my original postings....
| > | > >> > Anyway, this is not for an image. It is for a popup window
opened
| > with
| > | > >> > onclick behavior. I realize that I can create a hyper link to
a
| > new
| > | > >> > window
| > | > >> > and get a "hand" but I don't want/need a full window, and the
popup
| > one
| > | > >> > works
| > | > >> > great for my purposes. The only problem is that people need to
| > know
| > | > >> > where
| > | > >> > to
| > | > >> > click, and unless I specify "Click here for directions" (which
I
| > have
| > | > >> > now
| > | > >> > and
| > | > >> > think looks HORRID) no one is ever going to know to do it.
Here is
| > the
| > | > >> > code
| > | > >> > I have for the window....
| > | > >> >
| > | > >> > <u onclick="FP_openNewWindow('400', '400', false, false, false,
| > false,
| > | > >> > false, false, 'Directions', /*href*/'Directions.htm')">
| > | > >> > Click Here For Directions To Our Offices</u></font></div>
| > | > >> >
| > | > >> > Also, is there a way to add a "Print this page" code to the
window
| > as
| > | > >> > well?
| > | > >> > I have a Close Window link on there, but can not figure out how
to
| > do a
| > | > >> > print
| > | > >> > one.
| > | > >> >
| > | > >> > Dawn
| > | > >> >
| > | > >> >
| > | > >> > "Murray" wrote:
| > | > >> >
| > | > >> >> Yes, but if you don't need to use it, then don't use it. And
this
| > | > >> >> poster
| > | > >> >> doesn't.
| > | > >> >>
| > | > >> >> --
| > | > >> >> Murray
| > | > >> >> ============
| > | > >> >>
| > | > >> >> "clintonG" <[email protected]>
wrote in
| > | > >> >> message
| > | > >> >> | > | > >> >> > The correct declaration follows:
| > | > >> >> >
| > | > >> >> > // IE
| > | > >> >> > cursor: hand;
| > | > >> >> > // others
| > | > >> >> > cursor: pointer;
| > | > >> >> >
| > | > >> >> >
| > | > >> >> > <%= Clinton Gallagher
| > | > >> >> > METROmilwaukee (sm) "A Regional Information Service"
| > | > >> >> > NET csgallagher AT metromilwaukee.com
| > | > >> >> > URL http://metromilwaukee.com/
| > | > >> >> > URL http://clintongallagher.metromilwaukee.com/
| > | > >> >> >
| > | > >> >> >
| > | > >> >> >
| > | > >> >> >
| > | > >> >> > | > | > >> >> >> Is the link an image??
| > | > >> >> >>
| > | > >> >> >> <style type="text/css">
| > | > >> >> >> img{
| > | > >> >> >> cursor: hand;
| > | > >> >> >> }
| > | > >> >> >> </style>
| > | > >> >> >>
| > | > >> >> >> Will work in IE, questionable in other browsers.
| > | > >> >> >>
| > | > >> >> >>
| > | > >> >> >> --
| > | > >> >> >> Steve Easton
| > | > >> >> >> Microsoft MVP FrontPage
| > | > >> >> >> 95isalive
| > | > >> >> >> This site is best viewed..................
| > | > >> >> >> ..............................with a computer
| > | > >> >> >> "Gurlonthesun" <[email protected]>
wrote
| > in
| > | > >> >> >> message
| > | > >> >> >> | > | > >> >> >>> How to I change my cursor to a "Hand" for a window link
with
| > | > >> >> >>> onclick
| > | > >> >> >>> behavior? I need people to know that they can click a
certain
| > | > >> >> >>> spot
| > | > >> >> >>> for
| > | > >> >> >>> a
| > | > >> >> >>> popup window to open, and I don't want to have to write
"Click
| > | > >> >> >>> here
| > | > >> >> >>> for....."
| > | > >> >> >>> on my webpage.
| > | > >> >> >>
| > | > >> >> >>
| > | > >> >> >
| > | > >> >> >
| > | > >> >>
| > | > >> >>
| > | > >> >>
| > | > >>
| > | > >>
| > | > >>
| > | >
| > | >
| > | >
| > | >
| >
| >
| >
 
G

Gurlonthesun

http://www.mandmconstructionservices.com/Pages/contactus.htm

That is the link for the page. I put the style above the script, but I
still have no hand for a cursor or an underlined text.

John Malone said:
OK move the style above the script..
That's not a problem...

Can you post a link to the page or upload to a test directory?

John Malone
===============
| OK I am having two problems. The first is this:
| This is what the script looks like before I put the the style in
|
| </script>
| <!--[if gte mso 9]>
| <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| </xml><![endif]-->
| </head>
|
| and I did what you said and put the code below before the </head> but when
I
| saved it, it moves on its own and becomes this:
|
| </script>
|
| <style type="text/css">
| a#special { text-decoration:underline; }
| </style>
| <!--[if gte mso 9]>
| <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| </xml><![endif]-->
| </head>
|
| </head>
|
| Also, I had almost exactly what you did for the code for the window and
| hand, the only difference being I have a </b> between here </a></font> **
| Here</div>, and if I take it out all the text on the page gets messed up.
I
| still have no hand and no underlining. ??? What is the problem?
|
| "John Malone" wrote:
|
| > See if this works....
| > If there are no styles on the top of the page.
| > In the <head> just before the </head> (in code view)
| >
| > <style type="text/css">
| > a#special { text-decoration:underline; }
| > </style>
| > </head>
| >
| > Then in the body (where you need the link)
| >
| > <a id="special" href="Directions.htm" target="_blank"
| > onclick="FP_openNewWindow('400', '400', false, false, false, false,
| > false,false, 'Directions', /*href*/'Directions.htm');return false">Click
| > Here
| > For Directions To Our Offices</a></font></div>
| >
| > That should work...
| > If you are getting an error in preview try saving the page and File |
| > preview in Browser...
| >
| > John Malone
| > =================
| > | > | John,
| > |
| > | I tried to input this information into the new page I am doing and for
the
| > | life of me can not get it to work...This is the code I have so
far....I
| > know
| > | it has an error, but I really need to get the little hand working.
Can
| > you
| > | help?
| > |
| > | "<p align="center">
| > | <b>
| > | <font face="Arial" color="#FFFFFF" <a id="special"
href="Directions.htm"
| > | target="_blank" onclick="FP_openNewWindow('400', '400', false, false,
| > false,
| > | false, false, false, 'Directions', /*href*/'directions.htm'); return
| > false">
| > | For Directions to our Office</a></font></b></div>
| > | </font></div>"
| > |
| > | "John Malone" wrote:
| > |
| > | > If you are using Outlook Express try this..
| > | >
| > | > news://msnews.microsoft.com/microsoft.public.frontpage.client
| > | >
| > | > John Malone
| > | > =================
| > | >
| > | > FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
| > | > (The Post I have)
| > | >
| > | > > Weird...that is the code that was put in using the behavior from
| > | > > FrontPage....why would it be written like that if it wasn't going
to
| > work
| > | > > properly?
| > | >
| > | > Because you had selected the <u> tag when you applied it, and FP did
not
| > | > stop you from doing that (it should have).
| > | >
| > | > > Anyway, your solution worked GREAT!!! I have my hand and my
little
| > popup
| > | > > window, so thank you very much!!
| > | >
| > | > You're welcome. The lesson here is - anytime you do NOT get the
| > pointer,
| > | > check your code. It means you have applied the event to something
that
| > the
| > | > browser doesn't expect to have events applied to.
| > | >
| > | > > Can you tell me how to put a "Print This Page" link in the window?
Or
| > a
| > | > > little printer icon?
| > | >
| > | > All programatic print functions will fail on IE5/Mac, so here is the
| > best
| > | > you can do -
| > | >
| > | > Put this in the head of the document -
| > | >
| > | > <script type="text/javascript">
| > | > function print_page(where){
| > | > var is_mac=(navigator.platform.indexOf("ac") != -1);
| > | > (document.all && is_mac)?
| > | > alert("Select \"Print\" from the menu") : where?
where.window.print() :
| > | > window.print();
| > | > }
| > | >
| > | > function writeOutPrintLink(){
| > | > document.getElementById('printLink').innerHTML = '<a
| > | > href="javascript:print_page();">Print this</a>'
| > | >
| > | > }
| > | >
| > | > </script>
| > | >
| > | > Adjust the body tag of the document as follows -
| > | >
| > | > <body ... onload="writeOutPrintLink();"> (where the ellipsis
indicates
| > | > already existing attributes, if any)
| > | > <span id="printLink"></span>
| > | >
| > | > That way, the link only shows up if you have javascript enabled.
| > | >
| > | > --
| > | > Murray
| > | > ============
| > | >
message
| > | > | > | > > Weird...that is the code that was put in using the behavior from
| > | > > Frontpage....why would it be written like that if it wasn't going
to
| > work
| > | > > properly?
| > | > >
| > | > > Anyway, your solution worked GREAT!!! I have my hand and my
little
| > popup
| > | > > window, so thank you very much!!
| > | > >
| > | > > Can you tell me how to put a "Print This Page" link in the window?
Or
| > a
| > | > > little printer icon?
| > | > >
| > | > > Dawn
| > | > >
| > | > > "Murray" wrote:
| > | > >
| > | > >> You have applied the event to a <u> tag, which is not going to
work
| > | > >> reliably, not going to validate, and is just unethical! 8)
| > | > >>
| > | > >> Change that code to this -
| > | > >>
| > | > >> <a id="special" href="Directions.htm" target="_blank"
| > | > >> onclick="FP_openNewWindow('400', '400', false, false, false,
false,
| > | > >> false,
| > | > >> false, 'Directions', /*href*/'Directions.htm');return
false">Click
| > Here
| > | > >> For
| > | > >> Directions To Our Offices</a></font></div>
| > | > >>
| > | > >> and with this CSS -
| > | > >>
| > | > >> a#special { text-decoration:underline; }
| > | > >>
| > | > >> you will get exactly what you want, in addition to having a link
that
| > | > >> works
| > | > >> even when javascript is disabled (your originaly invalid
construction
| > | > >> would
| > | > >> not have).
| > | > >>
| > | > >> --
| > | > >> Murray
| > | > >> ============
| > | > >>
| > message
| > | > >> | > | > >> > Sorry for the multiple postings of this question, but when I
posted
| > | > >> > before
| > | > >> > I
| > | > >> > forgot to check the Notify me box, and no matter how hard I
| > searched I
| > | > >> > could
| > | > >> > NOT find my original postings....
| > | > >> > Anyway, this is not for an image. It is for a popup window
opened
| > with
| > | > >> > onclick behavior. I realize that I can create a hyper link to
a
| > new
| > | > >> > window
| > | > >> > and get a "hand" but I don't want/need a full window, and the
popup
| > one
| > | > >> > works
| > | > >> > great for my purposes. The only problem is that people need to
| > know
| > | > >> > where
| > | > >> > to
| > | > >> > click, and unless I specify "Click here for directions" (which
I
| > have
| > | > >> > now
| > | > >> > and
| > | > >> > think looks HORRID) no one is ever going to know to do it.
Here is
| > the
| > | > >> > code
| > | > >> > I have for the window....
| > | > >> >
| > | > >> > <u onclick="FP_openNewWindow('400', '400', false, false, false,
| > false,
| > | > >> > false, false, 'Directions', /*href*/'Directions.htm')">
| > | > >> > Click Here For Directions To Our Offices</u></font></div>
| > | > >> >
| > | > >> > Also, is there a way to add a "Print this page" code to the
window
| > as
| > | > >> > well?
| > | > >> > I have a Close Window link on there, but can not figure out how
to
| > do a
| > | > >> > print
| > | > >> > one.
| > | > >> >
| > | > >> > Dawn
| > | > >> >
| > | > >> >
| > | > >> > "Murray" wrote:
| > | > >> >
| > | > >> >> Yes, but if you don't need to use it, then don't use it. And
this
| > | > >> >> poster
| > | > >> >> doesn't.
| > | > >> >>
| > | > >> >> --
| > | > >> >> Murray
| > | > >> >> ============
| > | > >> >>
| > | > >> >> "clintonG" <[email protected]>
wrote in
| > | > >> >> message
| > | > >> >> | > | > >> >> > The correct declaration follows:
| > | > >> >> >
| > | > >> >> > // IE
| > | > >> >> > cursor: hand;
| > | > >> >> > // others
| > | > >> >> > cursor: pointer;
| > | > >> >> >
| > | > >> >> >
| > | > >> >> > <%= Clinton Gallagher
| > | > >> >> > METROmilwaukee (sm) "A Regional Information Service"
 
J

John Malone

Try This simple page (copy paste into new page code view)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Demo 8</title>
<style type="text/css">
a#special { text-decoration:underline; }
</style>
<script language="JavaScript">
<!--
function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url)
{//v1.0
var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,';
else
windowProperties+='toolbar=yes,'; if(loc==false)
windowProperties+='location=no,';
else windowProperties+='location=yes,'; if(sts==false)
windowProperties+='status=no,';
else windowProperties+='status=yes,'; if(menu==false)
windowProperties+='menubar=no,';
else windowProperties+='menubar=yes,'; if(scroll==false)
windowProperties+='scrollbars=no,';
else windowProperties+='scrollbars=yes,'; if(resize==false)
windowProperties+='resizable=no,';
else windowProperties+='resizable=yes,'; if(w!="")
windowProperties+='width='+w+',';
if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
if( windowProperties.charAt(windowProperties.length-1)==',')
windowProperties=windowProperties.substring(0,windowProperties.length-1);
}
window.open(url,name,windowProperties);
}
// -->
</script>
</head>
<body>
<p>
<a id="special" href="javascript:;" onclick="FP_openNewWindow('400', '400',
false, false, false, false, true, false, '',
/*href*/'Directions.htm')">Click Here for directions</a>
</p>
</body>
</html>

That should give you the link to the directions page and have the "Hand
cursor"

John Malone
==================
| http://www.mandmconstructionservices.com/Pages/contactus.htm
|
| That is the link for the page. I put the style above the script, but I
| still have no hand for a cursor or an underlined text.
|
| "John Malone" wrote:
|
| > OK move the style above the script..
| > That's not a problem...
| >
| > Can you post a link to the page or upload to a test directory?
| >
| > John Malone
| > ===============
| > | > | OK I am having two problems. The first is this:
| > | This is what the script looks like before I put the the style in
| > |
| > | </script>
| > | <!--[if gte mso 9]>
| > | <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| > | </xml><![endif]-->
| > | </head>
| > |
| > | and I did what you said and put the code below before the </head> but
when
| > I
| > | saved it, it moves on its own and becomes this:
| > |
| > | </script>
| > |
| > | <style type="text/css">
| > | a#special { text-decoration:underline; }
| > | </style>
| > | <!--[if gte mso 9]>
| > | <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| > | </xml><![endif]-->
| > | </head>
| > |
| > | </head>
| > |
| > | Also, I had almost exactly what you did for the code for the window
and
| > | hand, the only difference being I have a </b> between here </a></font>
**
| > | Here</div>, and if I take it out all the text on the page gets messed
up.
| > I
| > | still have no hand and no underlining. ??? What is the problem?
| > |
| > | "John Malone" wrote:
| > |
| > | > See if this works....
| > | > If there are no styles on the top of the page.
| > | > In the <head> just before the </head> (in code view)
| > | >
| > | > <style type="text/css">
| > | > a#special { text-decoration:underline; }
| > | > </style>
| > | > </head>
| > | >
| > | > Then in the body (where you need the link)
| > | >
| > | > <a id="special" href="Directions.htm" target="_blank"
| > | > onclick="FP_openNewWindow('400', '400', false, false, false, false,
| > | > false,false, 'Directions', /*href*/'Directions.htm');return
false">Click
| > | > Here
| > | > For Directions To Our Offices</a></font></div>
| > | >
| > | > That should work...
| > | > If you are getting an error in preview try saving the page and File
|
| > | > preview in Browser...
| > | >
| > | > John Malone
| > | > =================
message
| > | > | > | > | John,
| > | > |
| > | > | I tried to input this information into the new page I am doing and
for
| > the
| > | > | life of me can not get it to work...This is the code I have so
| > far....I
| > | > know
| > | > | it has an error, but I really need to get the little hand working.
| > Can
| > | > you
| > | > | help?
| > | > |
| > | > | "<p align="center">
| > | > | <b>
| > | > | <font face="Arial" color="#FFFFFF" <a id="special"
| > href="Directions.htm"
| > | > | target="_blank" onclick="FP_openNewWindow('400', '400', false,
false,
| > | > false,
| > | > | false, false, false, 'Directions', /*href*/'directions.htm');
return
| > | > false">
| > | > | For Directions to our Office</a></font></b></div>
| > | > | </font></div>"
| > | > |
| > | > | "John Malone" wrote:
| > | > |
| > | > | > If you are using Outlook Express try this..
| > | > | >
| > | > | > news://msnews.microsoft.com/microsoft.public.frontpage.client
| > | > | >
| > | > | > John Malone
| > | > | > =================
| > | > | >
| > | > | > FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
| > | > | > (The Post I have)
| > | > | >
| > | > | > > Weird...that is the code that was put in using the behavior
from
| > | > | > > FrontPage....why would it be written like that if it wasn't
going
| > to
| > | > work
| > | > | > > properly?
| > | > | >
| > | > | > Because you had selected the <u> tag when you applied it, and FP
did
| > not
| > | > | > stop you from doing that (it should have).
| > | > | >
| > | > | > > Anyway, your solution worked GREAT!!! I have my hand and my
| > little
| > | > popup
| > | > | > > window, so thank you very much!!
| > | > | >
| > | > | > You're welcome. The lesson here is - anytime you do NOT get the
| > | > pointer,
| > | > | > check your code. It means you have applied the event to
something
| > that
| > | > the
| > | > | > browser doesn't expect to have events applied to.
| > | > | >
| > | > | > > Can you tell me how to put a "Print This Page" link in the
window?
| > Or
| > | > a
| > | > | > > little printer icon?
| > | > | >
| > | > | > All programatic print functions will fail on IE5/Mac, so here is
the
| > | > best
| > | > | > you can do -
| > | > | >
| > | > | > Put this in the head of the document -
| > | > | >
| > | > | > <script type="text/javascript">
| > | > | > function print_page(where){
| > | > | > var is_mac=(navigator.platform.indexOf("ac") != -1);
| > | > | > (document.all && is_mac)?
| > | > | > alert("Select \"Print\" from the menu") : where?
| > where.window.print() :
| > | > | > window.print();
| > | > | > }
| > | > | >
| > | > | > function writeOutPrintLink(){
| > | > | > document.getElementById('printLink').innerHTML = '<a
| > | > | > href="javascript:print_page();">Print this</a>'
| > | > | >
| > | > | > }
| > | > | >
| > | > | > </script>
| > | > | >
| > | > | > Adjust the body tag of the document as follows -
| > | > | >
| > | > | > <body ... onload="writeOutPrintLink();"> (where the ellipsis
| > indicates
| > | > | > already existing attributes, if any)
| > | > | > <span id="printLink"></span>
| > | > | >
| > | > | > That way, the link only shows up if you have javascript enabled.
| > | > | >
| > | > | > --
| > | > | > Murray
| > | > | > ============
| > | > | >
| > message
| > | > | > | > | > | > > Weird...that is the code that was put in using the behavior
from
| > | > | > > Frontpage....why would it be written like that if it wasn't
going
| > to
| > | > work
| > | > | > > properly?
| > | > | > >
| > | > | > > Anyway, your solution worked GREAT!!! I have my hand and my
| > little
| > | > popup
| > | > | > > window, so thank you very much!!
| > | > | > >
| > | > | > > Can you tell me how to put a "Print This Page" link in the
window?
| > Or
| > | > a
| > | > | > > little printer icon?
| > | > | > >
| > | > | > > Dawn
| > | > | > >
| > | > | > > "Murray" wrote:
| > | > | > >
| > | > | > >> You have applied the event to a <u> tag, which is not going
to
| > work
| > | > | > >> reliably, not going to validate, and is just unethical! 8)
| > | > | > >>
| > | > | > >> Change that code to this -
| > | > | > >>
| > | > | > >> <a id="special" href="Directions.htm" target="_blank"
| > | > | > >> onclick="FP_openNewWindow('400', '400', false, false, false,
| > false,
| > | > | > >> false,
| > | > | > >> false, 'Directions', /*href*/'Directions.htm');return
| > false">Click
| > | > Here
| > | > | > >> For
| > | > | > >> Directions To Our Offices</a></font></div>
| > | > | > >>
| > | > | > >> and with this CSS -
| > | > | > >>
| > | > | > >> a#special { text-decoration:underline; }
| > | > | > >>
| > | > | > >> you will get exactly what you want, in addition to having a
link
| > that
| > | > | > >> works
| > | > | > >> even when javascript is disabled (your originaly invalid
| > construction
| > | > | > >> would
| > | > | > >> not have).
| > | > | > >>
| > | > | > >> --
| > | > | > >> Murray
| > | > | > >> ============
| > | > | > >>
in
| > | > message
| > | > | > >> | > | > | > >> > Sorry for the multiple postings of this question, but when
I
| > posted
| > | > | > >> > before
| > | > | > >> > I
| > | > | > >> > forgot to check the Notify me box, and no matter how hard I
| > | > searched I
| > | > | > >> > could
| > | > | > >> > NOT find my original postings....
| > | > | > >> > Anyway, this is not for an image. It is for a popup window
| > opened
| > | > with
| > | > | > >> > onclick behavior. I realize that I can create a hyper link
to
| > a
| > | > new
| > | > | > >> > window
| > | > | > >> > and get a "hand" but I don't want/need a full window, and
the
| > popup
| > | > one
| > | > | > >> > works
| > | > | > >> > great for my purposes. The only problem is that people
need to
| > | > know
| > | > | > >> > where
| > | > | > >> > to
| > | > | > >> > click, and unless I specify "Click here for directions"
(which
| > I
| > | > have
| > | > | > >> > now
| > | > | > >> > and
| > | > | > >> > think looks HORRID) no one is ever going to know to do it.
| > Here is
| > | > the
| > | > | > >> > code
| > | > | > >> > I have for the window....
| > | > | > >> >
| > | > | > >> > <u onclick="FP_openNewWindow('400', '400', false, false,
false,
| > | > false,
| > | > | > >> > false, false, 'Directions', /*href*/'Directions.htm')">
| > | > | > >> > Click Here For Directions To Our Offices</u></font></div>
| > | > | > >> >
| > | > | > >> > Also, is there a way to add a "Print this page" code to the
| > window
| > | > as
| > | > | > >> > well?
| > | > | > >> > I have a Close Window link on there, but can not figure out
how
| > to
| > | > do a
| > | > | > >> > print
| > | > | > >> > one.
| > | > | > >> >
| > | > | > >> > Dawn
| > | > | > >> >
| > | > | > >> >
| > | > | > >> > "Murray" wrote:
| > | > | > >> >
| > | > | > >> >> Yes, but if you don't need to use it, then don't use it.
And
| > this
| > | > | > >> >> poster
| > | > | > >> >> doesn't.
| > | > | > >> >>
| > | > | > >> >> --
| > | > | > >> >> Murray
| > | > | > >> >> ============
| > | > | > >> >>
| > | > | > >> >> "clintonG" <[email protected]>
| > wrote in
| > | > | > >> >> message
| > | > | > >> >> | > | > | > >> >> > The correct declaration follows:
| > | > | > >> >> >
| > | > | > >> >> > // IE
| > | > | > >> >> > cursor: hand;
| > | > | > >> >> > // others
| > | > | > >> >> > cursor: pointer;
| > | > | > >> >> >
| > | > | > >> >> >
| > | > | > >> >> > <%= Clinton Gallagher
| > | > | > >> >> > METROmilwaukee (sm) "A Regional Information
Service"
 
J

John Malone

I changed the code to a "Null Link" using href= "javascript:;"
<a id="special" href="javascript:;" onclick="FP_openNewWindow('400', '400',
false, false, false, false, true, false, '',
/*href*/'Directions.htm')">Click Here for directions</a>

Look at the head part on mine you will see the..
<script language="JavaScript">
<!--
before the FP code
and the
</script> is below the style block

Another thing I noted was (2) Two closing </head> tags on the page.

HTH

John Malone
============
| Try This simple page (copy paste into new page code view)
|
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
| "http://www.w3.org/TR/html4/loose.dtd">
| <html>
|
| <head>
| <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
| <meta name="ProgId" content="FrontPage.Editor.Document">
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <title>Demo 8</title>
| <style type="text/css">
| a#special { text-decoration:underline; }
| </style>
| <script language="JavaScript">
| <!--
| function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url)
| {//v1.0
| var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,';
| else
| windowProperties+='toolbar=yes,'; if(loc==false)
| windowProperties+='location=no,';
| else windowProperties+='location=yes,'; if(sts==false)
| windowProperties+='status=no,';
| else windowProperties+='status=yes,'; if(menu==false)
| windowProperties+='menubar=no,';
| else windowProperties+='menubar=yes,'; if(scroll==false)
| windowProperties+='scrollbars=no,';
| else windowProperties+='scrollbars=yes,'; if(resize==false)
| windowProperties+='resizable=no,';
| else windowProperties+='resizable=yes,'; if(w!="")
| windowProperties+='width='+w+',';
| if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
| if( windowProperties.charAt(windowProperties.length-1)==',')
|
windowProperties=windowProperties.substring(0,windowProperties.length-1);
| }
| window.open(url,name,windowProperties);
| }
| // -->
| </script>
| </head>
| <body>
| <p>
| <a id="special" href="javascript:;" onclick="FP_openNewWindow('400',
'400',
| false, false, false, false, true, false, '',
| /*href*/'Directions.htm')">Click Here for directions</a>
| </p>
| </body>
| </html>
|
| That should give you the link to the directions page and have the "Hand
| cursor"
|
| John Malone
| ==================
| || http://www.mandmconstructionservices.com/Pages/contactus.htm
||
|| That is the link for the page. I put the style above the script, but I
|| still have no hand for a cursor or an underlined text.
||
|| "John Malone" wrote:
||
|| > OK move the style above the script..
|| > That's not a problem...
|| >
|| > Can you post a link to the page or upload to a test directory?
|| >
|| > John Malone
|| > ===============
message
|| > || > | OK I am having two problems. The first is this:
|| > | This is what the script looks like before I put the the style in
|| > |
|| > | </script>
|| > | <!--[if gte mso 9]>
|| > | <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
|| > | </xml><![endif]-->
|| > | </head>
|| > |
|| > | and I did what you said and put the code below before the </head> but
| when
|| > I
|| > | saved it, it moves on its own and becomes this:
|| > |
|| > | </script>
|| > |
|| > | <style type="text/css">
|| > | a#special { text-decoration:underline; }
|| > | </style>
|| > | <!--[if gte mso 9]>
|| > | <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
|| > | </xml><![endif]-->
|| > | </head>
|| > |
|| > | </head>
|| > |
|| > | Also, I had almost exactly what you did for the code for the window
| and
|| > | hand, the only difference being I have a </b> between here
</a></font>
| **
|| > | Here</div>, and if I take it out all the text on the page gets messed
| up.
|| > I
|| > | still have no hand and no underlining. ??? What is the problem?
|| > |
|| > | "John Malone" wrote:
|| > |
|| > | > See if this works....
|| > | > If there are no styles on the top of the page.
|| > | > In the <head> just before the </head> (in code view)
|| > | >
|| > | > <style type="text/css">
|| > | > a#special { text-decoration:underline; }
|| > | > </style>
|| > | > </head>
|| > | >
|| > | > Then in the body (where you need the link)
|| > | >
|| > | > <a id="special" href="Directions.htm" target="_blank"
|| > | > onclick="FP_openNewWindow('400', '400', false, false, false, false,
|| > | > false,false, 'Directions', /*href*/'Directions.htm');return
| false">Click
|| > | > Here
|| > | > For Directions To Our Offices</a></font></div>
|| > | >
|| > | > That should work...
|| > | > If you are getting an error in preview try saving the page and File
||
|| > | > preview in Browser...
|| > | >
|| > | > John Malone
|| > | > =================
| message
|| > | > || > | > | John,
|| > | > |
|| > | > | I tried to input this information into the new page I am doing
and
| for
|| > the
|| > | > | life of me can not get it to work...This is the code I have so
|| > far....I
|| > | > know
|| > | > | it has an error, but I really need to get the little hand
working.
|| > Can
|| > | > you
|| > | > | help?
|| > | > |
|| > | > | "<p align="center">
|| > | > | <b>
|| > | > | <font face="Arial" color="#FFFFFF" <a id="special"
|| > href="Directions.htm"
|| > | > | target="_blank" onclick="FP_openNewWindow('400', '400', false,
| false,
|| > | > false,
|| > | > | false, false, false, 'Directions', /*href*/'directions.htm');
| return
|| > | > false">
|| > | > | For Directions to our Office</a></font></b></div>
|| > | > | </font></div>"
|| > | > |
|| > | > | "John Malone" wrote:
|| > | > |
|| > | > | > If you are using Outlook Express try this..
|| > | > | >
|| > | > | > news://msnews.microsoft.com/microsoft.public.frontpage.client
|| > | > | >
|| > | > | > John Malone
|| > | > | > =================
|| > | > | >
|| > | > | > FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
|| > | > | > (The Post I have)
|| > | > | >
|| > | > | > > Weird...that is the code that was put in using the behavior
| from
|| > | > | > > FrontPage....why would it be written like that if it wasn't
| going
|| > to
|| > | > work
|| > | > | > > properly?
|| > | > | >
|| > | > | > Because you had selected the <u> tag when you applied it, and
FP
| did
|| > not
|| > | > | > stop you from doing that (it should have).
|| > | > | >
|| > | > | > > Anyway, your solution worked GREAT!!! I have my hand and my
|| > little
|| > | > popup
|| > | > | > > window, so thank you very much!!
|| > | > | >
|| > | > | > You're welcome. The lesson here is - anytime you do NOT get
the
|| > | > pointer,
|| > | > | > check your code. It means you have applied the event to
| something
|| > that
|| > | > the
|| > | > | > browser doesn't expect to have events applied to.
|| > | > | >
|| > | > | > > Can you tell me how to put a "Print This Page" link in the
| window?
|| > Or
|| > | > a
|| > | > | > > little printer icon?
|| > | > | >
|| > | > | > All programatic print functions will fail on IE5/Mac, so here
is
| the
|| > | > best
|| > | > | > you can do -
|| > | > | >
|| > | > | > Put this in the head of the document -
|| > | > | >
|| > | > | > <script type="text/javascript">
|| > | > | > function print_page(where){
|| > | > | > var is_mac=(navigator.platform.indexOf("ac") != -1);
|| > | > | > (document.all && is_mac)?
|| > | > | > alert("Select \"Print\" from the menu") : where?
|| > where.window.print() :
|| > | > | > window.print();
|| > | > | > }
|| > | > | >
|| > | > | > function writeOutPrintLink(){
|| > | > | > document.getElementById('printLink').innerHTML = '<a
|| > | > | > href="javascript:print_page();">Print this</a>'
|| > | > | >
|| > | > | > }
|| > | > | >
|| > | > | > </script>
|| > | > | >
|| > | > | > Adjust the body tag of the document as follows -
|| > | > | >
|| > | > | > <body ... onload="writeOutPrintLink();"> (where the ellipsis
|| > indicates
|| > | > | > already existing attributes, if any)
|| > | > | > <span id="printLink"></span>
|| > | > | >
|| > | > | > That way, the link only shows up if you have javascript
enabled.
|| > | > | >
|| > | > | > --
|| > | > | > Murray
|| > | > | > ============
|| > | > | >
in
|| > message
|| > | > | > || > | > | > > Weird...that is the code that was put in using the behavior
| from
|| > | > | > > Frontpage....why would it be written like that if it wasn't
| going
|| > to
|| > | > work
|| > | > | > > properly?
|| > | > | > >
|| > | > | > > Anyway, your solution worked GREAT!!! I have my hand and my
|| > little
|| > | > popup
|| > | > | > > window, so thank you very much!!
|| > | > | > >
|| > | > | > > Can you tell me how to put a "Print This Page" link in the
| window?
|| > Or
|| > | > a
|| > | > | > > little printer icon?
|| > | > | > >
|| > | > | > > Dawn
|| > | > | > >
|| > | > | > > "Murray" wrote:
|| > | > | > >
|| > | > | > >> You have applied the event to a <u> tag, which is not going
| to
|| > work
|| > | > | > >> reliably, not going to validate, and is just unethical! 8)
|| > | > | > >>
|| > | > | > >> Change that code to this -
|| > | > | > >>
|| > | > | > >> <a id="special" href="Directions.htm" target="_blank"
|| > | > | > >> onclick="FP_openNewWindow('400', '400', false, false, false,
|| > false,
|| > | > | > >> false,
|| > | > | > >> false, 'Directions', /*href*/'Directions.htm');return
|| > false">Click
|| > | > Here
|| > | > | > >> For
|| > | > | > >> Directions To Our Offices</a></font></div>
|| > | > | > >>
|| > | > | > >> and with this CSS -
|| > | > | > >>
|| > | > | > >> a#special { text-decoration:underline; }
|| > | > | > >>
|| > | > | > >> you will get exactly what you want, in addition to having a
| link
|| > that
|| > | > | > >> works
|| > | > | > >> even when javascript is disabled (your originaly invalid
|| > construction
|| > | > | > >> would
|| > | > | > >> not have).
|| > | > | > >>
|| > | > | > >> --
|| > | > | > >> Murray
|| > | > | > >> ============
|| > | > | > >>
|| > | > | > >> "Gurlonthesun" <[email protected]>
wrote
| in
|| > | > message
|| > | > | > >> || > | > | > >> > Sorry for the multiple postings of this question, but when
| I
|| > posted
|| > | > | > >> > before
|| > | > | > >> > I
|| > | > | > >> > forgot to check the Notify me box, and no matter how hard
I
|| > | > searched I
|| > | > | > >> > could
|| > | > | > >> > NOT find my original postings....
|| > | > | > >> > Anyway, this is not for an image. It is for a popup
window
|| > opened
|| > | > with
|| > | > | > >> > onclick behavior. I realize that I can create a hyper
link
| to
|| > a
|| > | > new
|| > | > | > >> > window
|| > | > | > >> > and get a "hand" but I don't want/need a full window, and
| the
|| > popup
|| > | > one
|| > | > | > >> > works
|| > | > | > >> > great for my purposes. The only problem is that people
| need to
|| > | > know
|| > | > | > >> > where
|| > | > | > >> > to
|| > | > | > >> > click, and unless I specify "Click here for directions"
| (which
|| > I
|| > | > have
|| > | > | > >> > now
|| > | > | > >> > and
|| > | > | > >> > think looks HORRID) no one is ever going to know to do it.
|| > Here is
|| > | > the
|| > | > | > >> > code
|| > | > | > >> > I have for the window....
|| > | > | > >> >
|| > | > | > >> > <u onclick="FP_openNewWindow('400', '400', false, false,
| false,
|| > | > false,
|| > | > | > >> > false, false, 'Directions', /*href*/'Directions.htm')">
|| > | > | > >> > Click Here For Directions To Our Offices</u></font></div>
|| > | > | > >> >
|| > | > | > >> > Also, is there a way to add a "Print this page" code to
the
|| > window
|| > | > as
|| > | > | > >> > well?
|| > | > | > >> > I have a Close Window link on there, but can not figure
out
| how
|| > to
|| > | > do a
|| > | > | > >> > print
|| > | > | > >> > one.
|| > | > | > >> >
|| > | > | > >> > Dawn
|| > | > | > >> >
|| > | > | > >> >
|| > | > | > >> > "Murray" wrote:
|| > | > | > >> >
|| > | > | > >> >> Yes, but if you don't need to use it, then don't use it.
| And
|| > this
|| > | > | > >> >> poster
|| > | > | > >> >> doesn't.
|| > | > | > >> >>
|| > | > | > >> >> --
|| > | > | > >> >> Murray
|| > | > | > >> >> ============
|| > | > | > >> >>
|| > | > | > >> >> "clintonG" <[email protected]>
|| > wrote in
|| > | > | > >> >> message
|| > | > | > >> >> || > | > | > >> >> > The correct declaration follows:
|| > | > | > >> >> >
|| > | > | > >> >> > // IE
|| > | > | > >> >> > cursor: hand;
|| > | > | > >> >> > // others
|| > | > | > >> >> > cursor: pointer;
|| > | > | > >> >> >
|| > | > | > >> >> >
|| > | > | > >> >> > <%= Clinton Gallagher
|| > | > | > >> >> > METROmilwaukee (sm) "A Regional Information
| Service"
|
|
 
G

Gurlonthesun

OK I did that and it totally screwed up the whole page. I had a bunch of
weird shit happen. I fixed it all, and am pretty much back to square one.
The only difference is that the For Directions To Our Office is underlined,
so I guess that is progress. I still can't get the hand though. What is it
that I am doing wrong? Here is the code for the page....I know its a lot, but
maybe it will help.

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
..shape { behavior: url(#default#VML) }
</style>
<![endif]-->
<link rel="File-List" href="contactus_files/filelist.xml">
<script language="JavaScript">
<!--
function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0
var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else
windowProperties+='toolbar=yes,'; if(loc==false)
windowProperties+='location=no,';
else windowProperties+='location=yes,'; if(sts==false)
windowProperties+='status=no,';
else windowProperties+='status=yes,'; if(menu==false)
windowProperties+='menubar=no,';
else windowProperties+='menubar=yes,'; if(scroll==false)
windowProperties+='scrollbars=no,';
else windowProperties+='scrollbars=yes,'; if(resize==false)
windowProperties+='resizable=no,';
else windowProperties+='resizable=yes,'; if(w!="")
windowProperties+='width='+w+',';
if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
if( windowProperties.charAt(windowProperties.length-1)==',')
windowProperties=windowProperties.substring(0,windowProperties.length-1);
}
window.open(url,name,windowProperties);
}
// -->
</script>
<style type="text/css">
a#special { text-decoration:underline; }
</style>
<!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

<body link="#FFFFFF" vlink="#FFFFFF" alink="#003469" text="#FFFFFF"
bgcolor="#34699E">

<div style="position: absolute; width: 260px; height: 110px; z-index: 1;
left: 68px; top: 33px" id="layer1">
<img border="0" src="../images/Logo3.jpg" width="279" height="91"></div>
<p> </p>
<div style="position: absolute; width: 147px; height: 99px; z-index: 3;
left: 510px; top: 31px" id="layer3">
<img border="0" src="../Saved%20Photos%20Here/PorcheWeb.jpg" width="149"
height="98"></div>
<div style="position: absolute; width: 151px; height: 100px; z-index: 4;
left: 685px; top: 30px" id="layer4">
<img border="0" src="../Saved%20Photos%20Here/SpinStreetExterior.jpg"
width="151" height="98"></div>
<div style="position: absolute; width: 100px; height: 78px; z-index: 2;
left: 347px; top: 31px" id="layer2">
<img border="0" src="../Saved%20Photos%20Here/Meza%201Web.JPG" width="138"
height="97"></div>
<p> </p>
<p> </p>
<p> </p>
<div style="position: absolute; width: 225px; height: 18px; z-index: 5;
left: 232px; top: 145px" id="layer5">
<font face="Arial" size="2" color="#FFFFFF">General Construction -
Design/Build</font></div>
<div style="position: absolute; width: 203px; height: 18px; z-index: 6;
left: 587px; top: 147px" id="layer6">
<font face="Arial" size="2" color="#FFFFFF">Restaurants - Automotive -
Retail</font></div>
<p><!--[if gte vml 1]><v:line id="_x0000_s1025"
alt="" style='position:absolute;left:0;text-align:left;top:0;z-index:1;
mso-wrap-style:square;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;
mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;
mso-position-horizontal-relative:text;mso-position-vertical:absolute;
mso-position-vertical-relative:text;v-text-anchor:top'
from="167.25pt,132.75pt"
to="596.25pt,132.75pt" strokecolor="white"
strokeweight="1.5pt"/><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:1;left:222px;top:176px;
width:574px;height:2px'><img width=574 height=2
src="contactus69_files/image001.gif"
v:shapes="_x0000_s1025"></span><![endif]></p>
<div style="position: absolute; width: 637px; height: 34px; z-index: 7;
left: 186px; top: 205px" id="layer7">
<font face="Arial" color="#FFFFFF"><a
href="../Home.htm">Home</a>
<a href="aboutus.htm"> About Us</a>
<a href="gallery.htm">Photo Gallery </a>
<a href="video.htm">Video Slideshow</a>
<a href="contactus.htm">Contact Us</a></font></div>
<div style="position: absolute; width: 755px; height: 158px; z-index: 8;
left: 133px; top: 262px" id="layer8">
<p class="MsoNormal"><font face="Arial" style="font-size: 11pt">For more
information on the services that we offer, or to schedule a consultation,
please contact Dawn Nicholls, our Director of Marketing and Business
Development at (e-mail address removed), or Nathalie
Garboski,
our Project Manager at (e-mail address removed). If you
would like to speak to someone directly, please call us at 603-434-8684. We
are open Monday through Friday, from 8:30AM until 5:00PM.</font></p>
<p align="center">
<u>
<font face="Arial" <a id="special" href="Directions.htm" target="_blank"
onclick="FP_openNewWindow('400', '400', false, false, false, false, false,
false, 'Directions', /*href*/'directions.htm');return false">For Directions
To Our Office</a></font></div>

</body>


John Malone said:
Try This simple page (copy paste into new page code view)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Demo 8</title>
<style type="text/css">
a#special { text-decoration:underline; }
</style>
<script language="JavaScript">
<!--
function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url)
{//v1.0
var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,';
else
windowProperties+='toolbar=yes,'; if(loc==false)
windowProperties+='location=no,';
else windowProperties+='location=yes,'; if(sts==false)
windowProperties+='status=no,';
else windowProperties+='status=yes,'; if(menu==false)
windowProperties+='menubar=no,';
else windowProperties+='menubar=yes,'; if(scroll==false)
windowProperties+='scrollbars=no,';
else windowProperties+='scrollbars=yes,'; if(resize==false)
windowProperties+='resizable=no,';
else windowProperties+='resizable=yes,'; if(w!="")
windowProperties+='width='+w+',';
if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
if( windowProperties.charAt(windowProperties.length-1)==',')
windowProperties=windowProperties.substring(0,windowProperties.length-1);
}
window.open(url,name,windowProperties);
}
// -->
</script>
</head>
<body>
<p>
<a id="special" href="javascript:;" onclick="FP_openNewWindow('400', '400',
false, false, false, false, true, false, '',
/*href*/'Directions.htm')">Click Here for directions</a>
</p>
</body>
</html>

That should give you the link to the directions page and have the "Hand
cursor"

John Malone
==================
| http://www.mandmconstructionservices.com/Pages/contactus.htm
|
| That is the link for the page. I put the style above the script, but I
| still have no hand for a cursor or an underlined text.
|
| "John Malone" wrote:
|
| > OK move the style above the script..
| > That's not a problem...
| >
| > Can you post a link to the page or upload to a test directory?
| >
| > John Malone
| > ===============
| > | > | OK I am having two problems. The first is this:
| > | This is what the script looks like before I put the the style in
| > |
| > | </script>
| > | <!--[if gte mso 9]>
| > | <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| > | </xml><![endif]-->
| > | </head>
| > |
| > | and I did what you said and put the code below before the </head> but
when
| > I
| > | saved it, it moves on its own and becomes this:
| > |
| > | </script>
| > |
| > | <style type="text/css">
| > | a#special { text-decoration:underline; }
| > | </style>
| > | <!--[if gte mso 9]>
| > | <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
| > | </xml><![endif]-->
| > | </head>
| > |
| > | </head>
| > |
| > | Also, I had almost exactly what you did for the code for the window
and
| > | hand, the only difference being I have a </b> between here </a></font>
**
| > | Here</div>, and if I take it out all the text on the page gets messed
up.
| > I
| > | still have no hand and no underlining. ??? What is the problem?
| > |
| > | "John Malone" wrote:
| > |
| > | > See if this works....
| > | > If there are no styles on the top of the page.
| > | > In the <head> just before the </head> (in code view)
| > | >
| > | > <style type="text/css">
| > | > a#special { text-decoration:underline; }
| > | > </style>
| > | > </head>
| > | >
| > | > Then in the body (where you need the link)
| > | >
| > | > <a id="special" href="Directions.htm" target="_blank"
| > | > onclick="FP_openNewWindow('400', '400', false, false, false, false,
| > | > false,false, 'Directions', /*href*/'Directions.htm');return
false">Click
| > | > Here
| > | > For Directions To Our Offices</a></font></div>
| > | >
| > | > That should work...
| > | > If you are getting an error in preview try saving the page and File
|
| > | > preview in Browser...
| > | >
| > | > John Malone
| > | > =================
message
| > | > | > | > | John,
| > | > |
| > | > | I tried to input this information into the new page I am doing and
for
| > the
| > | > | life of me can not get it to work...This is the code I have so
| > far....I
| > | > know
| > | > | it has an error, but I really need to get the little hand working.
| > Can
| > | > you
| > | > | help?
| > | > |
| > | > | "<p align="center">
| > | > | <b>
| > | > | <font face="Arial" color="#FFFFFF" <a id="special"
| > href="Directions.htm"
| > | > | target="_blank" onclick="FP_openNewWindow('400', '400', false,
false,
| > | > false,
| > | > | false, false, false, 'Directions', /*href*/'directions.htm');
return
| > | > false">
| > | > | For Directions to our Office</a></font></b></div>
| > | > | </font></div>"
| > | > |
| > | > | "John Malone" wrote:
| > | > |
| > | > | > If you are using Outlook Express try this..
| > | > | >
| > | > | > news://msnews.microsoft.com/microsoft.public.frontpage.client
| > | > | >
| > | > | > John Malone
| > | > | > =================
| > | > | >
| > | > | > FYI THIS MIGHT HELP!!!!!!!!!!!!!!!!!!!!!
| > | > | > (The Post I have)
| > | > | >
| > | > | > > Weird...that is the code that was put in using the behavior
from
| > | > | > > FrontPage....why would it be written like that if it wasn't
going
| > to
| > | > work
| > | > | > > properly?
| > | > | >
| > | > | > Because you had selected the <u> tag when you applied it, and FP
did
| > not
| > | > | > stop you from doing that (it should have).
| > | > | >
| > | > | > > Anyway, your solution worked GREAT!!! I have my hand and my
| > little
| > | > popup
| > | > | > > window, so thank you very much!!
| > | > | >
| > | > | > You're welcome. The lesson here is - anytime you do NOT get the
| > | > pointer,
| > | > | > check your code. It means you have applied the event to
something
| > that
| > | > the
| > | > | > browser doesn't expect to have events applied to.
| > | > | >
| > | > | > > Can you tell me how to put a "Print This Page" link in the
window?
| > Or
| > | > a
| > | > | > > little printer icon?
| > | > | >
| > | > | > All programatic print functions will fail on IE5/Mac, so here is
the
| > | > best
| > | > | > you can do -
| > | > | >
| > | > | > Put this in the head of the document -
| > | > | >
| > | > | > <script type="text/javascript">
| > | > | > function print_page(where){
| > | > | > var is_mac=(navigator.platform.indexOf("ac") != -1);
| > | > | > (document.all && is_mac)?
| > | > | > alert("Select \"Print\" from the menu") : where?
| > where.window.print() :
| > | > | > window.print();
| > | > | > }
| > | > | >
| > | > | > function writeOutPrintLink(){
| > | > | > document.getElementById('printLink').innerHTML = '<a
| > | > | > href="javascript:print_page();">Print this</a>'
| > | > | >
| > | > | > }
| > | > | >
| > | > | > </script>
| > | > | >
| > | > | > Adjust the body tag of the document as follows -
| > | > | >
| > | > | > <body ... onload="writeOutPrintLink();"> (where the ellipsis
| > indicates
| > | > | > already existing attributes, if any)
| > | > | > <span id="printLink"></span>
| > | > | >
| > | > | > That way, the link only shows up if you have javascript enabled.
| > | > | >
| > | > | > --
| > | > | > Murray
| > | > | > ============
| > | > | >
| > message
| > | > | > | > | > | > > Weird...that is the code that was put in using the behavior
from
| > | > | > > Frontpage....why would it be written like that if it wasn't
going
| > to
| > | > work
| > | > | > > properly?
| > | > | > >
| > | > | > > Anyway, your solution worked GREAT!!! I have my hand and my
| > little
| > | > popup
| > | > | > > window, so thank you very much!!
| > | > | > >
| > | > | > > Can you tell me how to put a "Print This Page" link in the
window?
| > Or
| > | > a
| > | > | > > little printer icon?
| > | > | > >
| > | > | > > Dawn
| > | > | > >
| > | > | > > "Murray" wrote:
| > | > | > >
| > | > | > >> You have applied the event to a <u> tag, which is not going
to
| > work
| > | > | > >> reliably, not going to validate, and is just unethical! 8)
| > | > | > >>
| > | > | > >> Change that code to this -
| > | > | > >>
| > | > | > >> <a id="special" href="Directions.htm" target="_blank"
| > | > | > >> onclick="FP_openNewWindow('400', '400', false, false, false,
| > false,
| > | > | > >> false,
| > | > | > >> false, 'Directions', /*href*/'Directions.htm');return
| > false">Click
| > | > Here
| > | > | > >> For
| > | > | > >> Directions To Our Offices</a></font></div>
| > | > | > >>
| > | > | > >> and with this CSS -
| > | > | > >>
| > | > | > >> a#special { text-decoration:underline; }
| > | > | > >>
| > | > | > >> you will get exactly what you want, in addition to having a
link
| > that
| > | > | > >> works
| > | > | > >> even when javascript is disabled (your originaly invalid
| > construction
| > | > | > >> would
| > | > | > >> not have).
 

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