PC Review


Reply
Thread Tools Rate Thread

Code required for determining target frame/window settings

 
 
Sherri
Guest
Posts: n/a
 
      25th Sep 2003
I am trying to modify our website so that it uses menus
to access help demonstration movies.

I have a page which is basically a menu and each item on
the menu links to the appropriate demonstration move.

The movie opens into a new internet explorer window as
required but what I want is to get rid of the menu bar
and toolbar from the window containing the movie.

I was given the following code to use:-

&nbsp;<a href="#" onClick="javascript:window.open
('AddSCChargeType.htm','BookWindow', 'statusbar=no,
scrollbars=yes, toolbar=no, menubar=no, resizable=yes');"
style="text-decoration:none">Adding Service
Charge 'Charge Types'</a></font><font face="Verdana"
color="#FFFFFF" style="font-size: 13pt">

....which partially works, in that it does open a 'menu
and toolbar-less' window containing my movie, however it
then also opens a replica of the original window so I end
up with three windows in total!!!

This is driving me mad as I do not know HTML code at all
so haven't the foggiest what I need to do to fix the
problem.

If I am not making myself clear, please feel free to mail
me direct for more info.

I would be extremely grateful if someone could assist
with this.

Many thanks

Sherri
 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      25th Sep 2003
Use:

<a href="AddSCChargeType.htm" target="_blank" title="Adding Service Charge -Charge Types" onClick="javascript:window.open
('AddSCChargeType.htm','BookWindow', 'statusbar=no, scrollbars=yes, toolbar=no, menubar=no, resizable=yes');return false;"
style="text-decoration:none">Adding Service Charge 'Charge Types'</a>

Will open the popup and if the user has JavaScript disabled will open a new window using html
--
_____________________________________________
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
_____________________________________________


"Sherri" <(E-Mail Removed)> wrote in message news:1e7e01c3835d$3ce58da0$(E-Mail Removed)...
| I am trying to modify our website so that it uses menus
| to access help demonstration movies.
|
| I have a page which is basically a menu and each item on
| the menu links to the appropriate demonstration move.
|
| The movie opens into a new internet explorer window as
| required but what I want is to get rid of the menu bar
| and toolbar from the window containing the movie.
|
| I was given the following code to use:-
|
| &nbsp;<a href="#" onClick="javascript:window.open
| ('AddSCChargeType.htm','BookWindow', 'statusbar=no,
| scrollbars=yes, toolbar=no, menubar=no, resizable=yes');"
| style="text-decoration:none">Adding Service
| Charge 'Charge Types'</a></font><font face="Verdana"
| color="#FFFFFF" style="font-size: 13pt">
|
| ...which partially works, in that it does open a 'menu
| and toolbar-less' window containing my movie, however it
| then also opens a replica of the original window so I end
| up with three windows in total!!!
|
| This is driving me mad as I do not know HTML code at all
| so haven't the foggiest what I need to do to fix the
| problem.
|
| If I am not making myself clear, please feel free to mail
| me direct for more info.
|
| I would be extremely grateful if someone could assist
| with this.
|
| Many thanks
|
| Sherri


 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      25th Sep 2003
Change the script as follows:
<a href="AddSCChargeType.htm" target="_blank"
onClick="javascript:window.open
('AddSCChargeType.htm','BookWindow', 'statusbar=no,
scrollbars=yes, toolbar=no, menubar=no, resizable=yes'); return false;"
style="text-decoration:none">Adding Service
Charge 'Charge Types'</a>
This should all be on one line in HTML view.

The pagename appears twice. If the user has javascript disabled the video
will open in a new window with menubars etc., otherwise only a single pop-up
will appear. The "return false" prevents the hyperlink from activating.

The original script should not open a third window, unless you have a base
target defined elsewhere in the page.

HTH
--
Ron

Reply only to group - all emails will be deleted unread.


"Sherri" <(E-Mail Removed)> wrote in message
news:1e7e01c3835d$3ce58da0$(E-Mail Removed)...
> I am trying to modify our website so that it uses menus
> to access help demonstration movies.
>
> I have a page which is basically a menu and each item on
> the menu links to the appropriate demonstration move.
>
> The movie opens into a new internet explorer window as
> required but what I want is to get rid of the menu bar
> and toolbar from the window containing the movie.
>
> I was given the following code to use:-
>
> &nbsp;<a href="#" onClick="javascript:window.open
> ('AddSCChargeType.htm','BookWindow', 'statusbar=no,
> scrollbars=yes, toolbar=no, menubar=no, resizable=yes');"
> style="text-decoration:none">Adding Service
> Charge 'Charge Types'</a></font><font face="Verdana"
> color="#FFFFFF" style="font-size: 13pt">
>
> ...which partially works, in that it does open a 'menu
> and toolbar-less' window containing my movie, however it
> then also opens a replica of the original window so I end
> up with three windows in total!!!
>
> This is driving me mad as I do not know HTML code at all
> so haven't the foggiest what I need to do to fix the
> problem.
>
> If I am not making myself clear, please feel free to mail
> me direct for more info.
>
> I would be extremely grateful if someone could assist
> with this.
>
> Many thanks
>
> Sherri



 
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
Maximize a New Window - Target Frame RS Microsoft Frontpage 4 10th Mar 2008 10:22 AM
Target Frame New Window Peter Microsoft Frontpage 3 10th Dec 2007 03:47 PM
Target Frame > New Window Sitara Lal Microsoft Frontpage 3 3rd May 2005 12:54 PM
Target frame settings =?Utf-8?B?a2V2d2FzaA==?= Microsoft Frontpage 2 25th Nov 2004 03:59 AM
Creating New Window in Target Frame =?Utf-8?B?TXIuIEZpc2hlcg==?= Microsoft Frontpage 1 23rd Oct 2003 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 AM.