Last question tonite...my menu clip is 4sec but my song...
Is 4 minutes....how do i make it so the menu clip doesnt keep looping while the song is playing???
I cant seem to figure this one out!
e
the menu clip is 4seconds(a Livetype mov file) and my song is 4 minutes...so the menu is fixed on sticking with the 4 sec clip vs. the 4 minute song....
my last DVD i used a template from DVDSP and it worked fine(5 minute song with the looping menu)..this time the LiveType mov needs to end at a still so things are different. BUT i still think it's gotta wor some how.
e
Similar Messages
-
Why is the green screen visible on the last frame before the next clip?
Hey guys!
Maybe I'm ******** but i m having trouble here. I have "key-ed" a bunch of clips and successfully removed the green screen from them. But when placed in the timeline, the green screen of the clip reappears for the single frame before a next clip starts.
I've re-rendered and chopped ends off but the green screen keeps appearing in the last frame of any keyed clip that is about to cut to a different clip.
Where am i going wrong?Hey! I tried both suggestions but even the self contained quicktime file has the green screen frames popping up.
I just dont get it, it's infuriating!
I used "chroma keyer" effect on the clip, only enable "key on saturation", the green screen disappears, I place clip on V2 and image on V1. Image is then visible where the green screen was. All is well until the last frame before a next clip because on that ast frame the green screen appears again. Where am I going wrong? Please help! -
So I have a question for this: I folowed this procedure, but when I'm trying to import the IOS from IMovies in my laptop I receive a message that states that the IMovie version installed doen't supports IOS files, although I have the last version installed with all the updates... Any ideas, thoughts?
ThanksI also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
I am running Yosemitie on a iMac.
Paul -
Details for last question I post
the original code for last question I post(about the DataInputStream& EOFException) is here, thanks if anyone will bother to read it
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.* ;
public class MasterMindServer
public MasterMindServer()
try{
ServerSocket serverSocket=new ServerSocket(8000);
Socket socket=serverSocket.accept();
HandleAClient thread=new HandleAClient(socket);
thread.start();
}catch(IOException e){System.out.println("Error:"+e.toString());}
public static void main(String args[])
new MasterMindServer();
//inner class
class HandleAClient extends Thread
DataOutputStream out;
DataInputStream in;
BufferedReader fromFile;
private Socket socket;
String line;
public HandleAClient(Socket socket)
this.socket=socket;
public void run()
int x,o;
try{
out=new DataOutputStream(socket.getOutputStream());
in=new DataInputStream(socket.getInputStream());
fromFile=new BufferedReader(new FileReader("colorcode.txt"));
while((line=fromFile.readLine())!=null)
for(int i=0;i<10;i++)
String t=in.readUTF();
x=check_column(t);
System.out.println(x);
o=check_color(t);
System.out.println(o);
out.writeInt(x);
out.writeInt(o);
if(x==6) break;
out.writeUTF(line);
socket.close();
System.out.println("close");
}catch(IOException e){
System.out.println("Error:"+e.toString());}
public int check_column(String s)
String str;
str=s;
int count=0;
for(int i=0;i<6;i++)
if(s.charAt(i)==line.charAt(i))
count++;
return count;
public int check_color(String s)
String str;
str=s;
int count=0;
for(int i=0;i<6;i++)
if((line.indexOf(s.charAt(i))!=-1)&&(line.charAt(i)!=s.charAt(i)))
count++;
return count;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.* ;
public class MasterMindClient extends JFrame implements MouseListener,ActionListener
/** Default constructor */
//keep track of the row (or trial) and column number
int trial_num, col_now ;
Socket socket;
int count[]={5,5,5,5,5,5};
JPanel A[] = new JPanel[10];
JPanel B1[] = new JPanel[10];
JPanel B2[] = new JPanel[10] ;
JPanel notice = new JPanel() ;
JPanel sub_notice = new JPanel();
JPanel D1, D2 ;
static JTextField [][]color = new JTextField[10][6] ;
static JTextField [][]Output = new JTextField[10][2];
static JTextField [][]Answer = new JTextField[1][6] ;
static JButton []ok = new JButton[10];
JLabel L1 = new JLabel("Click the textfield to change color");
JLabel L2 , L3, L4 ;
String colorRange="BCGRYW";
Color colorName[]={Color.black,Color.cyan,Color.green,Color.red,Color.yellow,Color.white};
String temp ;
public MasterMindClient() {
// initialize
trial_num = 0;
col_now = 0;
//sub_notice is Panel where the heading labels are placed
sub_notice.setLayout(new GridLayout(1,3)) ;
L2 = new JLabel(" ") ;
L3 = new JLabel("X");
L3.setHorizontalAlignment(JTextField.CENTER);
L4 = new JLabel("O");
L4.setHorizontalAlignment(JTextField.CENTER);
L3.setToolTipText("matching color and column");
L4.setToolTipText("matching color but not matching column" );
sub_notice.add(L2);
sub_notice.add(L3);
sub_notice.add(L4);
notice.setLayout(new GridLayout(1,2)) ;
notice.add(L1) ;
notice.add(sub_notice) ;
// Get the content pane of the frame
Container c = getContentPane();
// Set GridLayout, 4 rows, 3 columns, and gaps 5 between
// components horizontally and vertically
c.setLayout(new GridLayout(12, 1, 5, 5));
c.add(notice);
JPanel Display = new JPanel() ;
Display.setLayout(new GridLayout(1,2,5,5)) ;
//create a Panel for each row to accept use input
// color[][] textfield is where the user input
// Output[][] is where to display the number of X and O
for (int i = 0; i <= A.length-1 ; i++)
A[i] = new JPanel() ;
A.setLayout(new GridLayout(1, 2,10,10));
B1[i] = new JPanel();
B1[i].setLayout(new GridLayout(1,6,5,5)) ;
B2[i] = new JPanel();
B2[i].setLayout(new GridLayout(1,3,5,5)) ;
for (int j = 0; j <= color[i].length-1 ; j++)
color[i][j] = new JTextField() ;
color[i][j].setHorizontalAlignment(JTextField.CENTER);
if (i == 0)
{color[i][j].setEditable(true) ;
else
{color[i][j].setEditable(false);
color[i][j].addMouseListener(this);
B1[i].add(color[i][j]) ;
} // j loop
ok[i] = new JButton("SEND");
if(i==0)
ok[i].setEnabled(true);
else
ok[i].setEnabled(false);
ok[i].addActionListener(this);
B2[i].add(ok[i]) ;
Output[i][0] = new JTextField();
Output[i][1] = new JTextField();
Output[i][0].setEditable(false);
Output[i][1].setEditable(false);
Output[i][0].setHorizontalAlignment(JTextField.CENTER);
Output[i][1].setHorizontalAlignment(JTextField.CENTER);
B2[i].add(Output[i][0]);
B2[i].add(Output[i][1]);
A[i].add(B1[i]);
A[i].add(B2[i]) ;
c.add(A[i]) ;
} //for i loop
//D panel is where we store the answer[][]
D1 = new JPanel();
D1.setLayout(new GridLayout(1,6)) ;
D2 = new JPanel();
D2.setLayout(new GridLayout(1,2)) ;
for (int j = 0; j <= Answer[0].length-1 ; j++)
Answer[0][j] = new JTextField(0) ;
Answer[0][j].setHorizontalAlignment(JTextField.CENTER);
Answer[0][j].setEditable(false) ;
D1.add(Answer[0][j]) ;
Display.add(D1) ;
Display.add(D2) ;
c.add(Display) ;
public void runClient()
try
{ socket=new Socket("localhost",8000);
DataInputStream in=new DataInputStream(socket.getInputStream());
int x=0;
int o=0;
try{
while(true)
while(trial_num<10)
x=in.readInt();
//System.out.println(x);
Output[trial_num][0].setText(String.valueOf(x));
o=in.readInt();
//System.out.println(o);
Output[trial_num][1].setText(String.valueOf(o));
for(int i=0;i<6;i++)
color[trial_num][i].setEnabled(false);
ok[trial_num].setEnabled(false);
trial_num++;
col_now=0;
if(x==6)
JOptionPane.showMessageDialog( null, "Congratulation, you've won the game !! " );
//ok[trial_num].setEnabled(false);
break;
if(trial_num<10)
{ for(int i=0;i<6;i++)
color[trial_num][i].setEditable(true);
count[i]=5;
ok[trial_num].setEnabled(true);
if(x!=6)
{ JOptionPane.showMessageDialog( null, "sorry you did not win the game");
temp=in.readUTF();
System.out.println(temp);
//temp=in.readUTF();
//System.out.println("can");
for(int i=0;i<6;i++)
System.out.println(i);
char a=temp.charAt(i);
int index=colorRange.indexOf(String.valueOf(a));
Answer[0][i].setBackground(colorName[index]);
trial_num=0;
for(int j=0;j<10;j++)
for(int k=0;k<6;k++)
color[j][k].setBackground(Color.white);
for(int j=0;j<10;j++)
for(int k=0;k<2;k++)
Output[j][k].setText(null);
for(int i=0;i<6;i++)
color[trial_num][i].setEditable(true);
count[i]=5;
ok[0].setEnabled(true);
catch(EOFException em){}
}catch(IOException ex){
System.out.println("Error:"+ex.toString());}
public void mouseClicked(MouseEvent e)
for(int i=0;i<6;i++)
if(e.getComponent()==color[trial_num][i])
{ col_now=i;
break;
count[col_now]=(count[col_now]+1)%6;
color[trial_num][col_now].setBackground(colorName[count[col_now]]);
public void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mouseReleased(MouseEvent e)
public void mousePressed(MouseEvent e)
public void actionPerformed(ActionEvent e)
try{
send();
}catch(IOException et){System.out.println("Error:"+et);}
public void send()throws IOException
DataOutputStream out=new DataOutputStream(socket.getOutputStream());
char cbuf[]=new char[6];
for(int i=0;i<6;i++)
cbuf[i]=colorRange.charAt(count[i]);
System.out.println(cbuf);
out.writeUTF(new String(cbuf));
/** Main method */
public static void main(String[] args) {
MasterMindClient frame = new MasterMindClient();
frame.setTitle("Master Mind");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocation(300,300) ;
frame.setSize(450, 450);
frame.setVisible(true);
frame.runClient();
} // end of classI notice that you have several hundred lines of GUI code there. None of them have anything to do with the problem you are trying to solve. So put them all aside and write a SMALL test program that does nothing but the little loop you are having a problem with. Shouldn't be more than 20 lines of code.
-
One last question about apple tv!! viewing movies in movies folder
thanks to those who have responded to my previous questions.
thinking of buying an apple TV this weekend, but here's my last question (which I just thought of!)
i've got a collection of movies in various formats, usually .mov or .dv of home videos i've made in FCE and iMovie over the years, some of them several GB in size (oops!)
what's the best way of viewing these on the apple tv. for instance
1. does apple TV let you look into your 'movies' folder in the home folder to play any movies it finds there
2. will it play .dv or .mov files, or does it need to be a specific format
3. i've noticed an 'export to apple tv' in quicktime pro, do i need to do this for all my movies before apple tv will play them. and after i do an 'export to apple tv' where do the files need to be? imported into itunes, or just sat in my 'movies' folder?
cheers, looking forward to visiting the apple store tomorrow!1. does apple TV let you look into your 'movies' folder in the home folder to play any movies it finds there.
No, the tv uses itunes for its source of movies.
2. will it play .dv or .mov files, or does it need to be a specific format
DV, no. MOV, maybe. MOV is a container type not a compression type, if the MOV container has the correct compression formats in it then it will play. Movies for the tv need to be either mpeg4/2 or mpeg4/10 (H264/AVC)
3. i've noticed an 'export to apple tv' in quicktime pro, do i need to do this for all my movies before apple tv will play them. and after i do an 'export to apple tv' where do the files need to be? imported into itunes, or just sat in my 'movies' folder?
Yes 'export to tv' will do the job for you. You need to be aware though that DV with the wrong field dominance will cause it a problem, and some cameras do use the wrong field dominance. It won't work with muxed files (mpeg2 for example) and on SD movies it can be a little wasteful on space. I've always used mpegstreamclip to convert from DV.
Of course from now on you'll be using FCE with this in mind and exporting accordingly. -
One last question about Apple IDs
I thought id asked the lot but there is one last question. How does one delete an Apple ID?
Many thanks again
AnthonyHello Again Anthony!
"How does one delete an Apple ID?"
You can't.
After you quit using an account, it's posts, will be archived. What that means is, that if there are no additional responses in the Threads they reside in, the Topics will get continually pushed down on the Topics list. After a certain amount of time, maybe 2 to 6 months, the Threads will be locked, so no responses can be entered. But the Threads will not disappear.
Threads in heavily trafficked Forums, may be archived more rapidly than those in areas, with less activity.
The Topics that you started using the account, will show your the Alias, in the Author field of a main forum page, but eventually, readers will have to keep going to the succeeding pages to view them.
If someone were to do a Discussions Search, using these parameters:
Restrict by Category or Forum: All Categories
Restrict by Date Range: All
Restrict by Username: Your Old Alias
all of your posts, created since about 11/13/05, would be found.
ali b -
Sorry last question got knocked back my ipad and iPhone on two different levels and I am not able to play through Facebook so not able to progress or unlock next level through Apple store. Don't know how to resolve problem
Thank you again for all of your help!! I really appreciate it!
I think I am following -- I was able to upload to my iPhoto and all photos and videos are there that is a plus! I tried to create an Event in my iPhoto and put all of my photos in that event but for some reason, now my iTunes it not recognizing that Event in my iPhoto. It is not allowing me to import just that event at the moment but I may be doing something wrong. At least all of my pics and vids are in iPhoto so that is a plus and I know they are at least saved somewhere. Just for some reason, my iTunes it not locating the event that I created with only those photos.
Thank you for letting me know about my contacts! How do I know if I have the contacts app?
Also, I had no clue that my iCloud could be backed up via cellular data! However, is this a new feature with the most updated iOS?? Unforutnatly I am like 2 iOS updates behind because I don't have enough storage on my phone. I still get the notification that my phone needs to be plugged in and connected to wifi in order to back up to the cloud :-(
How can I sync using USB? Right now when i click on the info tab for my iPhone in my iTunes this is the answer that I get -- I am a little unclear as to what it means.
Sync Contacts:
Your contacts are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone
Sync Calendars:
Your calendars are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone -
RoboDemo skipping last question
Well, we still have a few RoboDemo files that we are still
updating using RoboDemo. But, the OS on my computer was upgraded to
XP and my copy of RoboDemo was removed. I have a couple of RoboDemo
5 cds (different builds) but they are all having an issue with the
questions, where it just skips the last question. The Display score
at end of movie checkbox is checked. So, for instance if I have 20
questions, after the 19th question, the question stats (# wrong, #
correct) comes up. The build that I have installed right now is
Version 5 Build 760.
I would appreciate any RoboDemo expertise out there.
Thanks.The last version of RoboDemo was/is Build #777.
The change in OS shouldn't have anything to do with it, to
the extent that WinXP is supported - though other changes made at
the same time may be impacting the installation of RoboDemo. I
doubt that is the problem, as it should either work - or not - when
started, and your installation appears to be working.
I'll bow out now, as I've already told you what the "fix" is
(assuming that the correct build is installed). I've worked with RD
from the beginning of time, so it will surprise me if someone has a
different fix, but I certainly hope you do have luck in finding
another solution ...
... best of luck. -
I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
Where do i find the program install?
And tips on how to reinstall without messing things up?
last question is, does my recent files and saves work after the reinstall?
Thank youkarianne wrote:
I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
Where do i find the program install?
Which versions? Which operating system?
Try Download and Installation Help -
Mouse icon issue/question in popup menu creaed in dreamweaver
I have created a popup menu in dreamweaver and everything is fine except the popup menu items do not show a hand icon when mouse is over. It is an arrow or a cursor blink. How can I make it so that it is a hand icon? Thanks.
OK, here it is.
Code from HTML created:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_0817145255_0) return;
window.mm_menu_0817145255_0 = new Menu("root",82,18,"Arial, Helvetica, sans-serif",12,"#FCFBFA","#000000","#666666","#999999","left","middle",3,0,1000,-5,7,true ,true,true,0,true,true);
mm_menu_0817145255_0.addMenuItem("CREAM","location='#'");
mm_menu_0817145255_0.addMenuItem("BUTTER","location='#'");
mm_menu_0817145255_0.fontWeight="bold";
mm_menu_0817145255_0.hideOnMouseOut=true;
mm_menu_0817145255_0.bgColor='#FF6600';
mm_menu_0817145255_0.menuBorder=0;
mm_menu_0817145255_0.menuLiteBgColor='#FF9900';
mm_menu_0817145255_0.menuBorderBgColor='#FF9900';
mm_menu_0817145255_0.onmouseover='foo.jpg';
mm_menu_0817145255_0.writeMenus();
} // mmLoadMenus()
//-->
</script>
<script language="JavaScript" src="mm_menu.js"></script>
</head>
<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
<a href="http://www.msn.com" name="link1" title="COOKIES" target="_self" id="link1" onmouseover="MM_showMenu(window.mm_menu_0817145255_0,0,19,null,'link1')" onmouseout="MM_startTimeout();">COOKIES</a>
</body>
</html>
The code below is from the js file:
* mm_menu 20MAR2002 Version 6.0
* Andy Finnell, March 2002
* Copyright (c) 2000-2002 Macromedia, Inc.
* based on menu.js
* by gary smith, July 1997
* Copyright (c) 1997-1999 Netscape Communications Corp.
* Netscape grants you a royalty free license to use or modify this
* software provided that this copyright notice appears on all copies.
* This software is provided "AS IS," without a warranty of any kind.
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah)
this.version = "020320 [Menu; mm_menu.js]";
this.type = "Menu";
this.menuWidth = mw;
this.menuItemHeight = mh;
this.fontSize = fs;
this.fontWeight = "plain";
this.fontFamily = fnt;
this.fontColor = fclr;
this.fontColorHilite = fhclr;
this.bgColor = "#555555";
this.menuBorder = 1;
this.menuBgOpaque=opq;
this.menuItemBorder = 1;
this.menuItemIndent = idt;
this.menuItemBgColor = bg;
this.menuItemVAlign = valgn;
this.menuItemHAlign = halgn;
this.menuItemPadding = pad;
this.menuItemSpacing = space;
this.menuLiteBgColor = "#ffffff";
this.menuBorderBgColor = "#777777";
this.menuHiliteBgColor = bgh;
this.menuContainerBgColor = "#cccccc";
this.childMenuIcon = "arrows.gif";
this.submenuXOffset = sx;
this.submenuYOffset = sy;
this.submenuRelativeToItem = srel;
this.vertical = vert;
this.items = new Array();
this.actions = new Array();
this.childMenus = new Array();
this.hideOnMouseOut = true;
this.hideTimeout = to;
this.addMenuItem = addMenuItem;
this.writeMenus = writeMenus;
this.MM_showMenu = MM_showMenu;
this.onMenuItemOver = onMenuItemOver;
this.onMenuItemAction = onMenuItemAction;
this.hideMenu = hideMenu;
this.hideChildMenu = hideChildMenu;
if (!window.menus) window.menus = new Array();
this.label = " " + label;
window.menus[this.label] = this;
window.menus[window.menus.length] = this;
if (!window.activeMenus) window.activeMenus = new Array();
function addMenuItem(label, action) {
this.items[this.items.length] = label;
this.actions[this.actions.length] = action;
function FIND(item) {
if( window.mmIsOpera ) return(document.getElementById(item));
if (document.all) return(document.all[item]);
if (document.getElementById) return(document.getElementById(item));
return(false);
function writeMenus(container) {
if (window.triedToWriteMenus) return;
var agt = navigator.userAgent.toLowerCase();
window.mmIsOpera = agt.indexOf("opera") != -1;
if (!container && document.layers) {
window.delayWriteMenus = this.writeMenus;
var timer = setTimeout('delayWriteMenus()', 500);
container = new Layer(100);
clearTimeout(timer);
} else if (document.all || document.hasChildNodes || window.mmIsOpera) {
document.writeln('<span id="menuContainer"></span>');
container = FIND("menuContainer");
window.mmHideMenuTimer = null;
if (!container) return;
window.triedToWriteMenus = true;
container.isContainer = true;
container.menus = new Array();
for (var i=0; i<window.menus.length; i++)
container.menus[i] = window.menus[i];
window.menus.length = 0;
var countMenus = 0;
var countItems = 0;
var top = 0;
var content = '';
var lrs = false;
var theStat = "";
var tsc = 0;
if (document.layers) lrs = true;
for (var i=0; i<container.menus.length; i++, countMenus++) {
var menu = container.menus[i];
if (menu.bgImageUp || !menu.menuBgOpaque) {
menu.menuBorder = 0;
menu.menuItemBorder = 0;
if (lrs) {
var menuLayer = new Layer(100, container);
var lite = new Layer(100, menuLayer);
lite.top = menu.menuBorder;
lite.left = menu.menuBorder;
var body = new Layer(100, lite);
body.top = menu.menuBorder;
body.left = menu.menuBorder;
} else {
content += ''+
'<div id="menuLayer'+ countMenus +'" style="position:absolute;z-index:1;left:10px;top:'+ (i * 100) +'px;visibility:hidden;color:' + menu.menuBorderBgColor + ';">\n'+
' <div id="menuLite'+ countMenus +'" style="position:absolute;z-index:1;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;" onmouseout="mouseoutMenu();">\n'+
' <div id="menuFg'+ countMenus +'" style="position:absolute;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;">\n'+
var x=i;
for (var i=0; i<menu.items.length; i++) {
var item = menu.items[i];
var childMenu = false;
var defaultHeight = menu.fontSize+2*menu.menuItemPadding;
if (item.label) {
item = item.label;
childMenu = true;
menu.menuItemHeight = menu.menuItemHeight || defaultHeight;
var itemProps = '';
if( menu.fontFamily != '' ) itemProps += 'font-family:' + menu.fontFamily +';';
itemProps += 'font-weight:' + menu.fontWeight + ';fontSize:' + menu.fontSize + 'px;';
if (menu.fontStyle) itemProps += 'font-style:' + menu.fontStyle + ';';
if (document.all || window.mmIsOpera)
itemProps += 'font-size:' + menu.fontSize + 'px;" onmouseover="onMenuItemOver(null,this);" onclick="onMenuItemAction(null,this);';
else if (!document.layers) {
itemProps += 'font-size:' + menu.fontSize + 'px;';
var l;
if (lrs) {
var lw = menu.menuWidth;
if( menu.menuItemHAlign == 'right' ) lw -= menu.menuItemPadding;
l = new Layer(lw,body);
var itemLeft = 0;
var itemTop = i*menu.menuItemHeight;
if( !menu.vertical ) {
itemLeft = i*menu.menuWidth;
itemTop = 0;
var dTag = '<div id="menuItem'+ countItems +'" style="position:absolute;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';
var dClose = '</div>'
if (menu.bgImageUp) dTag = '<div id="menuItem'+ countItems +'" style="background:url('+menu.bgImageUp+');position:absolute;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';
var left = 0, top = 0, right = 0, bottom = 0;
left = 1 + menu.menuItemPadding + menu.menuItemIndent;
right = left + menu.menuWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
if( menu.menuItemVAlign == 'top' ) top = menu.menuItemPadding;
if( menu.menuItemVAlign == 'bottom' ) top = menu.menuItemHeight-menu.fontSize-1-menu.menuItemPadding;
if( menu.menuItemVAlign == 'middle' ) top = ((menu.menuItemHeight/2)-(menu.fontSize/2)-1);
bottom = menu.menuItemHeight - 2*menu.menuItemPadding;
var textProps = 'position:absolute;left:' + left + 'px;top:' + top + 'px;';
if (lrs) {
textProps +=itemProps + 'right:' + right + ';bottom:' + bottom + ';';
dTag = "";
dClose = "";
if(document.all && !window.mmIsOpera) {
item = '<div align="' + menu.menuItemHAlign + '">' + item + '</div>';
} else if (lrs) {
item = '<div style="text-align:' + menu.menuItemHAlign + ';">' + item + '</div>';
} else {
var hitem = null;
if( menu.menuItemHAlign != 'left' ) {
if(window.mmIsOpera) {
var operaWidth = menu.menuItemHAlign == 'center' ? -(menu.menuWidth-2*menu.menuItemPadding) : (menu.menuWidth-6*menu.menuItemPadding);
hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
} else {
hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
} else hitem = null;
if(document.all && !window.mmIsOpera) item = '<div id="menuItemShim' + countItems + '" style="position:absolute;left:0px;top:0px;">' + item + '</div>';
var dText = '<div id="menuItemText'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColor +';">'+ item +' </div>\n'
+ '<div id="menuItemHilite'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColorHilite +';visibility:hidden;">'
+ (hitem||item) +' </div>';
if (childMenu) content += ( dTag + dText + '<div id="childMenu'+ countItems +'" style="position:absolute;left:0px;top:3px;"><img src="'+ menu.childMenuIcon +'"></div>\n' + dClose);
else content += ( dTag + dText + dClose);
if (lrs) {
l.document.open("text/html");
l.document.writeln(content);
l.document.close();
content = '';
theStat += "-";
tsc++;
if (tsc > 50) {
tsc = 0;
theStat = "";
status = theStat;
countItems++;
if (lrs) {
var focusItem = new Layer(100, body);
focusItem.visiblity="hidden";
focusItem.document.open("text/html");
focusItem.document.writeln(" ");
focusItem.document.close();
} else {
content += ' <div id="focusItem'+ countMenus +'" style="position:absolute;left:0px;top:0px;visibility:hide;" onclick="onMenuItemAction(null,this);"> </div>\n';
content += ' </div>\n </div>\n</div>\n';
i=x;
if (document.layers) {
container.clip.width = window.innerWidth;
container.clip.height = window.innerHeight;
container.onmouseout = mouseoutMenu;
container.menuContainerBgColor = this.menuContainerBgColor;
for (var i=0; i<container.document.layers.length; i++) {
proto = container.menus[i];
var menu = container.document.layers[i];
container.menus[i].menuLayer = menu;
container.menus[i].menuLayer.Menu = container.menus[i];
container.menus[i].menuLayer.Menu.container = container;
var body = menu.document.layers[0].document.layers[0];
body.clip.width = proto.menuWidth || body.clip.width;
body.clip.height = proto.menuHeight || body.clip.height;
for (var n=0; n<body.document.layers.length-1; n++) {
var l = body.document.layers[n];
l.Menu = container.menus[i];
l.menuHiliteBgColor = proto.menuHiliteBgColor;
l.document.bgColor = proto.menuItemBgColor;
l.saveColor = proto.menuItemBgColor;
l.onmouseover = proto.onMenuItemOver;
l.onclick = proto.onMenuItemAction;
l.mmaction = container.menus[i].actions[n];
l.focusItem = body.document.layers[body.document.layers.length-1];
l.clip.width = proto.menuWidth || body.clip.width;
l.clip.height = proto.menuItemHeight || l.clip.height;
if (n>0) {
if( l.Menu.vertical ) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder + proto.menuItemSpacing;
else l.left = body.document.layers[n-1].left + body.document.layers[n-1].clip.width + proto.menuItemBorder + proto.menuItemSpacing;
l.hilite = l.document.layers[1];
if (proto.bgImageUp) l.background.src = proto.bgImageUp;
l.document.layers[1].isHilite = true;
if (l.document.layers.length > 2) {
l.childMenu = container.menus[i].items[n].menuLayer;
l.document.layers[2].left = l.clip.width -13;
l.document.layers[2].top = (l.clip.height / 2) -4;
l.document.layers[2].clip.left += 3;
l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
if( proto.menuBgOpaque ) body.document.bgColor = proto.bgColor;
if( proto.vertical ) {
body.clip.width = l.clip.width +proto.menuBorder;
body.clip.height = l.top + l.clip.height +proto.menuBorder;
} else {
body.clip.height = l.clip.height +proto.menuBorder;
body.clip.width = l.left + l.clip.width +proto.menuBorder;
if( body.clip.width > window.innerWidth ) body.clip.width = window.innerWidth;
var focusItem = body.document.layers[n];
focusItem.clip.width = body.clip.width;
focusItem.Menu = l.Menu;
focusItem.top = -30;
focusItem.captureEvents(Event.MOUSEDOWN);
focusItem.onmousedown = onMenuItemDown;
if( proto.menuBgOpaque ) menu.document.bgColor = proto.menuBorderBgColor;
var lite = menu.document.layers[0];
if( proto.menuBgOpaque ) lite.document.bgColor = proto.menuLiteBgColor;
lite.clip.width = body.clip.width +1;
lite.clip.height = body.clip.height +1;
menu.clip.width = body.clip.width + (proto.menuBorder * 3) ;
menu.clip.height = body.clip.height + (proto.menuBorder * 3);
} else {
if ((!document.all) && (container.hasChildNodes) && !window.mmIsOpera) {
container.innerHTML=content;
} else {
container.document.open("text/html");
container.document.writeln(content);
container.document.close();
if (!FIND("menuLayer0")) return;
var menuCount = 0;
for (var x=0; x<container.menus.length; x++) {
var menuLayer = FIND("menuLayer" + x);
container.menus[x].menuLayer = "menuLayer" + x;
menuLayer.Menu = container.menus[x];
menuLayer.Menu.container = "menuLayer" + x;
menuLayer.style.zindex = 1;
var s = menuLayer.style;
s.pixeltop = -300;
s.pixelleft = -300;
s.top = '-300px';
s.left = '-300px';
var menu = container.menus[x];
menu.menuItemWidth = menu.menuWidth || menu.menuIEWidth || 140;
if( menu.menuBgOpaque ) menuLayer.style.backgroundColor = menu.menuBorderBgColor;
var top = 0;
var left = 0;
menu.menuItemLayers = new Array();
for (var i=0; i<container.menus[x].items.length; i++) {
var l = FIND("menuItem" + menuCount);
l.Menu = container.menus[x];
l.Menu.menuItemLayers[l.Menu.menuItemLayers.length] = l;
if (l.addEventListener || window.mmIsOpera) {
l.style.width = menu.menuItemWidth + 'px';
l.style.height = menu.menuItemHeight + 'px';
l.style.pixelWidth = menu.menuItemWidth;
l.style.pixelHeight = menu.menuItemHeight;
l.style.top = top + 'px';
l.style.left = left + 'px';
if(l.addEventListener) {
l.addEventListener("mouseover", onMenuItemOver, false);
l.addEventListener("click", onMenuItemAction, false);
l.addEventListener("mouseout", mouseoutMenu, false);
if( menu.menuItemHAlign != 'left' ) {
l.hiliteShim = FIND("menuItemHilite" + menuCount + "Shim");
l.hiliteShim.style.visibility = "inherit";
l.textShim = FIND("menuItemText" + menuCount + "Shim");
l.hiliteShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
l.hiliteShim.style.width = l.hiliteShim.style.pixelWidth;
l.textShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
l.textShim.style.width = l.textShim.style.pixelWidth;
} else {
l.style.pixelWidth = menu.menuItemWidth;
l.style.pixelHeight = menu.menuItemHeight;
l.style.pixelTop = top;
l.style.pixelLeft = left;
if( menu.menuItemHAlign != 'left' ) {
var shim = FIND("menuItemShim" + menuCount);
shim[0].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
shim[1].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
shim[0].style.width = shim[0].style.pixelWidth + 'px';
shim[1].style.width = shim[1].style.pixelWidth + 'px';
if( menu.vertical ) top = top + menu.menuItemHeight+menu.menuItemBorder+menu.menuItemSpacing;
else left = left + menu.menuItemWidth+menu.menuItemBorder+menu.menuItemSpacing;
l.style.fontSize = menu.fontSize + 'px';
l.style.backgroundColor = menu.menuItemBgColor;
l.style.visibility = "inherit";
l.saveColor = menu.menuItemBgColor;
l.menuHiliteBgColor = menu.menuHiliteBgColor;
l.mmaction = container.menus[x].actions[i];
l.hilite = FIND("menuItemHilite" + menuCount);
l.focusItem = FIND("focusItem" + x);
l.focusItem.style.pixelTop = -30;
l.focusItem.style.top = '-30px';
var childItem = FIND("childMenu" + menuCount);
if (childItem) {
l.childMenu = container.menus[x].items[i].menuLayer;
childItem.style.pixelLeft = menu.menuItemWidth -11;
childItem.style.left = childItem.style.pixelLeft + 'px';
childItem.style.pixelTop = (menu.menuItemHeight /2) -4;
childItem.style.top = childItem.style.pixelTop + 'px';
l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
l.style.cursor = "hand";
menuCount++;
if( menu.vertical ) {
menu.menuHeight = top-1-menu.menuItemSpacing;
menu.menuWidth = menu.menuItemWidth;
} else {
menu.menuHeight = menu.menuItemHeight;
menu.menuWidth = left-1-menu.menuItemSpacing;
var lite = FIND("menuLite" + x);
var s = lite.style;
s.pixelHeight = menu.menuHeight +(menu.menuBorder * 2);
s.height = s.pixelHeight + 'px';
s.pixelWidth = menu.menuWidth + (menu.menuBorder * 2);
s.width = s.pixelWidth + 'px';
if( menu.menuBgOpaque ) s.backgroundColor = menu.menuLiteBgColor;
var body = FIND("menuFg" + x);
s = body.style;
s.pixelHeight = menu.menuHeight + menu.menuBorder;
s.height = s.pixelHeight + 'px';
s.pixelWidth = menu.menuWidth + menu.menuBorder;
s.width = s.pixelWidth + 'px';
if( menu.menuBgOpaque ) s.backgroundColor = menu.bgColor;
s = menuLayer.style;
s.pixelWidth = menu.menuWidth + (menu.menuBorder * 4);
s.width = s.pixelWidth + 'px';
s.pixelHeight = menu.menuHeight+(menu.menuBorder*4);
s.height = s.pixelHeight + 'px';
if (document.captureEvents) document.captureEvents(Event.MOUSEUP);
if (document.addEventListener) document.addEventListener("mouseup", onMenuItemOver, false);
if (document.layers && window.innerWidth) {
window.onresize = NS4resize;
window.NS4sIW = window.innerWidth;
window.NS4sIH = window.innerHeight;
setTimeout("NS4resize()",500);
document.onmouseup = mouseupMenu;
window.mmWroteMenu = true;
status = "";
function NS4resize() {
if (NS4sIW != window.innerWidth || NS4sIH != window.innerHeight) window.location.reload();
function onMenuItemOver(e, l) {
MM_clearTimeout();
l = l || this;
var a = window.ActiveMenuItem;
if (document.layers) {
if (a) {
a.document.bgColor = a.saveColor;
if (a.hilite) a.hilite.visibility = "hidden";
if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
a.focusItem.top = -100;
a.clicked = false;
if (l.hilite) {
l.document.bgColor = l.menuHiliteBgColor;
l.zIndex = 1;
l.hilite.visibility = "inherit";
l.hilite.zIndex = 2;
l.document.layers[1].zIndex = 1;
l.focusItem.zIndex = this.zIndex +2;
if (l.Menu.bgImageOver) l.background.src = l.Menu.bgImageOver;
l.focusItem.top = this.top;
l.focusItem.left = this.left;
l.focusItem.clip.width = l.clip.width;
l.focusItem.clip.height = l.clip.height;
l.Menu.hideChildMenu(l);
} else if (l.style && l.Menu) {
if (a) {
a.style.backgroundColor = a.saveColor;
if (a.hilite) a.hilite.style.visibility = "hidden";
if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";;
l.style.backgroundColor = l.menuHiliteBgColor;
l.zIndex = 1;
if (l.Menu.bgImageOver) l.style.background = "url(" + l.Menu.bgImageOver +")";
if (l.hilite) {
l.hilite.style.visibility = "inherit";
if( l.hiliteShim ) l.hiliteShim.style.visibility = "visible";
l.focusItem.style.pixelTop = l.style.pixelTop;
l.focusItem.style.top = l.focusItem.style.pixelTop + 'px';
l.focusItem.style.pixelLeft = l.style.pixelLeft;
l.focusItem.style.left = l.focusItem.style.pixelLeft + 'px';
l.focusItem.style.zIndex = l.zIndex +1;
l.Menu.hideChildMenu(l);
} else return;
window.ActiveMenuItem = l;
function onMenuItemAction(e, l) {
l = window.ActiveMenuItem;
if (!l) return;
hideActiveMenus();
if (l.mmaction) eval("" + l.mmaction);
window.ActiveMenuItem = 0;
function MM_clearTimeout() {
if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
mmHideMenuTimer = null;
mmDHFlag = false;
function MM_startTimeout() {
if( window.ActiveMenu ) {
mmStart = new Date();
mmDHFlag = true;
mmHideMenuTimer = setTimeout("mmDoHide()", window.ActiveMenu.Menu.hideTimeout);
function mmDoHide() {
if (!mmDHFlag || !window.ActiveMenu) return;
var elapsed = new Date() - mmStart;
var timeout = window.ActiveMenu.Menu.hideTimeout;
if (elapsed < timeout) {
mmHideMenuTimer = setTimeout("mmDoHide()", timeout+100-elapsed);
return;
mmDHFlag = false;
hideActiveMenus();
window.ActiveMenuItem = 0;
function MM_showMenu(menu, x, y, child, imgname) {
if (!window.mmWroteMenu) return;
MM_clearTimeout();
if (menu) {
var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
x = moveXbySlicePos (x, obj);
y = moveYbySlicePos (y, obj);
if (document.layers) {
if (menu) {
var l = menu.menuLayer || menu;
l.top = l.left = 1;
hideActiveMenus();
if (this.visibility) l = this;
window.ActiveMenu = l;
} else {
var l = child;
if (!l) return;
for (var i=0; i<l.layers.length; i++) {
if (!l.layers[i].isHilite) l.layers[i].visibility = "inherit";
if (l.layers[i].document.layers.length > 0) MM_showMenu(null, "relative", "relative", l.layers[i]);
if (l.parentLayer) {
if (x != "relative") l.parentLayer.left = x || window.pageX || 0;
if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
if (y != "relative") l.parentLayer.top = y || window.pageY || 0;
if (l.parentLayer.isContainer) {
l.Menu.xOffset = window.pageXOffset;
l.Menu.yOffset = window.pageYOffset;
l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
if (l.parentLayer.menuContainerBgColor && l.Menu.menuBgOpaque ) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
l.visibility = "inherit";
if (l.Menu) l.Menu.container.visibility = "inherit";
} else if (FIND("menuItem0")) {
var l = menu.menuLayer || menu;
hideActiveMenus();
if (typeof(l) == "string") l = FIND(l);
window.ActiveMenu = l;
var s = l.style;
s.visibility = "inherit";
if (x != "relative") {
s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
s.left = s.pixelLeft + 'px';
if (y != "relative") {
s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
s.top = s.pixelTop + 'px';
l.Menu.xOffset = document.body.scrollLeft;
l.Menu.yOffset = document.body.scrollTop;
if (menu) window.activeMenus[window.activeMenus.length] = l;
MM_clearTimeout();
function onMenuItemDown(e, l) {
var a = window.ActiveMenuItem;
if (document.layers && a) {
a.eX = e.pageX;
a.eY = e.pageY;
a.clicked = true;
function mouseupMenu(e) {
hideMenu(true, e);
hideActiveMenus();
return true;
function getExplorerVersion() {
var ieVers = parseFloat(navigator.appVersion);
if( navigator.appName != 'Microsoft Internet Explorer' ) return ieVers;
var tempVers = navigator.appVersion;
var i = tempVers.indexOf( 'MSIE ' );
if( i >= 0 ) {
tempVers = tempVers.substring( i+5 );
ieVers = parseFloat( tempVers );
return ieVers;
function mouseoutMenu() {
if ((navigator.appName == "Microsoft Internet Explorer") && (getExplorerVersion() < 4.5))
return true;
hideMenu(false, false);
return true;
function hideMenu(mouseup, e) {
var a = window.ActiveMenuItem;
if (a && document.layers) {
a.document.bgColor = a.saveColor;
a.focusItem.top = -30;
if (a.hilite) a.hilite.visibility = "hidden";
if (mouseup && a.mmaction && a.clicked && window.ActiveMenu) {
if (a.eX <= e.pageX+15 && a.eX >= e.pageX-15 && a.eY <= e.pageY+10 && a.eY >= e.pageY-10) {
setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 500);
a.clicked = false;
if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
} else if (window.ActiveMenu && FIND("menuItem0")) {
if (a) {
a.style.backgroundColor = a.saveColor;
if (a.hilite) a.hilite.style.visibility = "hidden";
if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";
if (!mouseup && window.ActiveMenu) {
if (window.ActiveMenu.Menu) {
if (window.ActiveMenu.Menu.hideOnMouseOut) MM_startTimeout();
return(true);
return(true);
function hideChildMenu(hcmLayer) {
MM_clearTimeout();
var l = hcmLayer;
for (var i=0; i < l.Menu.childMenus.length; i++) {
var theLayer = l.Menu.childMenus[i];
if (document.layers) theLayer.visibility = "hidden";
else {
theLayer = FIND(theLayer);
theLayer.style.visibility = "hidden";
if( theLayer.Menu.menuItemHAlign != 'left' ) {
for(var j = 0; j < theLayer.Menu.menuItemLayers.length; j++) {
var itemLayer = theLayer.Menu.menuItemLayers[j];
if(itemLayer.textShim) itemLayer.textShim.style.visibility = "inherit";
theLayer.Menu.hideChildMenu(theLayer);
if (l.childMenu) {
var childMenu = l.childMenu;
if (document.layers) {
l.Menu.MM_showMenu(null,null,null,childMenu.layers[0]);
childMenu.zIndex = l.parentLayer.zIndex +1;
childMenu.top = l.Menu.menuLayer.top + l.Menu.submenuYOffset;
if( l.Menu.vertical ) {
if( l.Menu.submenuRelativeToItem ) childMenu.top += l.top + l.parentLayer.top;
childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
} else {
childMenu.top += l.top + l.parentLayer.top;
if( l.Menu.submenuRelativeToItem ) childMenu.left = l.Menu.menuLayer.left + l.left + l.clip.width + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
else childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
if( childMenu.left < l.Menu.container.clip.left ) l.Menu.container.clip.left = childMenu.left;
var w = childMenu.clip.width+childMenu.left-l.Menu.container.clip.left;
if (w > l.Menu.container.clip.width) l.Menu.container.clip.width = w;
var h = childMenu.clip.height+childMenu.top-l.Menu.container.clip.top;
if (h > l.Menu.container.clip.height) l.Menu.container.clip.height = h;
l.document.layers[1].zIndex = 0;
childMenu.visibility = "inherit";
} else if (FIND("menuItem0")) {
childMenu = FIND(l.childMenu);
var menuLayer = FIND(l.Menu.menuLayer);
var s = childMenu.style;
s.zIndex = menuLayer.style.zIndex+1;
if (document.all || window.mmIsOpera) {
s.pixelTop = menuLayer.style.pixelTop + l.Menu.submenuYOffset;
if( l.Menu.vertical ) {
if( l.Menu.submenuRelativeToItem ) s.pixelTop += l.style.pixelTop;
s.pixelLeft = l.style.pixelWidth + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
s.left = s.pixelLeft + 'px';
} else {
s.pixelTop += l.style.pixelTop;
if( l.Menu.submenuRelativeToItem ) s.pixelLeft = menuLayer.style.pixelLeft + l.style.pixelLeft + l.style.pixelWidth + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
else s.pixelLeft = (menuLayer.style.pixelWidth-4*l.Menu.menuBorder) + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
s.left = s.pixelLeft + 'px';
} else {
var top = parseInt(menuLayer.style.top) + l.Menu.submenuYOffset;
var left = 0;
if( l.Menu.vertical ) {
if( l.Menu.submenuRelativeToItem ) top += parseInt(l.style.top);
left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
} else {
top += parseInt(l.style.top);
if( l.Menu.submenuRelativeToItem ) left = parseInt(menuLayer.style.left) + parseInt(l.style.left) + parseInt(l.style.width) + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
else left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
s.top = top + 'px';
s.left = left + 'px';
childMenu.style.visibility = "inherit";
} else return;
window.activeMenus[window.activeMenus.length] = childMenu;
function hideActiveMenus() {
if (!window.activeMenus) return;
for (var i=0; i < window.activeMenus.length; i++) {
if (!activeMenus[i]) continue;
if (activeMenus[i].visibility && activeMenus[i].Menu && !window.mmIsOpera) {
activeMenus[i].visibility = "hidden";
activeMenus[i].Menu.container.visibility = "hidden";
activeMenus[i].Menu.container.clip.left = 0;
} else if (activeMenus[i].style) {
var s = activeMenus[i].style;
s.visibility = "hidden";
s.left = '-200px';
s.top = '-200px';
if (window.ActiveMenuItem) hideMenu(false, false);
window.activeMenus.length = 0;
function moveXbySlicePos (x, img) {
if (!document.layers) {
var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
var par = img;
var lastOffset = 0;
while(par){
if( par.leftMargin && ! onWindows ) x += parseInt(par.leftMargin);
if( (par.offsetLeft != lastOffset) && par.offsetLeft ) x += parseInt(par.offsetLeft);
if( par.offsetLeft != 0 ) lastOffset = par.offsetLeft;
par = macIE45 ? par.parentElement : par.offsetParent;
} else if (img.x) x += img.x;
return x;
function moveYbySlicePos (y, img) {
if(!document.layers) {
var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
var par = img;
var lastOffset = 0;
while(par){
if( par.topMargin && !onWindows ) y += parseInt(par.topMargin);
if( (par.offsetTop != lastOffset) && par.offsetTop ) y += parseInt(par.offsetTop);
if( par.offsetTop != 0 ) lastOffset = par.offsetTop;
par = macIE45 ? par.parentElement : par.offsetParent;
} else if (img.y >= 0) y += img.y;
return y; -
okay, so please disregard my last question. I had the page set up in vector view. Hmmmm, ridiculous. THanks, though, if you took the time to research my idiocy, I appreciate it.
So this is not the computer that the device normally syncs with, iTunes is working exactly as designed.
-
Thanks for the idea. One last question..
Thanks for the replies, setting it to passive seemed to work
as I can now upload to my host. Just one last question, I've
searched the video knowledge base looking for a video on how to use
the 'Starter Pages' within Dreamweaver to no avail. When I try I
always get the same message: 'Dreamweaver stores templates in the
root folder of a site, but there are no sites defined. Please add a
site.' I have my site all layed out in Dreamweavers FTP, I can
upload and download with it and still Dreamweaver gives me this.
Any ideas?
Thanks once again allUsing FTP & RDS Server for your site means that you will
not be able to use
DW's Templates or Library items. It's usually a very bad
idea, to boot.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"John Waller" <[email protected]>
wrote in message
news:g1a9mi$qtn$[email protected]..
> F1 Dreamweaver Help files
>
> Working with Dreamweaver Sites > Setting up a
Dreamweaver site
>
> --
> Regards
>
> John Waller -
Before I buy my Canon HG20, I have one last question.
I have seen warnings various places on the net about having a powerful enough computer to work with the data produced by this camera.
I have an iMac 24 2.16 2GHz Intel Core 2 Duo with 2 MHz Memory, NVIDIA GeForce 7300 card, running OS X 10.5.6 with FCE 4.0.1.
Am I OK?
Thanks,
JimThat is a perfect machine for AVCHD editing. i use a puny Macbook and I have experienced no problems, everything is very fast. To work with AVCHD, you need an Intel processor and to have at least FCE4. 2GB of RAM is also a good idea to have (I assume that's what you meant you had when you said you had "2 MHz Memory"). From what you have said of your specs, I can't foresee any problems. If a Macbook can do it well, you can expect an iMac to do it amazingly.
Enjoy your new camcorder, I definitely am pleased with my HG21 (basically the same thing, just more memory and a viewfinder).
Message was edited by: skalicki` -
Forget the last Question. Figured it out.
Forget the last Question. Figured it out. Sorry!
It would be very useful to post your solution here for others who have the same problem (I've seen several threads on this subject).
Matt -
Can you please delete my last question
Can you please delete my last question re: iCal in the iCal forums? Thanks. I would like to write it more calmly. Also, please advise how I can change an alias. I do not see a place in "Edit My Settings."
If you look at the announcement at the top of this topic, you will see one referring to changing your alias.
Maybe you are looking for
-
Input parameter error: "string too long"
Hi, SAP4Rails and SAPNWRFC run really well now, and I have not experienced a problem for a long, long time. However, in an RFC I want to use, there is an import parameter (a plain value), which is of the type SYSUUID. The definition of this type says
-
Setting up of WF - BATCH for invoices released through workflow
Hi all, i have set up the standard workflow for the Invoice Park and post which is working perfectly for the invoices. From the inbox the invoice is released by executing the work item. when i check the invoice document, the document is not getting p
-
Why my 21.5 imac the screen checks when i play youtube videos
why my 21.5 imac the screen checks when i play youtube videos
-
Hi Experts, I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta. It's coming third position. But for some mater
-
I'm trying to install the ps3toolchain from http://ps2dev.org/ps3/Tools/Toolchain/p … 26.tar.bz2 so I can compile programs specifically for ppu/spu, but I keep having problems. I noticed that in the i686 PKGCONFIG for gcc that it required the de_DE l