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
=================
"Gurlonthesun" <(E-Mail Removed)> wrote in message
news:0FA0466F-5004-4673-AD47-(E-Mail Removed)...
| 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/microsof...ontpage.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

rint_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
| > ============
| >
| > "Gurlonthesun" <(E-Mail Removed)> wrote in message
| > news:7DF7012A-0297-4302-BE82-(E-Mail Removed)...
| > > 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" <(E-Mail Removed)> wrote in
message
| > >> news:EB8CBC9A-644A-40EF-95A1-(E-Mail Removed)...
| > >> > 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" <(E-Mail Removed)> wrote in
| > >> >> message
| > >> >> news:(E-Mail Removed)...
| > >> >> > 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/
| > >> >> >
| > >> >> >
| > >> >> >
| > >> >> >
| > >> >> > "Steve Easton" <(E-Mail Removed)> wrote in message
| > >> >> > news:O5DZS$(E-Mail Removed)...
| > >> >> >> 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" <(E-Mail Removed)> wrote
in
| > >> >> >> message
| > >> >> >> news:A2824DFC-3868-40E7-84E6-(E-Mail Removed)...
| > >> >> >>> 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.
| > >> >> >>
| > >> >> >>
| > >> >> >
| > >> >> >
| > >> >>
| > >> >>
| > >> >>
| > >>
| > >>
| > >>
| >
| >
| >
| >