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
|
|