dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Dave Lane

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,773

    If there's no hint of anything in the page...

    If there's no hint of anything in the page source, they're using a scripting language like PHP to randomly select the image filename before the page is rendered in your web browser.

    It's the same...
  2. Your SQL query is performing a natural join, and...

    Your SQL query is performing a natural join, and your WHERE criteria is too restrictive; you're saying "give me all members which have a blog with a matching member ID."

    To ensure you have an...
  3. Replies
    1
    Views
    1,055

    How about this? // make hidden....

    How about this?


    // make hidden.
    document.getElementById( 'menusHotLinks' ).style.visibility = 'hidden';

    // make visible.
    document.getElementById( 'menusHotLinks' ).style.visibility =...
  4. Replies
    2
    Views
    3,168

    Give your "Select" button an id, and then use...

    Give your "Select" button an id, and then use Javascript to call button.click():


    <input id="shipSelect" name="ship_select" type="submit" value="Select" />

    <script type="text/javascript">
    ...
  5. Replies
    4
    Views
    3,494

    You could create a table which contains...

    You could create a table which contains everything else on your page. Ensure that all of the row heights sum up to 100% height, and you should get the desired result. If you still need a .content...
  6. Replies
    1
    Views
    738

    Hi wimmer, I hope this example code helps: ...

    Hi wimmer,

    I hope this example code helps:


    <table>
    <tr>
    <td>
    <a href="#" onclick="showA();">Show A</a><br />
    <a href="#" onclick="showB();">Show B</a>
  7. Your control() function should call the...

    Your control() function should call the isValidEmail() function. Additionally, you should be returning true in your control() function whenever the form input is valid. Really, your control()...
  8. Replies
    1
    Views
    503

    You're correct -- you'd need an additional...

    You're correct -- you'd need an additional element below the form that is only displayed when there is an error. I think this is what you're wanting:



    <form onsubmit="return validateForm();">...
  9. Replies
    3
    Views
    647

    I think you're right about content2. Try moving...

    I think you're right about content2. Try moving your opening PHP tag up to the same line as the content2 variable assignment:



    var content2 = "<p><?php
    //
    // rest of your PHP code as-is......
  10. Replies
    4
    Views
    615

    You may want to re-evaluate why you're trying to...

    You may want to re-evaluate why you're trying to condense all of that code into one line. The existing snippets are much more readable than the one-liner. Readability is very important if you plan...
  11. Replies
    6
    Views
    1,460

    I like NogDog's solution. :) I'd say it is more...

    I like NogDog's solution. :) I'd say it is more efficient.
  12. Replies
    6
    Views
    1,460

    I think your query could be shortened to this: ...

    I think your query could be shortened to this:



    select * from dblist
    where `Word`='A'

    Union

    select * from dblist
  13. Replies
    1
    Views
    825

    Have you tried leaving off the last two...

    Have you tried leaving off the last two parameters when calling setcookie()? You might also try setting the domain parameter to '.sturents.com' instead of '/' and see if any change occurs.

    I...
  14. Replies
    4
    Views
    3,311

    I've never tried this, but this knowledge base...

    I've never tried this, but this knowledge base article looks very promising: phpBB Sessions Integration.

    I think the information under the section labeled "How can I login from a page I made?" is...
  15. Thread: please help

    by Dave Lane
    Replies
    1
    Views
    459

    Are you looking for something like this? ...

    Are you looking for something like this?



    <?php $content = file_read_contents( "text/links/links.txt" ); ?>
    <a href="<?php echo $content; ?>"><?php echo $content; ?></a>


    Or this?
  16. Have you tried reordering your rewrite rules to...

    Have you tried reordering your rewrite rules to go from most specific to least specific (reverse their order)? That should make all three rules work as expected...

    I think your question mark...
  17. I don't think you'll have much luck with...

    I don't think you'll have much luck with .htaccess for this... You could, however, process the files once when uploaded, modifying the image links using your current method. Once processed,...
  18. You need to make your links to images/css...

    You need to make your links to images/css absolute.

    For example, if myImage.gif is located at http://yoursite.com/project/images/myImage.gif, you would link to it like this in your template.html:...
  19. Replies
    2
    Views
    655

    Have you tried using something like the following...

    Have you tried using something like the following instead of "this.form"?



    <IMG name= 'Continue' src='/images/continue.jpg' onclick='submit_form(document.forms[0])'>


    Perhaps the image...
  20. Replies
    3
    Views
    614

    Could we maybe see either the page you're working...

    Could we maybe see either the page you're working on or relevant parts of its source code?
  21. Replies
    3
    Views
    614

    For your form tag, does your onsubmit attribute...

    For your form tag, does your onsubmit attribute look something like this?



    <form onsubmit="return validateForm();">


    If you're not including "return " in the onsubmit attribute, the form...
  22. Replies
    2
    Views
    462

    I don't think you need to use fopen before...

    I don't think you need to use fopen before unlink... I would think you could just use file_exists to ensure that the file you're trying to delete already exists.
  23. Replies
    2
    Views
    680

    Have you tried removing the newline and tabs...

    Have you tried removing the newline and tabs between the two lines?



    <a href="about.php"><img src="images/about.png" onmouseover="this.src='images/about_hover.png'"...
  24. Replies
    4
    Views
    1,518

    I don't know... The Adobe tutorial looks...

    I don't know... The Adobe tutorial looks perfectly sound to me. Most of the stuff I've done with XML on the web has been parsing data using ExtJS and displaying it within a regular HTML page using...
  25. Replies
    1
    Views
    6,530

    As far as I know, this is not possible using only...

    As far as I know, this is not possible using only HTML and Javascript. You will need to have something server-side to process the form request to send the email automagically.

    For example, this...
Results 1 to 25 of 28
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles