Help with Positioning a div in relation to another div
I'm working on this website - http://soleproductions.com/virgilcardin/index.htm
I want to position the "7 Days a Week" waterdrop image just to the right of "Call Us Today..." text.
Here is my logic....
I created a div called "7daysaweek" and placed it inside the "largeimage" div and set the "largeimage" div to Relative so I could use absolute positioning of the "7daysaweek" div and set 7days div to 0 bottom, 0 right but it remains at the top left corner of the largeimage div. What am I missing?
Here is my HTML
<div id="largeimage">
<div id="7daysaweek"><img src="../images/7-days-a-week.png" width="114" height="178" alt="7 Days a Week" /></div>
</div>
Here is my CSS
#largeimage {
height: 409px;
width: 900px;
background-image: url(images/virgil-cardin-truck1-large.jpg);
background-repeat: no-repeat;
position: relative;
#7daysaweek {
height: 178px;
width: 114px;
right: 0px;
bottom: 0px;
position: absolute;
Design View isn't reliable. Use Live View or Preview in browsers.
Leading numbers like "7" are not allowed in CSS selector names. The selector name must begin with a letter.
Try this (inline styles used here for expediency):
<div id="waterDrop" style="position:absolute; top:22px; left: 800px"><img src="images/7-days-a-week.png" alt="7 Days a Week" height="178" width="114">
</div>
Nancy O.
Similar Messages
-
Help with placement of div tags
Hello. I am sorry to ask what probably is a dumb question, but I'm new, using Dreamweaver CS5, and I need some help. I'm sure I'll be posting here a few times during this process of building a new site, but I'm hoping it can be a good way for me to learn. I've watched a lot of tutorial videos, and so here I am.
I have my site, but I'm having problems being able to place div tags. I set it up with a wrapper div, a header div, a content div, footer div, etc. But, inside those divs I want to have other div's where I can place things like a client login box, etc. So, I tried and tried to place them after one div, or before one, but I just can't get them to work right. I'm very proficient at Photoshop, but web work is fairly new. I've done a few sites, but in Golive and just basic bringing them in from Photoshop. Now I want to learn correctly, so I'm trying all of this.
I found a way to make a box, using AP Div tag, and then move that where I want it, but, it doesn't work right for me then. I don't want it fixed in the same spot absolutely, but rather I want it to move with the page. I'm going to post a link to the site I'm working on, in case that helps. But, if you look at the site so far, you can see for example I want the text box that says client login to move as you make the page wider or smaller. It's fixed now. But, it's the only possible way I know how to put the box and div tag where I want it. When I just try to insert a div tag (not an AP div) it just goes underneath the div above it.
What I'm asking is, how do I place div's within div's? Or, can I use this AP div to put it where I want, and then change it to a regular div, and it stay in the right spot? I just don't understand how exactly to place divs where I want them, unless I use the AP div box and move it around the screen. Also, if I have a div box setup, is there a way to drag it somewhere else or reposition it somewhere else on the screen just by dragging? It's all a bit hard for me to figure out at this point, but I appreciate any help you can give me.
The AP Div I used is at the top that says client login. That's the box/table/div tag I'm trying to set up correctly, so it moves with the other elements, like the logo, as you make the page wider or less wide.
Here is the link:
http://www.gagephotography.com/boudoir/boudoirsite/index4.html
Thank you again.DW is not drag & drop friendly like graphics or word processing apps.
APDivs are NOT for primary layouts. They are for special situations and should be handled with care or you'll end up with a mess. Here is why:
http://apptools.com/examples/pagelayout101.php
The best advice I can offer is to familiarize yourself with HTML markup (content) and CSS (styles) before you even open Dreamweaver. Without a working knowledge of code, you're not going to get good results.
Start here:
HTML & CSS Tutorials - http://w3schools.com/
Learn CSS positioning in 10 Steps
http://www.barelyfitz.com/screencast/html-training/css/positioning/
How to Develop with CSS?
http://phrogz.net/css/HowToDevelopWithCSS.html
New DW Starter Pages --
http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
Creating your first web site in DW CS5 -
http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
I have to calculate minutes to debit from an account based on
the call length (rounded to the next full minute). But I'm having
issues since I don't know the CF syntax for what I need to do.
Here is my test code (the call "Length" is dynamic in the
real application):
<cfoutput>
<cfset Length = 90>
<cfset xMin = Round(#Length#/60)>
<cfset yMin = (#Length# Mod 60)>
xMin = #xMin#<br />
yMin = #yMin#<br />
<CFIF yMin GT 0>
<cfset xMin = (xMin + 1)>
</CFIF>
Minutes Debited = #xMin#<br />
</cfoutput>
Right now, that outputs 3 minutes, and it should be 2 (but
it's 3 because of the "Round" function, obviously)
I'd LIKE to be able to write this: <cfset xMin = (#Length#
DIV 60)>
How would I do that in ColdFusion? I don't have my books
handy and I've tried looking it up online, but only find results
dealing with the HTML div tag which isn't what I need. Hard to look
up something when you don't know what you're looking for. Ugh. I'm
hoping someone can help. I'm sure it's something simple.
thanks!I think what you're looking for is the ceiling function which
"Determines the closest integer that is greater than a specified
number."
<cfset xMin = Ceiling(Length/60)> -
Hi! So, I am new to DreamWeaver and need assistance. I am working on using AP Divs to position images. I place them where I want via the Design tab and then when I preview it in IE 7 it is in a completely different place. Up until this point, I have just made the adjustments by flipping back and forth between my browser and DW Design display and using margins. You can see I did this for my sidebar links (Home, Overview etc.). Even though on the design screen it looks like I am overlapping my header, when I go out to IE, it looks fine. However, for this graphic organizer that I am working on, it will be too difficult. I will post screen shots of what I am talking about below. Can anyone tell me why this is happening and how to get it stopped? I have never had problems with this before when I have done websites. Do you think I have something wrong in my HTML code or CSS? As you can tell, I am a beginner. Any help would be appreciated! Also, I have a quesiton about the my links in my sidebar. Does anyone know how to put more space in between the words vertically (you can see the links in my second pic below)? Thanks!
How to Get Help Quickly
http://forums.adobe.com/thread/470404
HTML & CSS Tutorials - http://w3schools.com/
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
APDivs as a primary layout method seldom works well. Here is why:
http://apptools.com/examples/pagelayout101.php
Learn CSS Positioning in 10 Steps -
http://www.barelyfitz.com/screencast/html-training/css/positioning/
Use CSS line-height, margins and padding to add space between headings, paragraphs or list items.
Related Link:
CSS Box model
http://css-tricks.com/the-css-box-model/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
PLS HELP WITH POSITIVE PAY INTERFACE
Please help me with the following:
1) What is Positive Pay?
2) How do we configure Positive Pay which will include an interface to the 3 different bank accounts. It will send Check Number, Amount, Date, and Payee to the banks. What configuration is supposed to be done from a Functional FI-AP Consultant's side in AP. All the house banks and other bank related information is all configured. Please provide detailed answer on this.
THanks
LaksHi,
Possitive pay file is used for check extraction. Through FCHX we can create a file of checks belongs to paying company code. Here the data is sorted according to accounting number and check number. With the using of this we can know the encashed checks, individual payment methods, amounts, void reason codes etc.
Here we can change the format according to our Bankers requirement.
Thanks & Regards
Sunitha. -
Help with floating a Div tag?
I am having difficulty properly floating a div tag in my site. The page is http://www.planetwhistler.com/bandbs.html The Div on the bottom of the second column with 'content for right_bandb_div' goes here will not properly float to the right of the Div to the left of it. I have floated the 'right_bandb_' div to the left with enough of a margin to clear the div tag in the first column, I have also put the code for 'right_bandb' before the code for the div to the left of it but for some reason it won't properly place itself. Thanks for any help provided.
I realize my Template isn't exactly like yours, but you can learn from it.
http://alt-web.com/TEMPLATES/CSS-centered-round-boxes.shtml
1) apply min-height values to all your .boxes.
2) add a float clearing between rows.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Help with mtoolkit files - are these related to java?
Dell Inspiron 6000, Running Windows XP. Computer has worked perfectly all along. Today I noticed that the remove button from Add and Remove Programs was missing. Then I noticed that there are tons of new programs listed - looks like many of them are mtoolkit files according to some research I've done. Some forums say they are unique to Dell some say they are related to java. I am looking for a definitive answer to what these files are, why they showed up after two years and if I can delete them ? and if so, how to delete them because they don't show up in a search and there is no remove function in Add/Remove programs. Here is a partial list
mCore
mDrWiFi
mHlpDell
mIWA
mIWCA
mLogview
mMHouse
mPfMgr
mPfWiz
mProSafenot related to any Java stuff I've ever seen. If they have anything to do with Java it'll be because Dell has some Java application :)
-
Please check my site
http://www.kloofharvest.co.za/new
and tell me why i have a gap between my header and spry menu and
how to get rid of it... the spry code is below:
var Spry;
if(!Spry)
Spry = {};
if(!Spry.Widget)
Spry.Widget = {};
// Constructor for Menu Bar
// element should be an ID of an unordered list (<ul>
tag)
// preloadImage1 and preloadImage2 are images for the
rollover state of a menu
Spry.Widget.MenuBar = function(element, opts)
this.init(element, opts);
Spry.Widget.MenuBar.prototype.init = function(element, opts)
this.element = this.getElement(element);
// represents the current (sub)menu we are operating on
this.currMenu = null;
var isie = (typeof document.all != 'undefined' &&
typeof window.opera == 'undefined' && navigator.vendor !=
'KDE');
if(typeof document.getElementById == 'undefined' ||
(navigator.vendor == 'Apple Computer, Inc.' && typeof
window.XMLHttpRequest == 'undefined') || (isie && typeof
document.uniqueID == 'undefined'))
// bail on older unsupported browsers
return;
// load hover images now
if(opts)
for(var k in opts)
var rollover = new Image;
rollover.src = opts[k];
if(this.element)
this.currMenu = this.element;
var items = this.element.getElementsByTagName('li');
for(var i=0; i<items.length; i++)
this.initialize(items
, element, isie);
if(isie)
this.addClassName(items, "MenuBarItemIE");
items
.style.position = "static";
if(isie)
if(this.hasClassName(this.element, "MenuBarVertical"))
this.element.style.position = "relative";
var linkitems = this.element.getElementsByTagName('a');
for(var i=0; i<linkitems.length; i++)
linkitems.style.position = "relative";
Spry.Widget.MenuBar.prototype.getElement = function(ele)
if (ele && typeof ele == "string")
return document.getElementById(ele);
return ele;
Spry.Widget.MenuBar.prototype.hasClassName = function(ele,
className)
if (!ele || !className || !ele.className ||
ele.className.search(new RegExp("\\b" + className + "\\b")) == -1)
return false;
return true;
Spry.Widget.MenuBar.prototype.addClassName = function(ele,
className)
if (!ele || !className || this.hasClassName(ele, className))
return;
ele.className += (ele.className ? " " : "") + className;
Spry.Widget.MenuBar.prototype.removeClassName = function(ele,
className)
if (!ele || !className || !this.hasClassName(ele,
className))
return;
ele.className = ele.className.replace(new RegExp("\\s*\\b" +
className + "\\b", "g"), "");
// addEventListener for Menu Bar
// attach an event to a tag without creating obtrusive HTML
code
Spry.Widget.MenuBar.prototype.addEventListener =
function(element, eventType, handler, capture)
try
if (element.addEventListener)
element.addEventListener(eventType, handler, capture);
else if (element.attachEvent)
element.attachEvent('on' + eventType, handler);
catch (e) {}
// createIframeLayer for Menu Bar
// creates an IFRAME underneath a menu so that it will show
above form controls and ActiveX
Spry.Widget.MenuBar.prototype.createIframeLayer =
function(menu)
var layer = document.createElement('iframe');
layer.tabIndex = '-1';
layer.src = 'javascript:false;';
menu.parentNode.appendChild(layer);
layer.style.left = menu.offsetLeft + 'px';
layer.style.top = menu.offsetTop + 'px';
layer.style.width = menu.offsetWidth + 'px';
layer.style.height = menu.offsetHeight + 'px';
// removeIframeLayer for Menu Bar
// removes an IFRAME underneath a menu to reveal any form
controls and ActiveX
Spry.Widget.MenuBar.prototype.removeIframeLayer =
function(menu)
var layers = menu.parentNode.getElementsByTagName('iframe');
while(layers.length > 0)
layers[0].parentNode.removeChild(layers[0]);
// clearMenus for Menu Bar
// root is the top level unordered list (<ul> tag)
Spry.Widget.MenuBar.prototype.clearMenus = function(root)
var menus = root.getElementsByTagName('ul');
for(var i=0; i<menus.length; i++)
this.hideSubmenu(menus
this.removeClassName(this.element, "MenuBarActive");
// bubbledTextEvent for Menu Bar
// identify bubbled up text events in Safari so we can ignore
them
Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
return (navigator.vendor == 'Apple Computer, Inc.'
&& (event.target == event.relatedTarget.parentNode ||
(event.eventPhase == 3 && event.target.parentNode ==
event.relatedTarget)));
// showSubmenu for Menu Bar
// set the proper CSS class on this menu to show it
Spry.Widget.MenuBar.prototype.showSubmenu = function(menu)
if(this.currMenu)
this.clearMenus(this.currMenu);
this.currMenu = null;
if(menu)
this.addClassName(menu, "MenuBarSubmenuVisible");
if(typeof document.all != 'undefined' && typeof
window.opera == 'undefined' && navigator.vendor != 'KDE')
if(!this.hasClassName(this.element, "MenuBarHorizontal") ||
menu.parentNode.parentNode != this.element)
menu.style.top = menu.parentNode.offsetTop + 'px';
if(typeof document.uniqueID != "undefined")
this.createIframeLayer(menu);
this.addClassName(this.element, "MenuBarActive");
// hideSubmenu for Menu Bar
// remove the proper CSS class on this menu to hide it
Spry.Widget.MenuBar.prototype.hideSubmenu = function(menu)
if(menu)
this.removeClassName(menu, "MenuBarSubmenuVisible");
if(typeof document.all != 'undefined' && typeof
window.opera == 'undefined' && navigator.vendor != 'KDE')
menu.style.top = '';
menu.style.left = '';
this.removeIframeLayer(menu);
// initialize for Menu Bar
// create event listeners for the Menu Bar widget so we can
properly
// show and hide submenus
Spry.Widget.MenuBar.prototype.initialize = function(listitem,
element, isie)
var opentime, closetime;
var link = listitem.getElementsByTagName('a')[0];
var submenus = listitem.getElementsByTagName('ul');
var menu = (submenus.length > 0 ? submenus[0] : null);
var hasSubMenu = false;
if(menu)
this.addClassName(link, "MenuBarItemSubmenu");
hasSubMenu = true;
if(!isie)
// define a simple function that comes standard in IE to
determine
// if a node is within another node
listitem.contains = function(testNode)
// this refers to the list item
if(testNode == null)
return false;
if(testNode == this)
return true;
else
return this.contains(testNode.parentNode);
// need to save this for scope further down
var self = this;
this.addEventListener(listitem, 'mouseover', function(e)
if(self.bubbledTextEvent())
// ignore bubbled text events
return;
clearTimeout(closetime);
if(self.currMenu == listitem)
self.currMenu = null;
// show menu highlighting
self.addClassName(link, hasSubMenu ?
"MenuBarItemSubmenuHover" : "MenuBarItemHover");
if(menu && !self.hasClassName(menu,
"MenuBarSubmenuVisible"))
opentime =
window.setTimeout(function(){self.showSubmenu(menu);}, 250);
}, false);
this.addEventListener(listitem, 'mouseout', function(e)
if(self.bubbledTextEvent())
// ignore bubbled text events
return;
var related = (typeof e.relatedTarget != 'undefined' ?
e.relatedTarget : e.toElement);
if(!listitem.contains(related))
clearTimeout(opentime);
self.currMenu = listitem;
// remove menu highlighting
self.removeClassName(link, hasSubMenu ?
"MenuBarItemSubmenuHover" : "MenuBarItemHover");
if(menu)
closetime =
window.setTimeout(function(){self.hideSubmenu(menu);}, 600);
}, false);Welcome to the Pages discussions, therightjenn!
You can reposition the page number. There is a tab between the title and the title number. Turn on Show invisibles and you'll see it.
Select the TOC and then move the tab stop on the ruler to desired position.
!http://a.imageshack.us/img690/9589/titletabs.jpg! -
Help with positioning text links over image
I'm creating a five page site with a different background
color for each horizontal nav bar. I created a solid color graphic
(780 x 30) and inserted it into my div. I now want to place my text
links over the graphic but I can't seem to do it. It keeps
appearing underneath. Someone recommended using a table and I'm
wondering if this would be easier.
Thanks!You have to use the image as a background image in your
'navcontainer' <div>
#navcontainer {
background-image: url(images/nav_services.gif);
background-repeat: no-repeat;
If you actually insert the image into the page, as you have
done, it
WILL push the text links down because its ABOVE them on the
page.
Ruby7829 wrote:
> I'm creating a five page site with a different
background color for each
> horizontal nav bar. I created a solid color graphic (780
x 30) and inserted it
> into my div. I now want to place my text links over the
graphic but I can't
> seem to do it. It keeps appearing underneath. Someone
recommended using a
> table and I'm wondering if this would be easier.
>
> Thanks!
>
> <div id="navcontainer"><img
src="images/nav_services.gif" />
> <ul id="navlist">
> <li id="active"><a href="test_index.html"
id="current">Home</a></li>
> <li><a
href="test_services.html">Services</a></li>
> <li><a
href="test_faq.html">FAQ</a></li>
> <li><a
href="test_testimonials.html">Testimonials</a></li>
> <li><a
href="javascript">Contact</a></li>
> </ul>
> </div>
>
>
> #navcontainer ul
> {
> text-align: center;
> padding: 0px 0px;
> margin: 0;
> color: white;
> width: 100%;
> line-height: 18px;
> }
>
> #navcontainer ul li
> {
> display: inline;
> padding-left: 0;
> padding-right: 0;
> padding-bottom: 5px;
> /* matches link padding except for left and right */
> padding-top: 5px;
> }
>
> #navcontainer ul li a
> {
> padding-left: 10px;
> padding-right: 10px;
> padding-bottom: 5px;
> padding-top: 5px;
> color: white;
> text-decoration: none;
> }
>
> #navcontainer ul li a:hover
> {
> color: #CCCC99;
> }
> -
amy phone is stuck in portrait position, i want it to go to landscaqpe, but does not. what setting do I go to fo fix this>? thanks
Hello nini05,
I see that you are a fellow Bionic owner! I LOVE my Bionic! It’s super fast and surprisingly versatile. The Bionic is definitely my go to phone while I’m on the go! May I ask were you able to resolve the screen issue? The steps that HighDesert are great as they are SUPER accurate, thanks HighDesert! IF you are still experiencing an issue with the screen rotation then try to remove the battery from the phone then retest, once the battery is re-applied of course! As a plan B, if the battery pull doesn’t work then the final step would be a factory data reset. Below is a link on how to complete the reset.
http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=46649
As always, I encourage that a back u is done of all personal information on the device prior to completing a factory reset. Contacts can be archived using Backup Assistant Plus. Also, contacts and calendar entries can be transferred to the Gmail account that’s on the phone. Once the reset is complete, the phone would need to be reactivated and setup. There is a brief tutorial on how to do then upon boot up. Once the device is setup, I suggest testing the screen rotation to confirm that the issue is resolved. If you could be so kind to post your findings after you can completed one of the steps above then that would be great for other community members to know what to do!
Thank you…
ArnettH_VZW
Follow us on Twitter @VZWSupport -
HI all,
I don't know how to organize my logo table in a way that it
makes sense and works on many browsers.
I was wondering if someone could show how to code it in the
right way.
I know the dropdown menu doesn't work on Netscape browsers. I
will create a new one, but I still need help organizing this table.
Please help me! The address is:
http://www.northshoreclassifieds.com/new_classifieds/sites/index.html
Thank you!Salabinha wrote:
> HI all,
>
> I don't know how to organize my logo table in a way that
it makes sense and
> works on many browsers.
> I was wondering if someone could show how to code it in
the right way.
> I know the dropdown menu doesn't work on Netscape
browsers. I will create a
> new one, but I still need help organizing this table.
Please help me! The
> address is:
>
http://www.northshoreclassifieds.com/new_classifieds/sites/index.html
>
> Thank you!
>
what do you mean exactly by that ... or better, what do you
want it to
look like?
Anurag -
Help with Positioning Layers is Browser
Hello,
I'm new to Dreamweaver, and I'm having trouble getting past
this first stage:
I want to begin with a background picture, and put blocks of
text on top of the picture in certain areas ( I have been putting
the text in layers). I have an image inserted into a table so that
it stays centered in the browser. When I view the image with the
text on top (in layers) in the browser though, the text is not
aligned the way it appears in dreamweaver. It is always off center
towards the left.
Is it possible to design the layout so that the text or
whatever is in the layer can overlap on top of an image? Maybe I am
going by this the wrong way.
Thanks,
DanHello,
I'm new to Dreamweaver, and I'm having trouble getting past
this first stage:
I want to begin with a background picture, and put blocks of
text on top of the picture in certain areas ( I have been putting
the text in layers). I have an image inserted into a table so that
it stays centered in the browser. When I view the image with the
text on top (in layers) in the browser though, the text is not
aligned the way it appears in dreamweaver. It is always off center
towards the left.
Is it possible to design the layout so that the text or
whatever is in the layer can overlap on top of an image? Maybe I am
going by this the wrong way.
Thanks,
Dan -
I have sorted the problem - please ignore
On Fri, 20 Jul 2007 20:05:44 +0000 (UTC), "~Billy~"
<[email protected]> wrote:
>Any takers?
Most of the people who read this do so on a newsreader - not
via a web
browser. So all we see is the words "Any takers?", so we
don't see
what the question was
~Malcolm N....
~ -
Please, help with copying the same gradient appearance to another object
For example an ellipse with a simple black to white gradient and then applying the same gradient to an object with a different shape in front of the ellipse in such way that the front object is indistinguishable.
edit: I know how to do that with masking but I'm looking for a better (less complicated) way. It would be perfect if there was a way to find out and apply the position and length of the gradient that appears when the gradient tool is selected.Actually none of the above message really is the answer but are part of the answer.
Draw a large rectangle closed path and fill it with the gradient then you draw the two shapes and
you group them you can use the effect pathfinder add or use the pathfinder panel and option/alt unite command to make a compound shape
then you use he compund shape as a clipping mask.
theis will allow you to move one of the shapes without disturbing the gradients relative position, similar to displacing and image in a large format view camera. -
Help with calling a java application from inside another one
Hello!
I am having this problem which is getting on my nerves and dont know how to solve..
I want to call from my java application, another java application. So i use the exec command. Then i want to read the output of this execution from my own application, (the "parent" process).
But it doesn work properly. Something seems to happen and i dont get the whole output.
The java program i want to call is created for running an application created with Matlab java builder.
This program works when called from cmd, but seems not to work when called from inside a java application.
The code of my java application is:
Runtime rt = Runtime.getRuntime();
Process child;
// The java class getmagic is a special kind of java file that uses classes that work in matlab. It uses a component (.jar) file that is created from matlab java builder. thats why it wants the -classpath and the rest options.
//I hope you wont get messed up in here.
String[] callAndArgs = {"java","-classpath",".;C:\\Program Files\\MATLAB\\R2006b\\toolbox\\javabuilder\\jar\\javabuilder.jar;..\\MagicDemoComp\\magicsquare\\distrib\\magicsquare.jar -Djava.library.path=C:\\Program Files\\MATLAB\\R2006b\\bin\\win32;","getmagic","4"};
try{
child = rt.exec(callAndArgs);
InputStream is = child.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line;
while ((line = br.readLine()) != null)
System.out.println(line);
is.close();
System.out.println(child.waitFor());
System.out.println("Finished");
}catch(IOException e) {
System.err.println("IOException starting process!");
}catch(InterruptedException e) {
System.err.println("InterruptedException starting process!");
The java program (getmagic) thats uses matlab gives the following output (after some time) when called in cmd with argument 4
Magic square of order 4
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
My program shown above only prints:
Magic square of order 4
1
Finished.
Do i do something wrong? How can i get the rest of the output???
Thank you very much in advance,
Stacey
PS: I am sorry for the length of my post.Hello CaptainMorgan08, thanx for the instant reply.
I tried, but no, i cant.
Because i cannot include this java aplication that uses matlab into my application, cause 1) it needs special arguments in the compiler and during execution so it can be run and 2) it uses classes that java doesnt have. only the java-like matlab code.
For example it uses:
import com.mathworks.toolbox.javabuilder.*;
import magicsquare.*; //the component which is made from matlab java builder.
So i cannot compile it with my application!
If you know of a way, please let me know!
I know i might be missing something.. something that is obvious to you.. but i ve been working days=nights hardly no sleep..so you can excuse me if i say something foolish..
Message was edited by:
Stacey_Gr
Maybe you are looking for
-
Adding text to a photo in iPhoto Picture Book style
How do I do it?
-
Does anyone really know how to fix this error?
-
Hi experts, I want see the E-Mails who was sent to a contact person in the contacthistory of the contact person. Does someone know where I can customize this requirement? Thanks for help. Alex
-
What is the typical boot time for Macbook Pro-early 2011? My mac takes around 3 minutes before it is ready for any operation? Is there any way I can speed it up?
-
GetRequestedSessionId() returning null
Hi! I have a problem regarding sessions, it is, I have a JSP with a session then a link (or a form) to a servlet, the servlet does not sees the jsp session, so I'm passing it via jsessionid in the next way: http://domain/page/servlet;jsessionid=19282