PC Review


Reply
Thread Tools Rate Thread

Can this be done in FrontPage

 
 
jnm
Guest
Posts: n/a
 
      6th Nov 2005
I have an old java script which places an arrow.gif in the lower right hand
corner of the screen at all times regardless of scrolling and or resizing
the screen. The arrow is a hot spot, which scrolls to the top of the page.
It works fine, but won't validate because it is based on non-standard code.

It looks like this:



<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<title>Test page</title>



<script language="JavaScript">

function SetCorners() {

LR.style.left = document.body.scrollLeft +
document.body.clientWidth - LR.width;

LR.style.top = document.body.scrollTop +
document.body.clientHeight - LR.height;

}

</script>

</head>



<body onLoad="init();SetCorners();" leftmargin="10" topmargin="22"
marginheight="10" marginwidth="10"

onResize="SetCorners()" onScroll="SetCorners()">



<a href="javascript:scroll(0,0)"><img id="LR" src="images/arrow.gif"
border="0" style="position: absolute; left.2; top:4" width="23" height="36"
alt="To top of page" /></a>



</body>

</html>



I believe this may be done in another way, but I can't find it.

Any help in this news group??

Regards

Jorgen


 
Reply With Quote
 
 
 
 
Tina Clarke
Guest
Posts: n/a
 
      7th Nov 2005

"jnm" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have an old java script which places an arrow.gif in the lower right

hand
> corner of the screen at all times regardless of scrolling and or resizing
> the screen. The arrow is a hot spot, which scrolls to the top of the page.
> It works fine, but won't validate because it is based on non-standard

code.
>
> It looks like this:


Like css put the javascript into an external sheet .. google for how to do
it .. as I've only done it once and I've forgot how, but join a javascript
group to get help with validating your js.

Tina


--
http://accessfp.net/ - FrontPage Tutorials
http://anyfrontpage.com/ - http://frontpage-ebooks.com/
http://addonfp.com/ - FrontPage Addons
http://frontpage-tips.com/ - Weekly FrontPage Tips
http://msmvps.com/frontpage/ - FrontPage News & Articles Blog
http://frontpage-advice.blogspot.com/ - FrontPage Advice Blog
http://artdoodle.com/ - Abstract Pen and Ink Drawings


 
Reply With Quote
 
p c
Guest
Posts: n/a
 
      7th Nov 2005
What is the question?

If it works fine, what is the problem then?

jnm wrote:
> I have an old java script which places an arrow.gif in the lower right hand
> corner of the screen at all times regardless of scrolling and or resizing
> the screen. The arrow is a hot spot, which scrolls to the top of the page.
> It works fine, but won't validate because it is based on non-standard code.


> I believe this may be done in another way, but I can't find it.
>
> Any help in this news group??
>
> Regards
>
> Jorgen
>
>

 
Reply With Quote
 
jnm
Guest
Posts: n/a
 
      7th Nov 2005
My question is?

How may this functionality be achieved by another code / updated code / new
idea / ??? which validates.

I will try the include idea

Regards

Jorgen

"p c" <(E-Mail Removed)> skrev i en meddelelse
news:yamdnX80wcVjS_PeRVn-(E-Mail Removed)...
> What is the question?
>
> If it works fine, what is the problem then?
>
> jnm wrote:
> > I have an old java script which places an arrow.gif in the lower right

hand
> > corner of the screen at all times regardless of scrolling and or

resizing
> > the screen. The arrow is a hot spot, which scrolls to the top of the

page.
> > It works fine, but won't validate because it is based on non-standard

code.
>
> > I believe this may be done in another way, but I can't find it.
> >
> > Any help in this news group??
> >
> > Regards
> >
> > Jorgen
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which frontpage components dont require frontpage enabled server? =?Utf-8?B?UmFjaGVs?= Microsoft Frontpage 7 3rd Feb 2007 11:27 AM
Frontpage 2002 website design compatible with Frontpage 2003? =?Utf-8?B?SmF5IFdpbGxpYW1z?= Microsoft Frontpage 1 13th Jul 2006 07:07 PM
how can I open a frontpage 2003 file on frontpage 2002 or 2000 =?Utf-8?B?VmFu?= Microsoft Frontpage 2 3rd May 2006 03:46 PM
Microsoft FrontPage: FrontPage Error when sending email from Form =?Utf-8?B?UnViZW4=?= Microsoft Frontpage 1 30th Jun 2005 10:24 PM
Opening a FrontPage web that requires authentication with FrontPage 2000 under W2K... Vince C. Windows XP General 6 30th Jan 2004 12:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:57 PM.