www.webdeveloper.com

Search:

Type: Posts; User: s.b37

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. The easiest way is to move your javascript to the...

    The easiest way is to move your javascript to the onclick handler, and use an anchor in the href, see below.



    <a href="#top_of_mixer_panels" onclick="showpanel('o1640ipanel', 'o1640i',);return...
  2. Replies
    4
    Views
    2,337

    try http://orangoo.com/labs/GreyBox/

    try http://orangoo.com/labs/GreyBox/
  3. Replies
    5
    Views
    953

    or try: num = 0 replace(/,/gi,'.gif">

    or try:



    num = 0
    replace(/,/gi,'.gif"><img id="IMG' + (num++) + '" src="')


    though astupidname's solution is more elegant and readable.
  4. Thread: prototypes

    by s.b37
    Replies
    7
    Views
    1,037

    Oops, yeah, what Declan said

    Oops, yeah, what Declan said
  5. Thread: prototypes

    by s.b37
    Replies
    7
    Views
    1,037

    forrestgump is right: The reason you're first...

    forrestgump is right:

    The reason you're first listing didn't work, is that you need to wrap it in a function:


    <html>
    <body>
    <script>
    function...
  6. Replies
    4
    Views
    863

    instead of document.write, create a div or...

    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";
  7. Replies
    5
    Views
    10,681

    jQuery is a very nice library, which allows you...

    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...
  8. Replies
    5
    Views
    10,681

    Um that's a very broad question. What exactly...

    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...
  9. Replies
    7
    Views
    4,273

    Um, why would he need to use AJAX. He already...

    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...
  10. Replies
    7
    Views
    4,273

    remove the javascript: var i=0; for...

    remove the javascript:

    var i=0;
    for (i=0;i<=tc;i++)
    {
    theid[i] = "<?=$id[i]?>"; // this does not
    thedescription[i] = "<?=$Description[i]?>"; // this does not
    }
    and use php implode instead:
  11. Thread: mysql question

    by s.b37
    Replies
    1
    Views
    647

    try...

    try http://www.kirupa.com/developer/php/filehandling3.htm
    for a simple tutorial
  12. Replies
    2
    Views
    772

    It is quite complicated, because you need to...

    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

    The php...
  13. Replies
    8
    Views
    4,307

    Okay thanks a lot, it works perfectly, and my...

    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...
  14. Replies
    3
    Views
    847

    yeah declan is right to get the caller, use ...

    yeah declan is right

    to get the caller, use

    subject = event.target || event.srcElement
  15. if you give your inputs, ids like id="q1l" or...

    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
    onsubmit="return...
  16. Replies
    8
    Views
    4,307

    is the @ something to do with suppressing errors,...

    is the @ something to do with suppressing errors, and the parentheses have just been omitted?? just a guess
  17. Replies
    8
    Views
    4,307

    i have a few questions: @include...

    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:...
  18. Replies
    8
    Views
    4,307

    thanks a lot felgall and pcthug ill have a...

    thanks a lot felgall and pcthug

    ill have a look at your code, and ill post back here if i have any more questions
  19. i'm still not sure what the problem is, but just...

    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

    see...
  20. Replies
    7
    Views
    894

    welcome

    welcome
  21. Thread: Joining Tables

    by s.b37
    Replies
    1
    Views
    520

    you do mean a table in a mysql db right? you...

    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...
  22. why are your users, dragging and dropping images...

    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...
  23. Replies
    8
    Views
    4,307

    PHP Code Structure

    Hello

    I have used Javascript and HTML for a while, and now I'm starting my first major project in PHP. I know PHP pretty well, and I put together this page, where it fetches data from a database,...
  24. you need to post the source code, so we have more...

    you need to post the source code, so we have more information
  25. Replies
    3
    Views
    847

    can you post full code (your html as well, might...

    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...
Results 1 to 25 of 68
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles