Search:

Type: Posts; User: SambaNeko

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    2
    Views
    1,089

    Re: session_destroy

    There isn't enough information here to help. The code you've posted shows only the contents of your functions, but not where/how they are being used. It might also be relevant to show the code...
  2. Re: Redirect to new domain where old url contains ?

    Your rewrite statements as posted are syntactically invalid, which is why you're getting an internal server error. In the RewriteCond, you need to omit the ? (it is a marker for the query string,...
  3. Re: Webpage works in IE/FF but doesn't work in Chrome/Edge

    Cross-browser Javascript issues are common and numerous; likely the script is using some non-standard functionality that's unsupported by Chrome and Edge. You may be able to discover the issue with...
  4. Replies
    3
    Views
    1,339

    Re: Login Form error

    Alternatively you could turn on output_buffering; it's enabled by default in my environment, presumably why OP's code works for me.
  5. Replies
    3
    Views
    1,339

    Re: Login Form error

    I copied your code and it worked as expected. Are you getting any errors, or are you just seeing the "Login" and "Register" links on index.php when you expect to get the "Logged in" text instead? ...
  6. Replies
    2
    Views
    12,607

    Re: Load content into div and then use script

    Where did you get the loadmore plugin? Usually this sort of plugin should include an optional callback on completion, which is where you'd want to put your .edit_me snippet (if I'm properly...
  7. Replies
    4
    Views
    3,577

    Re: CSS is not applying on all Elements

    You might have a CSS precedence issue. CSS which is applied inline (on the element within a "style" attribute) has the highest precedence, so it should (almost) always work, but your other...
  8. Replies
    2
    Views
    1,109

    Re: How to Update PHP Object

    $contact->data()->last is a PHP variable which is expanded prior to the execution of any client-side scripting (jQuery); it can't change unless you execute the PHP again, which occurs on the...
  9. Replies
    7
    Views
    2,373

    Re: Google Web Designer

    It's dead? Huh, it's working properly for me, right now...
  10. Replies
    1
    Views
    1,076

    Re: php helping displaying records

    Add a WHERE clause in your SQL...

    $result = mysql_query("SELECT * FROM customers WHERE paydate='07/01/2014'", $sql);
    This is assuming that your paydate field matches the format dd/mm/yyyy,...
  11. Re: How to receive multiple checkboxes values on a page

    Your PHP code actually doesn't receive all the values.

    When you fill out and submit a form, your browser is responsible for sending the form data to the form's "action" target. In the case of...
  12. Replies
    7
    Views
    2,373

    Re: Google Web Designer

    I haven't used it myself, but MS Expression Web is free and looks capable.
  13. Replies
    4
    Views
    1,745

    Re: PHP Simple program (OOP)

    A few things I notice...

    The variable $questionNumber isn't defined anywhere.

    The conditions on your for-loops are all false; none of them will run:
    for($i = 0; $i >= count($userlist); $i++)...
  14. Replies
    5
    Views
    1,255

    Re: php new window with sql result

    If you were looping through SQL results, you would need to apply the right class names on each element. The "pick" class name would need to go on a clickable element that is within the same <tr> as...
  15. Replies
    5
    Views
    1,255

    Re: php new window with sql result

    techgnome is correct in that this doesn't really have to do with PHP, but would be handled by Javascript. Here is a quick example I wrote using jQuery; save it as a .html page then open in a browser...
  16. Replies
    3
    Views
    2,186

    Re: [CSS] A few issues

    With your first problem, putting overflow:hidden on nav doesn't work because the link elements will never overflow the container; instead they'll just reflow to fit inside of nav at whatever size it...
  17. Re: Multiple webbrowser control parent/child pop up

    I asked the previous question because it might've been the simplest explanation to your problem (if you were trying to alter the "value" attribute of an element that doesn't support it, it would...
  18. Re: Multiple webbrowser control parent/child pop up

    Just to be sure, the node that you're trying to affect here:


    window.opener.document.getElementById("feat" + value).value="* FEATURES"

    ...supports a "value" attribute, right? It's not a <div>...
  19. Thread: Target Blank

    by SambaNeko
    Replies
    1
    Views
    1,077

    Re: Target Blank

    In general you have no control over what "_blank" does; it's dependent on the browser and the user's settings. I would likewise also assume that the difference between those two methods is...
  20. Re: Does a website cannot be located without index.html

    Not true at all. A DirectoryIndex can be set to any file you want, so it doesn't need to be "index.[anything]." You can also omit index functionality and make the directory contents viewable...
  21. Replies
    4
    Views
    8,885

    Re: jQuery function return value

    getJSON() is an asynchronous method, which I don't think can be used in that way. But getJSON() is essentially just a wrapper for jQuery's more generic ajax() method, which allows you to set its...
  22. Replies
    3
    Views
    779

    Re: flash action scritping 2004

    I don't think AS2 made use of event listeners; instead you can assign a function to the "onRelease" property of the button...


    this.btn2.onRelease = function(){
    //your code here
    }
  23. Replies
    4
    Views
    1,231

    Re: Javascript resets my body background

    The problem is in how document.write works. While the page is loading, there's a single document object by which your document.write calls are executing; the result of their execution will occur...
  24. Re: Defining CSS and jQuery code inside body

    There's nothing wrong with having more than one $(document).ready(), and the benefit's usually convenience in the way of separating script chunks (like for global scripts and per-page scripts).
  25. Re: Defining CSS and jQuery code inside body

    When a page is being parsed, it goes from top to bottom. Loading and parsing of external scripts occurs synchronously. onload and the jQuery $(document).ready() method do not necessarily wait for...
  26. Re: html post htmlentites etc not working with single quotes!

    I'm not seeing a problem; when I try your code, my output is:


    Testing 'test' test's "testing" <test> /test<br/>
    Testing 'test' test's &quot;testing&quot; &lt;test&gt; /test<br/>
    Testing & #039;test&# 039;...
  27. Re: sending and receiving variable in parameter

    While correct that HTML is stateless, you could accomplish what has been asked for with Javascript either by appending and reading query string variables, or by using cookies. It's better to use...
  28. Replies
    1
    Views
    5,865

    Re: JQuery DatePicker not wokring in IE

    You don't need to re-use the DOM ready listener ("$(function(){});") like that; just one's enough:


    $(function() {
    $("#<&#37;= DT5.ClientID %>").datepicker();
    $("#<%= DT6.ClientID...
  29. Thread: Form Values

    by SambaNeko
    Replies
    1
    Views
    545

    Re: Form Values

    Hiya.

    Without bringing Javascript into the picture, the form will need to be submitted before you can get its values. So you could have your selector, submit the form, and then populate your link...
  30. Re: [RESOLVED] Image with absolute positioning makes div 2px higher

    As to what the problem actually is, the default display type on images is "inline," which automatically creates space beneath the baseline of the element for descending characters in text (like...
  31. Re: Image with absolute positioning makes div 2px higher

    Apply display:block to your white_thumbnail image; better?
  32. Replies
    13
    Views
    6,419

    Re: jQuery vs DoJo

    I like how - if you just scroll up - there's a more highly-voted (and "accepted") post above that one in jQuery's favor. Not that popularity is everything (though it's not negligible either).
    ...
  33. Re: How can I ensure that my Submenu does not disappear when I hover out

    Sorry for a delayed response; here's a new fiddle. This may not be perfect yet, but here's the idea:

    In the CSS, add class-based declarations alongside your :hover ones that target the same...
  34. Replies
    2
    Views
    5,128

    Re: how to click the appended li ?

    When you assign a callback function using .click(function(){}), it can only be assigned to currently-existing DOM elements. If your append() is occurring after the assignment, it won't work that...
  35. Replies
    2
    Views
    5,682

    Re: Slide Div Out

    I'm not sure I'm seeing the problem on your demo site - it looks pretty good to me. Is there a particular browser you're seeing this in?
  36. Replies
    1
    Views
    1,535

    Re: Javascript Postback to ASP.Net

    I don't use ASP.Net at all, but maybe this is relevant..? If I'm understanding the scenario, you could ignore the jQuery parts of that example, keep the autoSubmit() function that he's made, and use...
  37. Replies
    13
    Views
    6,419

    Re: jQuery vs DoJo

    In my experience, this is a non-issue. Worthwhile plugins tend to have good documentation and examples. The jQuery community is also large and active - if you're having trouble with a plugin, you...
  38. Replies
    5
    Views
    1,460

    Re: Adobe AIR Experiences?

    I get the impression it's intended for web developers who would like to create something encapsulated for the desktop. If you're a desktop developer, you probably already have more robust options...
  39. Replies
    13
    Views
    6,419

    Re: jQuery vs DoJo

    What concerns you about that? Quality plugins are widely available, and you'll probably get more choices than whatever's packed by default with Dojo.

    Personally I like jQuery's syntax, and have...
  40. Re: How can I ensure that my Submenu does not disappear when I hover out

    Neither of your solutions is going to work without adding Javascript. You can't make the roll-out behavior "wait X seconds" with CSS. And if you wanted to always show a submenu, you'd need a way of...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width