Need a bit of help with Jumping in a game
I making an action game (at least for the sake of this question) and when the user presses the spacebar the character jumps. The problem is, if the character is moving right or left, and jumps while he is moving, he will stop moving in mid-air (if the spacebar is released) and just drop straight down. Example:
press right arrow key
player moves right
press space while pressing arrow key
player jumps
let go of spacebar
player drops straight down (does not continue to move right) //Problem
It's pretty simple code, actually:
/* Move player left or right */
if (pressedRight)
player.x_pos += player.x_speed;
else if (pressedLeft)
player.x_pos -= player.x_speed;
/* If spacebar is pressed */
if (pressedSpace && !player.moveUp)
player.moveUp = true;
player.y_speed = player.INITIALSPEED;
/* if you are in "jump mode" */
if (player.moveUp)
player.y_pos += player.y_speed;
player.y_speed += .25;
if (player.y_pos >= TheGround)
player.moveUp = false;
player.y_speed = 0;
public boolean keyDown(Event e, int key)
if(key==Event.LEFT)
pressedLeft = true;
if(key==Event.RIGHT)
pressedRight=true;
if(key==Event.UP)
pressedUp=true;
if(key==Event.DOWN)
pressedDown=true;
if (key == ' ')
pressedSpace = true;
repaint();
return true;
public boolean keyUp(Event e, int key)
pressedLeft=false;
pressedRight = false;
pressedSpace = false;
repaint();
return true;
}
Run this code and you'll see what I'm talking about:
import java.awt.*;
import java.applet.*;
public class Testing extends Applet implements Runnable
Thread runner;
private Image Buffer;
private Graphics gBuffer;
final int theGround = 205;
boolean pressedLeft, pressedRight, pressedSpace;
final int width = 10, height = 10;
final int INITIALSPEED = -5;
double x_pos = 100;
double y_pos = 190;
boolean moveUp = false;
double y_speed = 3;
double x_speed = 3;
//Init is called first, do any initialisation here
public void init()
//create graphics buffer, the size of the applet
Buffer=createImage(size().width,size().height);
gBuffer=Buffer.getGraphics();
public void start()
if (runner == null)
runner = new Thread (this);
runner.start();
public void stop()
if (runner != null)
runner.stop();
runner = null;
public void run()
while(true)
/* MAIN CODE*/
//Thread sleeps for 15 milliseconds here
try {runner.sleep(15);}
catch (Exception e) { }
//paint background blue
gBuffer.setColor(Color.blue);
gBuffer.fillRect(0,0,size().width,size().height);
if (pressedRight)
x_pos += 1;
else if (pressedLeft)
x_pos -= 1;
if (pressedSpace && !moveUp)
moveUp = true;
y_speed = INITIALSPEED;
if (moveUp)
y_pos += y_speed;
y_speed += .15;
if (y_pos + height + y_speed >= theGround)
moveUp = false;
y_speed = 0;
Draw();
repaint();
//is needed to avoid erasing the background by Java
public void update(Graphics g)
paint(g);
public void paint(Graphics g)
g.drawImage (Buffer,0,0, this);
public boolean keyDown(Event e, int key)
if(key==Event.LEFT)
pressedLeft = true;
if(key==Event.RIGHT)
pressedRight=true;
if (key == ' ')
pressedSpace = true;
repaint();
return true;
public boolean keyUp(Event e, int key)
pressedLeft=false;
pressedRight = false;
pressedSpace = false;
repaint();
return true;
public void Draw()
gBuffer.setColor(Color.green);
gBuffer.fillOval((int)x_pos,(int)y_pos,width,height);
gBuffer.setColor(Color.yellow);
gBuffer.drawLine(0, 200, 500, 200);
gBuffer.drawString(("Move right/left, press space, and it will stop and fall straight down! Why?"), 10, 20);
gBuffer.drawString(("Hold the spacebar down and it will work like it should."), 10, 30);
gBuffer.drawString(("ALSO, move left or right then *QUICKLY* release and move in the opposite direction."), 10, 50);
gBuffer.drawString(("-- You should see it pause for a second. Why is that?"), 10, 60);
}Sorry for some reason the tabs get messed up when I cut and pate it from JCreator. :P
PLEASE HELP!
Thanks in advance.
Similar Messages
-
Need a bit of help with css and fullscreen
I am currently doing a javaFX application for my university project, I have it everything nearly finished, but need to finish the css component to make the application "prettier" (I am not very good on graphic design to be honest). So if i could get a bit of help on this little issue I'd be very grateful.
is there any way to make fullscreen (and if possible resizing window) to instead rearranging everything to actually do a fullscreen (like the games) and everything "grows accordingly (even though in games what it usually does is to change the screen resolution, is that possible to reproduce with javaFX?) also how to remove the message and the effect on click the "esc" key to exit the fullscreen mode?
i know that removing the focus effect on an element is with the following (if a button)
.button:focused{
-fx-background-insets: 0;
}but,is there any way to remove the effect on anything focused (TextField, Combo Box, ...)? (tried with a .textfield:focused but it did not work)
also i wanted to produce the focused effect by this way but it didn't work, how should i do it? (in fact even if i try to put this line on the button:focused, the focused effect gets removed from there, because of the insets line)
#highlight{
-fx-background-insets: 2;
-fx-background-color: yellow;
public class controller extends StackPane implements Initializable{
public void highlight(){
this.getStyleClass().add("highlight");
and last thing (for the moment) the .button seems to work for all the buttons, but trying another thing like .gridpane or .textfield or .scrollpane does not seem to work, is there any way to make it work or i should add "id" to all the elements and use the # instead?i wrote all them in the same thread becsause there were a total of 4 (and could had been more) separated by ----
should i leave it how it is or open now 4 threads for each question? -
Need a bit of help with a code
Hello adobe community!
i have been fiddling around with FLASH MX and have been making a game VERY slowly.
i've picked up alot since starting and have restarted making said game MANY MANY times =D...
But i have now got a copy that is neat and clean and works really well BUT i've come into a bit of a problem.
i have _global.goldenticket = 0; on my first frame along with other variables and i have made a single location where one can aquire a "goldenticket".
now things are starting to confuse me... ive added a button inside a movie clip which if clicked "should" check if i have a golden ticket and then allow me to jump to the frame specified...
on(release){
if(goldenticket=="1"){
money -= 50;
energy -=50;
_root.gotoAndPlay("enter");
}else{
this.enabled=false;
however the button doesnt seem to see my ticket (even tho ive added a dynamic textbox to keep track of how many i have, which is 1)
ive tried many different ways to go around this but i cannot seem to get it to work...
please someone help me... in relativly simple answers please =\ im only a few days into flash learning and codeing. but im enjoying what im doing so im learning quickly.
will have my face to the screen in waiting =D
Thank you to everyone who took a look at my thread!THANK YOU!!!
REALLY quick response WITH lang i could easily understand...
mate thank you haha been wrapping my brain for hours on end with other things didnt even occure to me to slap _global infront. -
I need a "bit" of help with an 8 Puzzle
My current situation is that I need to create a working 8 puzzle with Java using a GUI. What I've currently done is at http://nale.f2g.net/EightPuzzle.java . My main problem is that when running it I get a NullPointerException at the line containing tile[blankPos].setText(tile[ndx].getText()); in the swap method.
I get a NPE when ever I use the scramble() method.
The source is the line move(rand.nextInt(4)); .Your Random rand is not instantiated nowhere. Thus it is naturally null.
Make rand in the constructor.
Here's a simpler one. You could use random swap() calls for moving/shuffling/scrambling.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import java.util.Random;
public class ObjectOrientedEightPuzzle extends JFrame implements MouseListener{
private Piece[] tile;
private Border etched = BorderFactory.createEtchedBorder();
private Color tileColor = Color.GRAY;
private Color blankColor = Color.GREEN;
private String[] label = {"1", "2", "3", "4", "", "5", "6", "7", "8"};
private JPanel pane;
public ObjectOrientedEightPuzzle(){
setTitle("ObjectOrientedEightPuzzle");
setDefaultCloseOperation(EXIT_ON_CLOSE);
pane = (JPanel)getContentPane();
pane.setLayout(new GridLayout(3,3));
setResizable(false);
setSize(400, 400);
tile = new Piece[label.length];
for(int ndx = 0; ndx < label.length; ndx++){
tile[ndx] = new Piece(label[ndx], new Position(ndx));
tile[ndx].addMouseListener(this);
pane.add(tile[ndx]);
public void mouseClicked(MouseEvent e){
Piece p = (Piece)e.getSource();
Piece blank = blankPos();
swap(p, blank);
public void mousePressed(MouseEvent e){
public void mouseReleased(MouseEvent e){
public void mouseEntered(MouseEvent e){
public void mouseExited(MouseEvent e){
private void swap(Piece clickp, Piece blankp){
int i = -1;
int[] pa;
int b = blankp.getPosition().getPos();
pa = clickp.getPosition().getNeighbor();
for (int p = 0; p < pa.length; ++p){
if (pa[p] == b){
i = p;
break;
if (i != -1){
blankp.setText(clickp.getText());
clickp.setText("");
private Piece blankPos(){
int ndx;
for(ndx = 0; ndx < label.length; ndx++){
if(tile[ndx].getText().equals("")){
break;
return tile[ndx];
public static void main(String[] args){
ObjectOrientedEightPuzzle puzzle = new ObjectOrientedEightPuzzle();
puzzle.setVisible(true);
// represent the position in the array/grid
class Position{ // 0 ... 8
int pos;
int[] neighbor;
public Position(int p){
setPos(p);
public int getPos(){
return pos;
public void setPos(int p){
pos = p;
setNeighbor(pos);
public int[] getNeighbor(){
return neighbor;
private void setNeighbor(int p){
switch (p){
case 0:
neighbor = new int[2];
neighbor[0] = 1;
neighbor[1] = 3;
break;
case 1:
neighbor = new int[3];
neighbor[0] = 0;
neighbor[1] = 2;
neighbor[2] = 4;
break;
case 2:
neighbor = new int[2];
neighbor[0] = 1;
neighbor[1] = 5;
break;
case 3:
neighbor = new int[3];
neighbor[0] = 0;
neighbor[1] = 4;
neighbor[2] = 6;
break;
case 4:
neighbor = new int[4];
neighbor[0] = 1;
neighbor[1] = 3;
neighbor[2] = 5;
neighbor[3] = 7;
break;
case 5:
neighbor = new int[3];
neighbor[0] = 2;
neighbor[1] = 4;
neighbor[2] = 8;
break;
case 6:
neighbor = new int[2];
neighbor[0] = 3;
neighbor[1] = 7;
break;
case 7:
neighbor = new int[3];
neighbor[0] = 4;
neighbor[1] = 6;
neighbor[2] = 8;
break;
case 8:
neighbor = new int[2];
neighbor[0] = 5;
neighbor[1] = 7;
break;
default:
throw new IllegalArgumentException(String.valueOf(p));
// represent the piece of the game == a JLabel disguised
class Piece extends JLabel{
private int value;
private Position pos;
private String ptext;
public Piece(String s, Position p){
super(s);
setBorder(etched);
setVerticalAlignment(CENTER);
setHorizontalAlignment(CENTER);
setFont(new Font("Courier", Font.BOLD, 30));
setOpaque(true);
ptext = s;
pos = p;
if (s.equals("")){
setBackground(blankColor);
else{
setBackground(tileColor);
try{
value = Integer.parseInt(s);
catch (NumberFormatException e){
value = -1;
public int getValue(){
return value;
public Position getPosition(){
return pos;
public String getText(){
return ptext;
public void setText(String t){
ptext = t;
if (t.equals("")){
setBackground(blankColor);
else{
setBackground(tileColor);
super.setText(t);
public void setValue(int val){
value = val;
ptext = String.valueOf(val);
if (val < 0){
ptext = "";
setText(ptext);
if (value > 0){
setBackground(tileColor);
else{
setBackground(blankColor);
} -
Need a bit of help with some theory...
I'm just looking over some past paers for my exam and I'm having trouble understanding exactly what this question is asking for:
What is an Enterprise computer system? Give an example of an Enterprise system. Critically discuss two alternative development environments that could be used to develop such a system. Suggest which development environment you would choose to develop the example enterprise system you have suggested and why.
I'm just sure exactly what it means by development enviroments, does it mean a program like JDeveloper? A couple of examples would be really handy
ThanksThink of an Enterprise computer system as nothing more than a resouce pool. A pool of database connections, persistant database objects, mail sessions, messaging sessions. Basically any resouce a developer would need to develop any type of application.
As for environments... the two I think of are Microsoft .NET and Sun's Java System Application Server Platform. Thay are basically the same in concept, microsoft just repackaged everything good about Java and called it .NET. .NET is (of course) dependant on the Microsoft OS platform, Sun/Java is not. -
I need a bit of help with my 7600GT
Alright.
My motherboard doesn't have a VGA slot, and neither does this Video Card. I understand that it is remedied with the adapters that are provided, but one must install the drivers for the DVI slots before one can do anything. I can't get any output on my monitor with the adapters because I can't see what's going on to install the drivers. I managed to install Windows by taking out my hard drive and putting it into another computer (SATA drive, btw) and I would have done the same with my video card if it weren't for the fact that no other computers in my house have PCI-E slots.
Is there any way to get the drivers onto this hard drive without having to search around town for a computer with both a SATA and a PCI-E slot?
Thanks!iamquitethen00b,
Moan Guide
Richard -
I need a bit of help with my iPhone 4...
I just backed up my phone and I'm trying to update it to iOS 7.0.4. but when I updated my ipod, everything got deleted off of it. I don't want that to happen to my phone even though I know it probably will. If I restore my iPhone and then restore backup AFTER I update my phone, will I get everything back?
Also, will everything actually be deleted or could I find them somewhere on my laptop?iamquitethen00b,
Moan Guide
Richard -
Need a little bit of help with substring...
Im very new at java programming, and need a bit of help with a problem:
Here is what I have:
System.out.print("Enter a string : ");
Scanner scan = new Scanner (System.in);
stringy = scan.nextLine();
Now I want to split the string "stringy" like this: h:hi:hip:hipp:hippo
I know this uses substring, but I can't figure out how to do it.
Any help would be great, thanks!I know about the length method, what I dont knowis
how to use the length and substring methodstogether
to solve the problem i mentioned initially. There are three ingredients to perform this task:
- String.length()
- String.substring(int start, int end)
- for-statement:
http://java.sun.com/docs/books/tutorial/java/nutsandbo
lts/for.html
Pseudo code:IN <- input String from user
LOOP FROM 0 -> IN.length()
print IN.substring(?, ?)
print ":"
END LOOP
Remember, Im very new. ;)Remember that by just handing you the solution, you
will learn far less than finding things out by
yourself.
; )Thanks a lot, i should be able to figure it out froom the pseudo code. :) -
Little bit of help with the duplication process needed
Hi
I trying to duplicate a database from one server to a remote server. They are both running windows server 2003 (my first problem) , the primary server is running oracle 11gR1 and the (hopefully) receiving server is running 11gR2(is that going to be a problem?) and I'm a little stuck on some parts of the process.
The book I'm using says to edit the listener.ora file to include a SID_DESC of the remote database. Here is my listener.ora file with the modifications
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CGARDMSTR)
(ORACLE_HOME = G:\app\administrator\product\11.1.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = CGARDMSTR)
(ORACLE_HOME =G:\app\administrator\product\11.1.0\db_1)
(SID_NAME = CGARDMSTR)
*(SID_DESC* *=*
*(GLOBAL_DBNAME* *=* cgard)
*(ORACLE_HOME* *=F:\oracle\product\11.2.0\dbhome_1)*
*(SID_NAME* *=* cgard)
(bold is what i added)
it then said to chnage my tnsnames.ora
CGARD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cgard)
CGARD5DE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARD5DEV)
CGARDMST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARDMSTR)
cgard =
*(DESCRIPTION =*
*(ADDRESS = (PROTOCOL = TCP)(HOST = live.host.local)(PORT = 1521))*
*(CONNECT_DATA =*
*(SERVER = DEDICATED)*
*(SERVICE_NAME = cgard)*
I changed the local domain to host for business reasons
The next step was to create a initialization parameter file which I am guessing is a pfile and hopefully not a spfile. It then says to only enter one param db_name and the conversion params if the filesystem is diffrent. Problem is I don't know what to do with this file, if I am suppose to switch the second database to this file then surly I would need some more params? Anyway thats the first of many questions.
When I try to run through the rman commands it describes it also trips up:
RMAN> connect auxiliary sys/*********@live.host.local
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12170: TNS:Connect timeout occurr
ed
The other database is up and connectable via sqldevloper so I'm guessing it was my configuration of listener and tnsnames
Ok to reiterate my questions are:
1) what needs to be in the pfile I create for the database thats going to receive the backup and what do I do with that file when I have made it?
2) I am pretty sure my listener and tsunamis config is completely wrong so can I have some pointers on fixing that?
3) Was the reason I could not connect to the receiving database my tns and listener config or is it something else?
Quite a few other questions but untill I know some more about the above I doubt I will be able to ask properly.
Also if this helps the book I am using is Expert Oracle Database 11g Administration and the page is 835(the method that begins on that page) and I am willing to write out the whole method if you need more details.
Oh and if you havent figured it out I am very new to this so if some of this sounds very wrong or just stupid just say what I need to change and I will get right on it.
Thanks
AlexOk so I have made some progress. Here is where I am currently at:
RMAN> RUN
2> {
3> SET NEWNAME FOR DATAFILE 1 TO 'F:\oracle\oradata\cgard\file1.dbs';
4> SET NEWNAME FOR DATAFILE 2 TO 'F:\oracle\oradata\cgard\file2.dbs';
5> SET NEWNAME FOR DATAFILE 3 TO 'F:\oracle\oradata\cgard\file3.dbs';
6> SET NEWNAME FOR DATAFILE 4 TO 'F:\oracle\oradata\cgard\file4.dbs';
7> SET NEWNAME FOR DATAFILE 5 TO 'F:\oracle\oradata\cgard\file5.dbs';
8> SET NEWNAME FOR TEMPFILE 1 TO 'F:\oracle\oradata\cgard\temp1.dbs';
9> duplicate target database
10> to cgard
11> from active database
12> pfile='F:\oracle\product\11.2.0\dbhome_1\database\initCGARD.ora';
13> }
executing command: SET NEWNAME
starting full resync of recovery catalog
full resync complete
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 19-NOV-10
using channel ORA_AUX_DISK_1
contents of Memory Script:
set newname for datafile 1 to
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS";;
set newname for datafile 2 to
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS";;
set newname for datafile 3 to
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS";;
set newname for datafile 4 to
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS";;
set newname for datafile 5 to
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS";;
backup as copy reuse
datafile 1 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS"; datafile
2 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS"; datafile
3 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS"; datafile
4 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS"; datafile
5 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS"; ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 19-NOV-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=143 device type=DISK
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
TEM01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:23:
52
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\USE
RS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
24
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00002 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
AUX01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
43
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\UND
OTBS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
17
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00005 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\RMA
N01.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/19/2010 16:25:55
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
55
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
RMAN>
I did issue the commands:
C:\Documents and Settings\Administrator>rman target /
Recovery Manager: Release 11.1.0.6.0 - Production on Fri Nov 19 13:55:40 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: CGARDMST (DBID=3160500813)
RMAN> connect catalog rman/rman
connected to recovery catalog database
RMAN> connect auxiliary sys/**********@cgard
connected to auxiliary database: CGARD (not mounted)
So I am not quite sure what it wants. I read somewhere about a password file but I don't understand how it will help, also most things I have looked at wernt clear on how to do it. I took a stab anyway:
G:\app\administrator\product\11.1.0\db_1\BIN>orapwd file=orapwcgard password=*********** entries=20 ignorecase=n
Was run on the original database host.
File was then copied to "F:\oracle\product\11.2.0\dbhome_1\database" on the receiving database's host it was then renamed to PWDcgard.ora as there was file there already with that name.
It did not help(same error).
The book I am using mentions the 'PASSWORD FILE' param to be used with the duplicate command but I cant find a example on how to use it so any help with that would be great.
Thanks for the effort so far guys its really appreciated. -
Need help with a simple basketball game.
Hi im new here and I need help with making this simple basketball game.
Im trying to recreate this game from this video. Im not sure if he is using as2 or as3
Or if anyone could help me make a game like this or direct me to a link on how to do it It would be greatly appreciated.If you couldn't tell whether it is AS2 or AS3, it is doubtful you can turn it from AS2 into AS3, at least not until you learn both languages. There is no tool made that does it for you.
-
A little bit of help with Bind variables please
Hi,
I am having a bit of trouble with bind variables I have been looking at the Dev guide and the forum to try and achieve this and it is still not happening for me, could anybody please help or point me in the right direction:
I have created a simple PersonVO with the basic query:
Select distinct full_name from xxml_people where person_id = :1
In the PersonVOImpl.java I have added the method:
public void initQuery(String personId)
Number person = null;
try
person = new Number(personId);
catch
(Exception e){}
setWhereClauseParam(1,person);
executeQuery();
Then in the PersonAM I have added the method:
public void initPersonQuery(String personId)
getPersonVO1().initQuery(personId);
I then call this method in my processRequest section of my page controller:
PersonAMImpl am = (PersonAMImpl) pageContext.getRootApplicationModule();
String personId = "581";
am.initPersonQuery(personId);
When I try and run this I get the error:
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT distinct full_name from xxml_absence_calendar where person_id = :1
java.sql.SQLException: ORA-01006: bind variable does not exist
Am I binding the variables correctly? Or am I making some stupid mistake?
I am ultimately looking to create a messageChoice where the logged in user will see a list of all organisations underneath him and the one level above. I plan to do this by passing the User’s Organisation name into a VO query using the organisation as a Bind Variable. I think once I have worked out how to bind variables this should be straight forward.
Many ThanksEven though the parameter binding values may be same, you should never use the positional param more than once. So always go for the format
select distinct full_name from xxml_people where supervisor_id = :1
UNION
select distinct full_name from xxml_people where person_id = :2
--Shiv -
Need help with jumper settings for k7n2 delta ilsr
I have a k7n2 delta ilsr and I'm using a AMD 2800+ barton 333 fsb. I'm not sure what the jumper settins are for this cpu. The users guide only shows 133/166 and 200, can anyone help me with the jumper settings.
Thanks, Ron.Hi,
As your processor is 333FSB - the jumper should be set to 166FSB as should the BIOS. As your RAM CPU combination runs at 2x166=333 or thereabouts.
Basically, as a general rule, if you halve the FSB speed of your processor you'll get the setting for both BIOS and Jumper. 200FSB=100, 266FSB=133, 333FSB=166 etc. etc.
Axel -
I'm 53 and electronically challenged. I am an artist and am re-doing my extremely simple/basic website, and would like to add jump menus. However, when I try to insert the Form Object...Jump Menu, the dialog box tries to open, but then I receive an error message "When executing...a JavaScript error occurred." After I hit OK, everything freezes up, and I have to hit the Ctl/Alt/Delete to get out of the program. I have been trying to find instructions; I went to File/Debug, but I receive a message saying the document cannot be debugged because it contains no JavaScript. Honestly, I don't even know what that is. Perhaps I'm trying for something too complicated...I really just want to add those drop-down menus which every other website seems to have. Navigating my site has become too complicated, and I would like to simplify the process. If anyone responds to this (my first forum message, ever), please use baby-computer language. Thank you very much.
Thank you for the referral. After reading and answering the first response, I was led to another question/answer about JavaScript and did go to the troubleshooting page (where I've been since writing). Not that I understand 1/10th of what it said, but on my computer I wound up here:
...\DreamweaverUltradev\Conf\Objects\Forms
It wasn't the same path as the article said (at least not on my computer), but I looked at all the "icons" and discovered that everything had at least 2 icons (Image Field has 3), but the Form Insert only had one icon, which looks to me like a dollar sign inside a box. Everything else either has what looks like an Internet Explorer symbol, or a page with a broken corner (Dreamweaver icon?). Anyway, I keep reading suggestions about reloading the program, so I guess I'll do that, unless someone can make an easier suggestion (I am terribly inept and for some reason have difficulty loading programs).
Thanks. -
Need a bit of guidance with ip helper-address on a L3 switch
Hi All,
Happy New Year!
Could some one be kind enough to have a look at a PT file for me and tell me where I am going wrong please?.
It's a practice one for a college assignment I am working on, for which I have to submit an original network, and then suggest some possible improvements. My first PT file consists of 3 LANs, all using L2 switches configured with VLANs and routing on a stick, with ip helper-address pointing to a DHCP server on one of the LANs. That all works fine.
Now I am trying to create a test network that uses a L3 switch that has VLANs, I want the end user devices to obtain addressing from a DHCP server on a separate network, I have configured the VLANs, gave them IP addresses, entered the ip helper-address, the link between the switch and router has had the "no switchport" command executed on the switch, I given the connected port on the switch a relevant IP address to the router interface it is connected to, both router and switch have OSPF configured with network statements, but DHCP requests are failing.
In simulation mode the packets are reaching the DHCP server but are not returning, and I'm a little confused as to what I have done wrong.
Attached is the PT file, please bear in mind this is just a test PT file that I have been practicing with before creating the final PT file for submission.
Any advice would be greatly appreciated.
Kind regards
JonHello Haihua,
Thank you very much for that, I do feel a little stupid now..., I completely forgot about the DG on the server.
Thanks again.
Jon -
DW CS4 Help with jump menu opening a new window.
First, I can't believe that Adobe left out an easy to use behavior to do this.
I have some jump menus, and I would like the selection to open up a new window and have the content appear there. I saw a couple of old topics here that offered some suggestions, but they didn't work for me. I could get it to open a new window, but the content was not there. I saw where you need to add a "GO" button, and add a "Open New Window"behavior to it. That is what opened the new window with new content. I do not have the "GO" buttons on the jump menus in this code, but did try it and it didn't work. If anyone can help and tell me how to do it, and where to place the code, I would greatly appreciate it.
I know this is long, but here is my code for the page.
<!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"><!-- InstanceBegin template="/Templates/Master_Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Mickey Adams Index</title>
<!-- InstanceEndEditable -->
<link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="../CSS/global.css" rel="stylesheet" type="text/css" />
<!-- InstanceParam name="SecondTitle" type="boolean" value="true" -->
<!-- InstanceParam name="SecondContent" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegionTitle_2" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegion_2" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegion1" type="boolean" value="true" -->
</head>
<body text="#000033" class="twoColFixLtHdr" title="What's New">
<div id="container">
<div id="header">
<h1>Richard Sinkler</h1>
<!-- end #header --></div>
<div id="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="../index.html">Home</a> </li>
<li><a href="../About_Me.html">About me</a></li>
<li><a href="../Calendars/Calendar_menu.html">Calendars</a></li>
<li><a href="../What's New.html">What's New</a></li>
<li><a href="../Equipment.html">Equipment</a></li>
<li><a href="../Tunings.html">Tunings</a></li>
<li><a href="../Video_and_Sound/video_menu.html">Sound & Video</a></li>
<li><a href="../web_gallery.html">Photos</a></li>
<li><a href="Mickey_Adams_Menus.html">Mickey Adams</a></li>
<li><a href="../Website_Info.html">Website Info</a></li>
<li><a href="../Contact Me.html">Contact Me</a></li>
</ul>
<p class="justHostReferral">If you would like to get your own website, please click the <span class="justHostItalics">JUST HOST</span> logo below and it will take you the sign up page. I am a <span class="justHostItalics">JUST HOST</span> affiliate and get credit for referring you to their service.</p>
<p><a href="http://stats.justhost.com/track?ca5fb2154d5aabc236853ccef2513f2ec"><img src="http://affiliates.justhost.com/control/img/banners/justhost_125x125v2.gif" /></a> </p>
<h3 class="updated">Updated 7/18/2011
<!-- end #sidebar1 -->
</h3>
<p> </p>
</div>
<div id="mainContent">
<h1><!-- InstanceBeginEditable name="PageTitle" -->Mickey Adams Video Index<!-- InstanceEndEditable --></h1>
<!-- InstanceBeginEditable name="PageContent" -->
<p class="pageContent">Click a tab to open the category. <a href="Mickey_Adams_Menus.html" class="playbackCtrlMSg">Click to go back to Menu Page</a></p>
<div id="m_a_video_index" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">BE</li>
<li class="TabbedPanelsTab" tabindex="0">BEX</li>
<li class="TabbedPanelsTab" tabindex="0">BEC</li>
<li class="TabbedPanelsTab" tabindex="0">Beginner</li>
<li class="TabbedPanelsTab" tabindex="0">Faux C6</li>
<li class="TabbedPanelsTab" tabindex="0">Uncategorized</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
<p><strong><u>BE01</u></strong><u>:Beginners: 3 Moves to Master</u> <br />
<strong><u>BE04</u></strong><u>: Simple E9 Passage, Single Note</u> <br />
<strong><u>BE06</u></strong><u>: 4-5-1 In G, Using ABC Pedals</u> <br />
<strong><u>BE07</u></strong><u>: 1-2-5 Single Note+ 3 <strong>Stops</strong></u><br />
<u>BE 109a Close Intervals in C</u><br />
<strong><u>BE11</u></strong><u>: Beginner Steel Guitar, Cold Cold Heart</u> <br />
<strong><u>BE12</u></strong><u>: Cold Cold Heart Part II</u> <br />
<strong><u>BE16</u></strong><u>: Waltz Across Texas</u> <br />
<strong><u>BE24A</u></strong><u> Big City Turnaround</u> <br />
<strong><u>BE28</u></strong><u>: Your Man, Josh Turner</u> <br />
<strong><u>BE31</u></strong><u>: Minor Chords-Moondance</u> <br />
<strong><u>BE34</u></strong><u>: 3 Moves to Master, Part II</u> <br />
<strong><u>BE36</u></strong><u> Harmonics, Overtones</u> <br />
<strong><u>BE40</u></strong><u> 2M-5-1 Faux C6 Moves for Cherokee Maiden</u></p>
<p><strong><u>BE41</u></strong><u> Second String Usage</u></p>
</div>
<div class="TabbedPanelsContent">
<p><strong><u>BEX1</u></strong><u>: A+B Repetitious Excercise, Major Key</u> <br />
<strong><u>BEX2</u></strong><u> Pick Blocking Dexterity Excercise II</u> <br />
<strong><u>BEX6A</u></strong><u>-Pick Blocking Exercise B+C, F</u> <br />
<strong><u>BEX7</u></strong><u> Speedpicking Lesson 1 Revision 1</u> <br />
<strong><u>BEX12</u></strong><u>: G Major, Lesson 2-Pedal Changes, Chord Forms</u> <br />
<strong><u>BEX14</u></strong><u>: D7, G Lever Programming, Speed</u> <br />
<strong><u>BEX16</u></strong><u>: G Major-Lesson 1</u> <br />
<strong><u>BEX16a</u></strong><u> G major Descending Exercise</u> <br />
<strong><u>BEX17</u></strong><u>: Pick-Blocking 101, Beginner Steel Guitar</u> <br />
<strong><u>BEX21</u></strong><u> Faux C6, 1-4-5-1</u> <br />
<strong><u>BEX21</u></strong><u>-2-5-1 Chord Change</u> <br />
<strong><u>BEX21</u></strong><u> Alternating Fingering Excercise</u> <br />
<strong><u>BEX21</u></strong><u> Glissando Excercise 1</u> <br />
<strong><u>BEX25</u></strong><u> Faux C6 1-5-1 in D</u> <br />
<strong><u>BEX27</u></strong><u> C Pentatonic Scale Ex1</u> <br />
<strong><u>BEX27a</u></strong><u> C Pentatonic Ex2</u> <br />
<strong><u>BEX27b </u></strong><u>A Blues Pattern</u> <br />
<strong><u>BEX28</u></strong><u> Pedal & Lever Excercises for Beginners</u> <br />
<strong><u>BEX 92</u></strong><u> D7 Exercise</u> <br />
<strong><u>BEX 93</u></strong><u> 2 String Exercise, Lever I, Pedal H</u></p>
</div>
<div class="TabbedPanelsContent">BEC
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 1</div>
<div class="AccordionPanelContent">
<p><u>BEC4: Blue Eyes Elton John</u> <br />
<u>BEC6 Broken Wing</u> <br />
<u>BEC15: Goin Through the Big "D"</u> <br />
<u>BEC25: I Sang Dixie, Take II</u> <br />
<u>BEC31: Beginner Steel-Longer, Fogelberg</u> <br />
<u>BEC32: Longer, Flute Solo, Fogelberg</u> <br />
<u>BEC35: Nobody In His Right Mind</u> <br />
<u>BEC41: Too Cold At Home Intro, Mark Chestnutt</u> <br />
<u>BEC45: Teach Your Children: Intro</u> <br />
<u>BEC48: Take Your Memory With You</u> <br />
<u>BEC52 Thinking Thing Intro</u> <br />
<u>BEC54: What A Wonderful World</u> <br />
<u>BEC66: Solo, Look At Us</u> <br />
<u>BEC69: Somewhere Over The Rainbow, Bridge</u> <br />
<u>BEC73: Empty Glass Intro</u> <br />
<u>BEC77: Set-em Up Joe Vern Gosdin</u> <br />
<u>BEC78- So Much It Hurts Me Part 1</u> <br />
<u>BEC78a So Much It Hurts Me Part 2</u> <br />
<u>BEC81, Who Needs You Baby, Clay Walker</u> <br />
<u>BEC82 City Lights</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 2</div>
<div class="AccordionPanelContent">
<p><u>BEC83 Save The Honky Tonks, Mark Chestnutt</u> <br />
<u>BEC84 Faux C6, Deep Water Intro, Beginners</u> <br />
<u>BEC85 There's your Trouble Intro</u> <br />
<u>BEC86 Panama Red Intro, Remake</u> <br />
<u>BEC88 Diamond Rio One More Day Intro</u> <br />
<u>BEC89 Turnaround In C</u> <br />
<u>BEC89 Oh Little Town of Bethlehem</u> <br />
<u>BEC90 I Had A Beautiful Time, Solo</u> <br />
<u>BEC91 White Christmas</u> <br />
<u>BEC91a White Christmas</u> <br />
<u>BEC91c White Xmas, Improvising</u> <br />
<u>BEC92 Farewell Party Intro Simplified</u> <br />
BEC 92a Farewell Party Solo, Mike Johnson<br />
<u>BEC93-This Ain’t My First Rodeo-Intro</u> <br />
<u>BEC-94 Third Rate Romance Solo</u> <br />
<u>BEC-95 Crazy Arms Intro, Patty Loveless</u> <br />
<u>BEC-96 Bar Room Roses Intro Troy Cassar Daley</u> <br />
<u>BEC-97 Close Up the Honky Tonks-Intro</u> <br />
<u>BEC98-Turnaround 5-1, BC,+E-lever</u> <br />
<u>BEC-99 Single Note Run in D</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 3</div>
<div class="AccordionPanelContent">
<p><u>BEC 100 Different Light Doug Stone Intro E9</u> <br />
<u>BEC 100 When Love Comes Around Intro Alan</u> <br />
<u>BEC 100 Take It Easy</u> <br />
<u>BEC101 Fourteen Minutes Old Intro Doug Stone</u> <br />
<u>BEC101 Bars Of Steel Bridge</u> <br />
BEC 101 Beneath Still Waters<br />
<u>BEC 102 Could I Have This Dance Intro</u> <br />
<u>BEC 103 Bars of Steel, Bridge</u> <br />
<u>BEC 106 Legend In My Time</u> <br />
<u>BEC107 When Did You Stop Loving Me Intro</u> <br />
<u>BEC 109 Getting Over You Again Intro Gene Watson</u> <br />
<u>BEC 110 Baby Thats Cold Intro</u> <br />
<u>BEC 111 Panama Red Solo Part 1</u> <br />
<u>BEC 111a Panama Red Solo, Part II</u> <br />
<u>BEC 111 Where Have I Been All My Life Intro</u> <br />
<u>BEC-112 Help Me Make it Through the Night.mpg</u> <br />
<u>BEC-118 Faux C6-1-6-2-5.mpg</u> <br />
<u>BEC-113 Way To Survive, Lesson 1.mpg</u> <br />
<u>BEC113a Way to Survive Lesson 2.mpg</u></p>
</div>
</div>
</div>
</div>
<div class="TabbedPanelsContent">
<p><u>Beginner Steel Guitar, Cmajor in 3rds</u> <br />
<u>Beginner Pedal Steel, Cross Picking, B Pedal</u> <br />
<u>Beginner Steel Guitar: San Antonio Rose</u> <br />
<u>Beginner Steel Guitar: Wonderful Tonight</u> <br />
<u>Beginner Steel Guitar: Oceanfront Property</u> <br />
<u>Beginner Steel-When you Say Nothing At All</u> <br />
<u>Memphis Tennessee, Beginner Steel Guitar</u> <br />
<u>Beginner Steel Guitar, Major Scale Excercise</u> <br />
<u>Beginner Steel, Amazing Grace</u></p>
</div>
<div class="TabbedPanelsContent">
<p><u>Walking After Midnight Faux C6</u> <br />
<u>All My Ex's Intro Faux C6 for the E9 Neck</u> <br />
<u>Faux C6 Turnaround in A</u> <br />
<u>5 1 Faux C6, Single note Passage</u></p>
</div>
<div class="TabbedPanelsContent">
<div id="Accordion2" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Uncategorized pg. 1</div>
<div class="AccordionPanelContent">
<p><u>Simple Intro in C</u> <br />
<u>Panama Red Intro E9 Pedal Steel Guitar</u> <br />
<u>Danny Boy, E9</u> <br />
<u>Highway 40 Blues Intro, E9</u> <br />
<u>Diatonic Scale Movement In G</u> <br />
<u>1-7-4 1-2-4-5-1 Pedal Steel Guitar Intro</u> <br />
<u>1-4 Counterpoint Move in F, Very Effective</u> <br />
<u>Gene Watson Intro-Got No Reason Now for Going</u> <br />
<u>BIG CITY! Merle Haggard, Simple, Straightforward</u> <br />
<u>Someday Soon!..Simple, Great Solo!</u> <br />
<u>Texas Tornado, Tracy Lawrence, Intro and Solo</u> <br />
<u>Pick Dragging: Technique, Short Clip</u> <br />
<u>Key-A Turnaround, Blues/Diminished Walk</u> <br />
<u>Hello Trouble-JayDee Maness/ Desert Rose-</u> <br />
<u>Memories To Burn, Solo, Gene Watson</u> <br />
<u>When I Call Your Name</u> <br />
<u>Cross My Heart Solo, George Strait</u> <br />
<u>But For the Grace of God, Keith Urban</u> <br />
<u>I Never Go Around Mirrors, Gene</u> <br />
<u>Cryin My Heart Out, Ricky Skaggs</u> <br />
<u>Lonesome LA Cowboy Solo, Buddy Cage</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Uncategorized pg. 2</div>
<div class="AccordionPanelContent">
<p><u>Teach Your Children:Quick Solo</u> <br />
<u>1982 Intro:Randy Travis</u> <br />
<u>Check Yes or No</u> <br />
<u>Fire On The Mountain, Marshall Tucker</u> <br />
<u>Buds Bounce, Simplified, Part 1</u> <br />
<u>Tonight The Heartache's On Me, Solo, Dixie Chicks</u> <br />
<u>Heartbroke, Steel Chords</u> <br />
<u>Funny How Time Slips Away</u> <br />
<u>Bars of Steel</u> <br />
<u>Blue, Leann Rimes</u> <br />
<u>Supernaw-Wishing Her well, Intro</u> <br />
<u>Look At Us, Johny Hughey, Intro</u> <br />
<u>Over The Rainbow Verse</u> <br />
<u>Discussion, Right Hand</u> <br />
<u>Verse, Help Me Make It Through The Night</u> <br />
<u>Rolling Pick Technique 2-5-1</u> <br />
<u>3 Octave Descending D7 Single Note Run</u> <br />
<u>Descending 5-1 Turnaround in A</u> <br />
<u>Pick Blocking Dexterity Excercise 1</u> <br />
<u>Alone In SanAntone</u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("m_a_video_index", {defaultTab:2});
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
var Accordion2 = new Spry.Widget.Accordion("Accordion2");
//-->
</script>
<!-- InstanceEndEditable -->
<h2>
<!-- end #mainContent -->
</h2>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="clear"></div>
<div id="footer">
<p><a href="../index.html" class="footer_links">Home</a> <a href="../About_Me.html" class="footer_links">About Me</a><a href="../Calendars/Calendar_menu.html" class="footer_links">Calendars</a> <a href="../Equipment.html" class="footer_links">Equipment</a> <a href="../Tunings.html" class="footer_links"> Tunings</a> <a href="../Video_and_Sound/video_index.html" class="footer_links">Sound & Video</a><a href="../web_gallery.html" class="footer_links">Photos</a><a href="Mickey_Adams.html" class="footer_links">Mickey Adams </a><a href="../Website_Info.html" class="footer_links">Website Info</a><a href="../Contact Me.html" class="footer_links">Contact Me</a></p>
<p class="copyright"><span class="copyright"><span class="circleC"><span class="copyright"><span class="circleC">©</span></span></span><span class="copyright"> Copyright 2011 - Richard Sinkler - All Rights Reserved</span></span></p>
<p class="copyright"><span class="copyright"><span class="copyright">Website designed by Richard Sinkler</span></span></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>I'm confused by your post and code. Adobe has a function to do this. In the Insert Toolbar under the Tab "Forms" there is an option to create a jump menu. The only options that menu gives you is the same window or a frame on the page (a very outdated action looking at it now). But with basic knowledge of links you insert the menu and you will get code like:
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
The "parent" denotes that this will open in the same window. If you change that to "blank" then it will open in a new window. A "Go" button is optional and also available in the DW GUI when you set up a jump menu.
http://www.w3schools.com/tags/att_a_target.asp
Maybe you are looking for
-
Follow up material with different base unit of measure
Hi all, I have the BOM with material Mat1 as a component. The base unit of measure of Mat1 is KG. Is it possible to replace Mat1 with Mat 2 material in MRP once the Mat1 warehouse stock is depleted. The base unit of measure of Mat 2 is KGK. The requi
-
How to validate Emails in a Page
Hi, I've two items in a data entry screen(page1) say user email,manager email. After entering all mandatory values when I hit submit button it should raise error if email items are null or not valid?so if I enter @yahoo.com should raise error saying
-
I have Photoshop CC why is my 3D menu grayed out?
I have Photoshop CC why is my 3D menu grayed out? I preferences it says open GLDrawing must be enabled to use these settings. What does that mean?
-
Script to compare membership ( members + member of ) for groups in 2 domains
There are 2 separate domains with same group names that were migrated. Is there a way / script in place to compare the members and member of attributes for a list of such groups ?
-
App performance influenced by hardware power?
Is flash app performance in anyway influenced by the hardware of the device?the ipad3 is coming out in few days and i was wondering if apps that used to run bad on ipad2/iphone4 are going to run good on the new ipad.Iphone 4S was at least twice as fa