Forum: JavaScript / DHTML / AJAX Jun 2nd, 2008 |
| Replies: 0 Views: 376 Dragging layers I have 5 layers on a page and I want them to be set up in 5 different positions. Is there any way that I can drag one layer towards another layer and they will switch places? |
Forum: MySQL Jun 2nd, 2008 |
| Replies: 5 Views: 712 Re: Get Row Length? Yes this does solve my problem. When I said "length of a row" I should have said something more like "the size or amount of elements in a row." Basically I wanted to know how long a row was so I... |
Forum: MySQL May 31st, 2008 |
| Replies: 5 Views: 712 Re: Get Row Length? Thanks for the reply. I just figured it out right before you replied. I just simply used mysql_num_fields |
Forum: MySQL May 31st, 2008 |
| Replies: 5 Views: 712 Re: Get Row Length? And by length I mean the current length of a row. Not max length or anything. If there are 5 columns in the row, then I want to be able to print "the length of this row is 5" |
Forum: MySQL May 31st, 2008 |
| Replies: 5 Views: 712 Get Row Length? Hey guys,
Is there any way that I can just simply get the length of a row in a table? Thanks |
Forum: JavaScript / DHTML / AJAX May 31st, 2008 |
| Replies: 2 Views: 1,036 document.write() question I have a javascript function and then below it I have some html. In the html I want to be able to document.write() a variable from that function above. Is this possible?? Basically if I have function... |
Forum: JavaScript / DHTML / AJAX May 29th, 2008 |
| Replies: 2 Views: 1,435 Re: drop down menu call javascript function Thanks for the solution. I had already solved it myself, but since you posted the same exact solution that I came up with myself I will go ahead and add to your reputation. |
Forum: JavaScript / DHTML / AJAX May 28th, 2008 |
| Replies: 2 Views: 1,435 drop down menu call javascript function Hey guys,
I am trying to make a drop down menu that gives options such as (right, left, center) so that I can choose one of those and align the text in one of my layers. I am having trouble figuring... |
Forum: JavaScript / DHTML / AJAX May 25th, 2008 |
| Replies: 1 Views: 413 Javascript with Ajax question Hey guys,
I am making a website where I have a panel of colors to choose from and it allows the user to click on a layer on the page and then click on the color they wish to change that layer to.... |
Forum: JavaScript / DHTML / AJAX May 15th, 2008 |
| Replies: 0 Views: 542 Area Shape Map question Hi guys,
I am using an area shape map to designate cooridnates on my page for my tabs. So that when I click on the tab "about us" it will go to the about us page and when I click on "contact us" it... |
Forum: JavaScript / DHTML / AJAX May 13th, 2008 |
| Replies: 3 Views: 496 Re: Overlapping Layers Problem I fixed it by simply changing the content by adding xml and also changing the charset. However now I have a different problem. Now the website looks fine on my Dell lapotop, but the input forms are... |
Forum: JavaScript / DHTML / AJAX May 13th, 2008 |
| Replies: 3 Views: 496 Re: Overlapping Layers Problem That was somewhere along the lines of what I was originally thinking was the problem. I was thinking about solving it by using a function that reads which browser the user is using, and then using... |
Forum: JavaScript / DHTML / AJAX May 12th, 2008 |
| Replies: 3 Views: 496 Overlapping Layers Problem Hey guys,
I am trying to overlap some layers in html and I have done so using absolute positioning and it looks fine using internet explorer. BUT, when I try and view the page using Safari or... |
Forum: JavaScript / DHTML / AJAX May 11th, 2008 |
| Replies: 4 Views: 1,017 |
Forum: JavaScript / DHTML / AJAX May 10th, 2008 |
| Replies: 4 Views: 1,017 Re: Get coordinates? I need it to work so that when I quit dragging a layer and let go of the mouse, the coordinates are automatically grabbed. But I do not need the coordinates of the mouse, I need the coordinates as... |
Forum: JavaScript / DHTML / AJAX May 9th, 2008 |
| Replies: 4 Views: 1,017 Get coordinates? Hi,
I have created a website that has a page where you can drag layers around to different areas on the page. Is there any way that I can find the new coordinates of a layer after I drag it? What I... |
Forum: C++ May 8th, 2008 |
| Replies: 13 Views: 765 |
Forum: C++ May 7th, 2008 |
| Replies: 13 Views: 765 Re: Replace element in text file It is giving me errors since "word" is a string and I am trying to manipulate an integer. But getline is a string function isn't it? So there really is no way I can use that. |
Forum: C++ May 7th, 2008 |
| Replies: 13 Views: 765 Re: Replace element in text file How exactly do I replace it though? I understand what you are saying with using getline() and then checking to see if the word compares...but I don't understand how to replace the 125 with another... |
Forum: C++ May 7th, 2008 |
| Replies: 13 Views: 765 Re: Replace element in text file 1111 Hammers 125 125 0 12.50 20.00 2222
This is the first little strip of it......the rest of the file is exactly the same just different data. This is basically the data for "Hammers", and I want... |
Forum: C++ May 7th, 2008 |
| Replies: 13 Views: 765 |
Forum: C++ May 7th, 2008 |
| Replies: 13 Views: 765 Re: Replace element in text file The second route is the one I want to go with, but I am not sure how to do that. I really don't know how to store all the values in a variable as you say. And then I wouldn't know how to access to... |
Forum: C++ May 7th, 2008 |
| Replies: 13 Views: 765 Replace element in text file Hi, I could use a little help if anyone would be willing.
I have some vectors which I am using to store input from a text file. Now I want to be able to store user input into a vector and output it... |
Forum: JavaScript / DHTML / AJAX May 5th, 2008 |
| Replies: 1 Views: 1,886 HTML input text size Hey guys,
Got a quick question for you. If I have an text input field for a search engine and I want the font to be larger, how would I do this? Right now changing the size attribute only changes... |
Forum: JavaScript / DHTML / AJAX May 3rd, 2008 |
| Replies: 9 Views: 701 Re: onClick question I got it to work eventually, but it was weird how I got it to work. I eventually just typed some text in to see if it would show up since nothing else was showing up. When I did this, a black box... |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 9 Views: 701 Re: onClick question Ok so here is the code I am using and all I am getting is a blank page.
<html>
<body>
<div
style="border-color:#000000; background-color:#000000; height:100px; width:100px; position:absolute;... |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 9 Views: 701 Re: onClick question Ok so it's me again. It did not end up working for some reason. I tried to just use the code you show above as a test with a blank page and it isn't working. Do you have any idea why this might be? |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 9 Views: 701 |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 9 Views: 701 onClick question I was just wondering if there is anyway to do an AREA SHAPE COORDS with an onClick without using an image. For instance, I want to basically be able to click on the page somewhere (not on an image)... |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 4 Views: 1,072 |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 4 Views: 1,072 |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 4 Views: 1,072 Re: HTML radio buttons That is what I am trying to do, but my question is.....how do I set the checked value to true? Sorry I know this is very easy, but I do not know java well at all. |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 4 Views: 1,072 HTML radio buttons Hello,
I have a very interesting issue that I want to solve but I need some help because I do not know if it is possible. I am using some radio buttons on my website, but instead of the user... |
Forum: C++ Apr 30th, 2008 |
| Replies: 4 Views: 242 Re: Array Length help Thanks for the quick reply. I tried to use what you showed me but it is still giving me the same problem. Instead of adding up the sum, it is just printing like this:
There are 1 1 1 1 1 numbers in... |
Forum: C++ Apr 30th, 2008 |
| Replies: 4 Views: 242 Array Length help Hey guys,
I am working on some software and I have ran into an issue which I cannot seem to get past. This is probably easy for most of you, but I am rather new to c++ and could use some help.... |
Forum: JavaScript / DHTML / AJAX Apr 28th, 2008 |
| Replies: 3 Views: 3,022 Hide/Show html forms using javascript Hi guys,
I am working on a webpage which holds 2 different html forms. One of them is a radio button form and the other one is a drop down menu. I also have two links on the page. I want to make it... |
Forum: MySQL Apr 28th, 2008 |
| Replies: 1 Views: 344 Re: Question about Update function Got it figured out. Thanks to anyone who was attempting to help me. It was as simple as adding another query and a little if else statement. |
Forum: MySQL Apr 28th, 2008 |
| Replies: 1 Views: 344 Question about Update function Hey guys,
I am trying to figure out a way to update a row in a table for my database by filling out information in an html form. What I am doing is filling out a form with a username and other... |
Forum: PHP Apr 22nd, 2008 |
| Replies: 9 Views: 518 Re: Redirect Output That is a good question. My answer: I just started learning php a couple of days ago : ) So in other words, I don't even know what you're talking about. I did get it to work though so thanks for the... |
Forum: PHP Apr 21st, 2008 |
| Replies: 9 Views: 518 Re: Redirect Output I used the code like you showed me above and I keep getting this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
I am not sure why it is, but I know the... |