Search:

Type: Posts; User: jscheuer1; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.42 seconds; generated 55 minute(s) ago.

  1. Thread: RegEx

    by jscheuer1
    Replies
    5
    Views
    114

    In that case, how about: ...

    In that case, how about:


    /^(([a-z\d]{1,9})(\/{1}[a-z\d]{1,9})+|([a-z\d]{1,9}))$/i;

    There is a possibility that you may have better results employing 2 or more regular expressions, one to...
  2. This type of question is a little too general for...

    This type of question is a little too general for this forum. Check the web:

    http://lmgtfy.com/?q=optimise+javascript

    If you then have a specific question, feel free to start a new thread about...
  3. Thread: RegEx

    by jscheuer1
    Replies
    5
    Views
    114

    Perhaps: ...

    Perhaps:


    /^(([a-z\d]{1,9})+(\/{1}[a-z\d]{1,9})+|([a-z\d]{1,9}))$/i

    Still, as I say, knowing why you want to do this, as well as what you see as the problem with what you currently have, could...
  4. Replies
    3
    Views
    428

    This is getting to be an older thread, so I'm...

    This is getting to be an older thread, so I'm closing it. If anyone wants to continue the discussion, feel free to start a new thread and refer back to this one.
  5. Thread: RegEx

    by jscheuer1
    Replies
    5
    Views
    114

    Background/why you want this, is always helpful....

    Background/why you want this, is always helpful.

    Also, what problems is it giving you?
  6. Replies
    401
    Views
    102,572

    Sticky: Aw, I wanted the 400th response in this thread!...

    Aw, I wanted the 400th response in this thread! (kidding)
  7. OK, good, so that information is there. This...

    OK, good, so that information is there. This should work. From your original posted PHP code, replace:


    echo "<div id=\"search-results\">";
    echo "<ul class=\"letter-results\">\n";
    echo "<li...
  8. OK, I think you are going overkill here wanting...

    OK, I think you are going overkill here wanting to use AJAX. You probably could, but all of the information that you want put into the form for each name/organization combo of a letter was already...
  9. The highlighted below appears to do nothing: ...

    The highlighted below appears to do nothing:


    $(document).ready( function() {
    function formfill() {
    var organization = $('#organization').val();
    var firstname = $('#firstname').val();...
  10. Replies
    17
    Views
    1,749

    That's what is called z-index. x is width, y is...

    That's what is called z-index. x is width, y is height. z is what is referred to as stacking or more commonly, depth. It's like as you look into a page, if two things are in the same spot, which one...
  11. Replies
    17
    Views
    1,749

    I don't see the recommended preload (Oh I see you...

    I don't see the recommended preload (Oh I see you didn't understand it, it's just HTML, more on that later). Even without that we can align to the left edge of the banners by making this line:

    ...
  12. Replies
    6
    Views
    429

    I take one part of that back. At least for my...

    I take one part of that back. At least for my localhost PHP server, $here does not need to equal anything before it's switched. If it doesn't, then the default is used.
  13. Replies
    17
    Views
    1,749

    Try this version out: ...

    Try this version out:


    <!DOCTYPE html>
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
    img[name='slide'] {
  14. Replies
    6
    Views
    429

    You don't need isset. You do have to guarantee...

    You don't need isset. You do have to guarantee that $here equals something before you start switching it. And you have to make sure that all of the possible pages you would be redirecting to exist....
  15. Warning: Please include a link to the DD...

    Warning: Please include a link to the DD script(s) in question in your post. See this post for more information.

    If you want more help, please post a link to the page on your site that contains...
  16. Replies
    6
    Views
    429

    This works "here" (pun intended):

    This works "here" (pun intended):


    <?php
    $here = isset($_GET['here'])? $_GET['here'] : '';

    switch ( $here ) {

    case 'index':
    ...
  17. Replies
    6
    Views
    429

    Those entities ' shouldn't be there, those need...

    Those entities &#39; shouldn't be there, those need to be literal single quotes. There could be other problems. But to answer the underlying question, yes - a different page header redirect should be...
  18. Replies
    17
    Views
    1,749

    Let me get this straight. The script already has...

    Let me get this straight. The script already has an image and a link that clicking on it will take you to. All you want to do is add a hover effect to change each given image to a different one,...
  19. chandra, the last post in this thread before...

    chandra, the last post in this thread before yours was almost 3 years ago. Please start a new thread for a new question, or better yet, post in a forum dedicated to Skyscanner.
  20. Replies
    5
    Views
    1,603

    Add the highlighted as shown here: /*Rafael...

    Add the highlighted as shown here:


    /*Rafael Raposo edited function*/
    //function to change content
    function changecontent(){
    if(changecontent.mouseisover){
    ...
  21. Thread: htaccess 404

    by jscheuer1
    Replies
    3
    Views
    223

    I just tried on my localhost and this works to...

    I just tried on my localhost and this works to get to a 404.php that is in its domain root:


    ErrorDocument 404 /404.php

    Note: it's the only thing in the .htaccess file and that file is also in...
  22. Thread: htaccess 404

    by jscheuer1
    Replies
    3
    Views
    223

    Is the path correct? Also, you may need to quote...

    Is the path correct? Also, you may need to quote 404.php and/or terminate the line somehow (semi-colon I would guess). A preceding / slash may be needed. These files can be very tricky as far as the...
  23. There could also be other problems, but in...

    There could also be other problems, but in javascript there is no event onSubmit. It's onsubmit. So before anything else can work or not work, this:


    //Register the event handlers for...
  24. Replies
    3
    Views
    345

    I honestly don't know. If I had to guess I would...

    I honestly don't know. If I had to guess I would think that the PHP header - if it were the first thing in the page being redirected from, would be the most nearly uniform. The other server side...
  25. Replies
    3
    Views
    345

    As far as I know, there's no way way of being...

    As far as I know, there's no way way of being certain where that delay arises from, obviously not from the content value of the tag. If the tag is the first tag encountered in the head, it wouldn't...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4