Showing results 1 to 33 of 33
Search took 0.01 seconds.
Posts Made By: jakesee
Forum: HTML and CSS Jul 24th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Re: div floats and width 100%

I thought you could have clicked on the images to see the enlarged versions...



!!! FINALLY YOU UNDERSTAND ME :icon_cheesygrin:



So is there no way to fix the size of the side panel and only...
Forum: JavaScript / DHTML / AJAX Jul 22nd, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

In any case, your method is indeed clever, which I just learnt recently. But the problem is illustrated below:


<script type="text/javascript">
function AddRow()
{
var hobby =...
Forum: HTML and CSS Jul 18th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Re: div floats and width 100%

Sorry, I think you still don't




/* I started out with BLOCK and IT IS rendered */
#left_pane {
float: left;
display: block;
width: 300px;
Forum: MySQL Jul 16th, 2008
Replies: 0
Views: 262
Posted By jakesee
Is there a shorter version of this query?

Hi,

I don't know what is LEFT JOIN at all, but i accidentally made this query work. Can someone tell me if there is a shorter version of this query?


SELECT j . * , k.report
FROM (
SELECT x . * ,...
Forum: HTML and CSS Jul 15th, 2008
Replies: 5
Views: 584
Posted By jakesee
Re: CSS Help

No you can't. CSS deals with the looks of the web page, not the content of the web page.
Forum: HTML and CSS Jul 15th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Re: div floats and width 100%

@MidiMagic

Thanks for your response, but it wasn't really what I am asking.



OK i'm sorry for pulling the height issue in. I misread the "height" for "width" so let's forget about that because...
Forum: JavaScript / DHTML / AJAX Jul 14th, 2008
Replies: 14
Views: 1,108
Posted By jakesee
Re: help needed in javascript

Oh man... that's so confusing.
Forum: JavaScript / DHTML / AJAX Jul 14th, 2008
Replies: 14
Views: 1,108
Posted By jakesee
Re: help needed in javascript

Hi,

I can't run your code because it's not HTML, and I don't have ASP server.

I'm predominantly at PHP and only wrote in ASP once or twice, so at best, I am not an ASP expert but the webpage you...
Forum: MySQL Jul 14th, 2008
Replies: 4
Views: 926
Posted By jakesee
Re: recursive query, category and parent_category

thanks tesu,

All that infomation helped alot. I'll try to work from there on. Now, changing the structure will be quite a pain... =(
Forum: JavaScript / DHTML / AJAX Jul 14th, 2008
Replies: 14
Views: 1,108
Posted By jakesee
Re: help needed in javascript

Some of the events you can make use of

<input onclick="" onfocus="" onblur="" onchange="">


and to reference these in javascript,


<script>
function validate(objForm)
Forum: MySQL Jul 13th, 2008
Replies: 4
Views: 926
Posted By jakesee
Re: recursive query, category and parent_category

Thanks for the tip! Joe Celko trees present some interesting concepts that's quite new to me and probably a bit too much to digest at the moment.

Are you saying that with my current table (aka...
Forum: MySQL Jul 13th, 2008
Replies: 4
Views: 1,005
Posted By jakesee
Re: How can I speed up multi select query?

Actually I think the lowest part would the LIKE clause... isn't it?
Forum: MySQL Jul 12th, 2008
Replies: 4
Views: 926
Posted By jakesee
recursive query, category and parent_category

Hi,

I have a table

`Categories` with fields (category_id, category, parent_category_id)

I want to write in a single query to replace the parent_category_id with the corresponding...
Forum: JavaScript / DHTML / AJAX Jul 12th, 2008
Replies: 14
Views: 1,108
Posted By jakesee
Re: help needed in javascript

you will need a little bit of css as well as a few js functions to deal with the onchange and onblur events.

you should take some time to view source which would explain much of the behaviors...
Forum: JavaScript / DHTML / AJAX Jul 12th, 2008
Replies: 2
Views: 696
Posted By jakesee
Re: Input box

You probably need to store the URLs in a database to that you can retrieve and display them everytime people visit your pages.

Try PHP + MySQL. Don't think will involve javascript.
Forum: JavaScript / DHTML / AJAX Jul 12th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

Thanks to everyone with the help and especially SOS for the neater code suggestions. I think i can solve my problems from here on already.

anyway, nice efficient for loop here:
Forum: HTML and CSS Jul 12th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Re: div floats and width 100%

ok.. then how shoud it be done properly ?
Forum: HTML and CSS Jul 11th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Re: div floats and width 100%

In case you also need FF screenshots, here it is:

6584

6585
Forum: HTML and CSS Jul 11th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Forum: HTML and CSS Jul 11th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
Re: div floats and width 100%

Still doesn't work.

With the following code, the behaviour in IE7 is what I want: The content area stretches to fill the remaining area on the right. The green background correctly fills that...
Forum: JavaScript / DHTML / AJAX Jul 11th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

That was finer than my original addRow code! I added another function and a button to illustrate my problem.


function TryToGetName(tableId)
{
var tblElem = document.getElementById(tableId);
...
Forum: JavaScript / DHTML / AJAX Jul 10th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

I need to change the names to

hobby[0], hobby[1], hobby[2], hobby[3] ...

so that I can pass POST the values to a PHP script...
Forum: JavaScript / DHTML / AJAX Jul 10th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

But the implementation between IE and FF doesn't seem like standard.. =( something so simple they have to make it so complicated. I have been tweaking my code so many times just to accomodate both...
Forum: JavaScript / DHTML / AJAX Jul 9th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

Hi LuckyChap,

I tried googling. and I think I still have problem.

The problem occurs in IE7.

After changing the name using


clonedfield = document.getElementsByName('hobby[0]')[1];
Forum: JavaScript / DHTML / AJAX Jul 9th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
Re: how to change name attributes with Javascript

Thanks that was very helpful!

But just to confirm, must I always start with document.xxxx? can't I use other objects like newRow?
Forum: JavaScript / DHTML / AJAX Jul 8th, 2008
Replies: 17
Views: 3,068
Posted By jakesee
how to change name attributes with Javascript

Hi,

I have a table in a form like this


<form>
<table>
<tbody id='target'>
<tr id="dolly"><td><input name="hobby[0]" /></td></tr>
</tbody>
Forum: Database Design Jul 8th, 2008
Replies: 1
Views: 640
Posted By jakesee
Re: Mutual Many to Many relationship

After some searching, it appears that a third table is necessary.

I at first thought there could be some other way because in MS Access, you could specify a single field to take multiple values in...
Forum: Database Design Jul 8th, 2008
Replies: 1
Views: 640
Posted By jakesee
Mutual Many to Many relationship

Hi,

I need a clue on how to design a Many to Many relational database.

For example, I have a products table and a supplier table.

each product can be supplied by many suppliers
each supplier can...
Forum: HTML and CSS Jul 8th, 2008
Replies: 7
Views: 482
Posted By jakesee
Re: text form help

You need to post this question in another forum because it takes more than HTML to accomplish what you are trying to do.

You will need a server-side language to communicate with the mail...
Forum: HTML and CSS Jul 8th, 2008
Replies: 17
Views: 3,564
Posted By jakesee
div floats and width 100%

Hi people,

I'd very much appreciate some help with my issue here....

i have

<div id='container'>
<div id='left_pane_tab' style="float: left;" onclick='toggle(left_pane)'><img src="tab.gif"...
Forum: JavaScript / DHTML / AJAX Jul 8th, 2008
Replies: 3
Views: 710
Posted By jakesee
Re: AJAX created input field does not work in FireFox

Hi,

I now find my problem, thanks to s.o.s. and firebug.

It's to do with wrong nesting for <table> and <form>

I always thought it is ok to nest as such:

<table>
<form>
Forum: JavaScript / DHTML / AJAX Jul 8th, 2008
Replies: 3
Views: 710
Posted By jakesee
Re: AJAX created input field does not work in FireFox

Thanks s.o.s,

The way I make the switch in

<td id="ajax_field"><input type="text" name="hobby"></td>

as to use

function show_select() {
// AJAX transaction ...
Forum: JavaScript / DHTML / AJAX Jul 7th, 2008
Replies: 3
Views: 710
Posted By jakesee
AJAX created input field does not work in FireFox

Hi there,

I'm quite new to AJAX and need some help on a peculiar firefox behavior regarding forms submission.

I have have an input field

...<td id="ajax_field"><input type="text"...
Showing results 1 to 33 of 33

 
All times are GMT -4. The time now is 9:48 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC