Type: Posts; User:
<a href="#top_of_mixer_panels" onclick="showpanel('o1640ipanel', 'o1640i',);return...
num = 0
replace(/,/gi,'.gif"><img id="IMG' + (num++) + '" src="')
though astupidname's solution is more elegant and readable.
Oops, yeah, what Declan said
forrestgump is right:
The reason you're first listing didn't work, is that you need to wrap it in a function:
instead of document.write, create a div or textarea, and send the value to it
if your textarea has an id "test", then use:
document.getElementById("test").value += "yada";
jQuery is a very nice library, which allows you to do many interface stuff.
Go to http://jquery.com/ for more information.
For an example, with source code, go to...
Um that's a very broad question.
What exactly do you want to make? A webpage, an application, a forum?
Most likely, you will need to learn a server-side language (such as PHP or ASP, go to...
Um, why would he need to use AJAX. He already needs to connect to the database to load the titles and ids, and using ajax to load the descriptions, etc, is inefficient and a lot more complicated than...
theid[i] = "<?=$id[i]?>"; // this does not
thedescription[i] = "<?=$Description[i]?>"; // this does not
and use php implode instead:
for a simple tutorial
It is quite complicated, because you need to specify the sizes in px of each letter, and this would probably be done through a database, which has the source and pixel width of each letter
Okay thanks a lot, it works perfectly, and my code is much better.
The class structure is also useful, because I actually needed multiple pages, with similar layout and functionality, but with...
yeah declan is right
to get the caller, use
subject = event.target || event.srcElement
if you give your inputs, ids like id="q1l" or id="q3r", where l is for the lower number (left) and r is for the higher number (right)
then in your form tag, add a
is the @ something to do with suppressing errors, and the parentheses have just been omitted?? just a guess
i have a few questions:
@include dirname(__FILE__) . '/news.phtml';
Why do you use @include, why not include('news.phtml')? I can't find a reference to @include in the PHP manual:...
thanks a lot felgall and pcthug
ill have a look at your code, and ill post back here if i have any more questions
i'm still not sure what the problem is, but just to make sure, you know you can set an image as a bullet, using the list-style-image property, which is what i think you are trying to do
you do mean a table in a mysql db right?
you can do this all within your sql query
im not sure what you want exactly, but you can get more information on selecting from multiple tables, joins...
why are your users, dragging and dropping images from their desktop to your browser?? and no, you cannot override this, because basically, the user is saying show me this image straight to the...
you need to post the source code, so we have more information
can you post full code (your html as well, might be an id problem or something)
also, are you actually running makemenu() in the window.onload
it will not work unless the document has fully...