PC Review


Reply
Thread Tools Rate Thread

Cross refernce to fucntions in another fraem

 
 
Trevor L.
Guest
Posts: n/a
 
      2nd Apr 2005
Following advice from this NG (or was it the scripting NG?), I used this
code in album.html

<body class="thumbs"
onload="PreLoadThumbs();top.frames['heading'].getHeading('Picture
Album')">

The purpose is to place the heading 'Picture Album' into the frame named
heading

The function getHeading() is:
function getHeading(heading)
{
if (heading==null)
heading = "Trevor and Carole's Home Page"
document.getElementById("banner").innerHTML = heading
}
"banner" is an id for a span for the heading

It works in IE and in Firefox on my local disk, but FP gives and error
message Permission denied

Should I be concerned?
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html


 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      2nd Apr 2005
FP Preview is not a full browser w/ the same object model as browsers
- always use File Preview in Browser when using scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Trevor L." <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| Following advice from this NG (or was it the scripting NG?), I used this
| code in album.html
|
| <body class="thumbs"
| onload="PreLoadThumbs();top.frames['heading'].getHeading('Picture
| Album')">
|
| The purpose is to place the heading 'Picture Album' into the frame named
| heading
|
| The function getHeading() is:
| function getHeading(heading)
| {
| if (heading==null)
| heading = "Trevor and Carole's Home Page"
| document.getElementById("banner").innerHTML = heading
| }
| "banner" is an id for a span for the heading
|
| It works in IE and in Firefox on my local disk, but FP gives and error
| message Permission denied
|
| Should I be concerned?
| --
| Cheers,
| Trevor L.
| Website: http://tandcl.homemail.com.au
|
|
| I choose Polesoft Lockspam to fight spam, and you?
| http://www.polesoft.com/refer.html
|
|


 
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
Cross Refernce: "Insert reference to" attribute Tallowood Microsoft Word Document Management 1 28th Mar 2010 02:36 PM
Array fucntions Gregory OUSTED Microsoft Excel Worksheet Functions 1 16th Dec 2007 11:06 PM
How to use Ara and ARP fucntions on Ms Excel? =?Utf-8?B?QU5KQU4=?= Microsoft Excel Worksheet Functions 6 15th Jun 2007 04:27 PM
ASP String Fucntions Ed_R Microsoft Frontpage 2 10th Apr 2007 07:48 PM
Help On Fucntions srm Microsoft Outlook Form Programming 1 20th Jun 2006 12:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 PM.