Search:

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

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    917

    Better way to handle JavaScript events?

    I have worked with this pattern with an onclick handler in the HTML and the function in JavaScript.

    Is there a more optimized means to fire an event listener / handler which could remove the need...
  2. You are right. I am still getting my head around...

    You are right. I am still getting my head around the difference between a reference within the prototype constructor using Thing.Type rather than this.Type. I found both are valid when calling an...
  3. JavaScript Prototype set a Boolean value to true

    <label>Choose Thing</label>
    <select size="1" name="thing_type" id="thing_type" onchange="Select(this.value, this.options[this.selectedIndex].title);">
    <option value="OneType">Type...
  4. I guess not. I should thank myself

    I guess not. I should thank myself
  5. I self-solved. ;) Do people read this stuff??...

    I self-solved. ;)

    Do people read this stuff??


    <script type="text/javascript">

    var holdMeOutside = []; // global variable holds function objects passed out

    var example = function(a, b) {
  6. JavaScript Parameters Created Dynamically

    I have a small puzzle I am likely to solve myself quickly. However I will throw the question to the community and see the kind of solutions others would use in this scenario.

    Below is a simple...
  7. That did help thanks. I attempted to improve...

    That did help thanks.

    I attempted to improve the code myself (it has been a year since I coded) and managed to find a solution to remove the excess JS code in the HTML event listeners.

    I would...
  8. Keep Variable State with JS Constructors

    I have started to work with JS after a long hiatus, and wanted to create a simple logic to store values and hold their state on each call back.

    I attempted to use Constructors. I also attempted...
  9. That also worked. I think the problem was that...

    That also worked.

    I think the problem was that my .htaccess file was in the root directory while the blog (Wordpress) was in a subdirectory. Wordpress generated its own .htaccess file within that...
  10. Thanks. That sorted it out instantly. The...

    Thanks. That sorted it out instantly.

    The problem now is that on the new directory, when I try to click on any links (it's a blog) then it redirects to the root folder. It needs to be able to...
  11. .htaccess redirect for folder only - not files

    I have moved a directory and its files to a new location on the server and attempted redirects.


    # redirect a directory with the filenames preserved
    Redirect 301 /old-folder/(.*)...
  12. Replies
    0
    Views
    2,344

    JQuery search function failing

    Having a problem with a function call from a search box on an order form on http://www.teammed.com.au/place-an-order-online.

    The search box uses jQuery UI Autocomplete 1.8.12 for each keystroke
    ...
  13. Replies
    7
    Views
    11,661

    Just an update. I've resolved the issue. When...

    Just an update. I've resolved the issue.

    When searching for "force download" I came across another post in Dynamic Drive forums. Basically I added an .htaccess file with the code below to the...
  14. Replies
    7
    Views
    11,661

    Ordinarily this would be no problem but the...

    Ordinarily this would be no problem but the reason this approach was required is because the movie is over 100MB and my server is acting as a conduit for another person to access mainly because...
  15. Replies
    7
    Views
    11,661

    Make Video Download Link

    Hi back to a newbie question here. I just uploaded a .wmv Windows Media Player video to a server. I had hoped to go to the website, type in the URL and a pop-up window would show up which asked...
  16. Replies
    1
    Views
    3,739

    Ok. Silly me. #header #logo { } #header_index...

    Ok. Silly me.

    #header #logo { }
    #header_index #logo {}

    I find theme editors hard to scroll in, hence, the wrong selectors in the first place!
  17. Replies
    1
    Views
    3,739

    How to use 2 ID CSS selectors in a rule

    I need to brush up on my CSS. I have a website powered by PHP which uses 2 templates.

    The website is here http://insurancerestorationgroup.com.au/

    The code on one page looks like this
    ...
  18. Replies
    1
    Views
    1,585

    .htaccess forbidden access need a rewrite

    I'm vexxed, terribly vexxed.

    I am having trouble with permissions in .htaccess. At one stage I installed a plug-in for site security and it protected from suspicious query strings. Some images...
  19. Replies
    3
    Views
    3,757

    Thanks, that was somewhat helpful. Your...

    Thanks, that was somewhat helpful.

    Your example gave me a chance to look up some tutorials because I needed the text nodes to appear inside the <p> tags. After some good sleep and a couple of...
  20. Replies
    3
    Views
    3,757

    DOM to create and tags

    I'm hoping someone can help the brain freeze I've had in the past couple of hours. I am using the below code to create a text node and a span element.


    onload=function(){
    var root =...
  21. Linking Revenue and Expenses tables to stagger records

    Hi,

    I have three tables which all have financial data stored inside them

    Expenses Table
    - Transaction Cost
    - Service Provider || Row Source = SELECT [Service Providers].[Service Provider]...
  22. Replies
    8
    Views
    5,172

    Glad you found a solution

    Glad you found a solution
  23. update record when another is selected from lookup

    I have a database which has two tables for "Account Details" and "Service Location".

    Service Location Table
    ____________________
    Service Location (new data)
    * Domain Name Address (lookup)
    ^...
  24. Replies
    8
    Views
    5,172

    View Post

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>


    <script type="text/javascript"...
  25. Replies
    8
    Views
    5,172

    Try to remove the single quotes '' from the first...

    Try to remove the single quotes '' from the first parameter of addDIV()

    from this

    animatedcollapse.addDiv('varJMainID', 'fade=1')
    <a...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4