Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jules VDV

@Jules VDV
About
Posts
19
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Favorite XML Tools?
    J Jules VDV

    Notepad++

    Greenridge Business Systems

    The Lounge question tools xml

  • display query result in a table using PHP
    J Jules VDV

    You might want to try changing this: $sqlQuery = mysql_query("SELECT * FROM t_board WHERE $SearchOpt LIKE '%$SearchKey%' ORDER BY registerTime DESC;"); to this: $sqlQuery = mysql_query("SELECT * FROM t_board WHERE $SearchOpt LIKE '%" . $SearchKey . "%' ORDER BY registerTime DESC;"); Also, make sure your request is POSTing the correct parameters: How many records exist in $recs after you run the query? Try print count($recs);

    Greenridge Business Systems

    Linux, Apache, MySQL, PHP database php html mysql question

  • how to add item and notify item double-click of jquery sortable?
    J Jules VDV

    Thanks for that, I've never used that functionality before.

    Greenridge Business Systems

    Web Development javascript html css com design

  • how to add item and notify item double-click of jquery sortable?
    J Jules VDV

    To add items dynamically, it looks like you would have to add another DOM element and then call the sortable initializer on the entire set of elements again. So you may have a button that adds a dom element to a div container with the id 'sortable'. Then call the method below.

    $( "#sortable" ).sortable();

    For the double click functionality, I would use jQuery's dblclick API. So while you're creating the DOM element above, right before you call sortable(), I would attach a double click handler like so:

    $('#target').dblclick(function() {
    alert('Handler for .dblclick() called.');
    });

    Greenridge Business Systems[Greenridge Business Systems]

    Web Development javascript html css com design

  • The Javascript variable under HTML reference questions:) [modified]
    J Jules VDV

    You could use the following piece of code in place of the string constant currently in the HTML

    document.write(a);

    So it may look like:

    var a = "http://player.56.com/vNTcxMTA1Njc.swf";

    document.write(a);" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32">

    Greenridge Business Systems[^]

    Web Development javascript html com adobe tools

  • Help - Horizontal dropdown menu
    J Jules VDV

    The problem is always with IE. You'll find that IE will often give you headaches while creating websites.

    Greenridge Business Systems[^]

    JavaScript javascript help html css tools

  • Help - Horizontal dropdown menu
    J Jules VDV

    I think you may need a CSS reset for IE6 to stop the "shifting" when opening the menu. Try

    * {margin:0; padding:0;}

    in your CSS

    [Greenridge Business Systems]

    JavaScript javascript help html css tools

  • how to pass the slected option from a html drop down list to a java script variable??
    J Jules VDV

    :-D

    Greenridge Business Systems

    Web Development java html tools tutorial question

  • how to pass the slected option from a html drop down list to a java script variable??
    J Jules VDV

    If what you want to get is the value attribute then:

    function getValue(){
    var e = document.getElementById("dept");
    var strDept = e.options[e.selectedIndex].value;
    }

    If you want to get the text of the selected value

    function getText(){
    var e = document.getElementById("dept");
    var strDept= e.options[e.selectedIndex].text;
    }

    Then you will need to hook the function into the onchange event of your ...

    Greenridge Business Systems

    Web Development java html tools tutorial question

  • CMS [modified]
    J Jules VDV

    A couple of options for larger CMS projects come to mind. OpenCMS - Java based enterprise CMS - Open source with commercial support available - Extensible using Java API to build custom modules - Concept of multi-site and micro-sites DotNetNuke - .NET based - Both open source and commercial versions available

    Web Development business sales tutorial question

  • While Press "Esc" key ajax request and response is stopped in the browser
    J Jules VDV

    Are you talking about a regular javascript modal message box or a html/css/js modalbox? If it's the latter, I would call it's close function prior to stopping the event propagation in your keydown handler.

    JavaScript help question

  • While Press "Esc" key ajax request and response is stopped in the browser
    J Jules VDV

    Most browsers use the Escape key to cancel out of loading a page and I think it is probably also causing any other AJAX requests being processed to also be canceled by your browser. As for stopping this default behavior, you could try preventing the Esc key's default action with the following:

    //place in the window keydown event

    //IE
    e.cancelBubble=true;
    e.returnValue = false;

    //FF
    if (e.stopPropagation){
    e.stopPropagation();
    e.preventDefault();

    JavaScript help question

  • Setting background image for iframe?
    J Jules VDV

    Going from memory here, but it may help... In most browsers you can set the background CSS property to transparent...but not IE. In IE you must also set the background of the content/page loaded in the IFrame to transparent. I would assume that you need to set the background image property for the content/page that you are loading inside of the IFrame, not the IFrame element itself

    Web Development help tutorial question

  • Simple CSS Question.
    J Jules VDV

    Always a good idea :)

    Web Development question css

  • Simple CSS Question.
    J Jules VDV

    I would also suggest setting your body font-size to 62.5%. This way, it is easier to convert between em and px. For example:

    body{
    font-size: 62.5%;/*1em = 10px*/
    }

    p{
    font-size: 1.2em; /* 1.2em = 12px */
    }

    Web Development question css

  • create script for entire database in PostgreSQL
    J Jules VDV

    You could use PgAdminIII and it's database backup function. This allows you to select which objects you would like to re-create. This could then be run using restore from either PgAdmin or the command line, depending on your requirements

    Database question database postgresql tools

  • sorting on cloumn headers acending and desanding
    J Jules VDV

    I think you want to load a table and then be able to sort the data by a column after the data is loaded by clicking on the col header, correct? Uh oh, i think i may like jQuery too much as i just posted a different response pointing the user to the jQuery library. Take a look at ajaxrain.com for table plugins to jQuery. I know there's a couple of them out there, if this is what you're looking for

    Linux, Apache, MySQL, PHP php algorithms tutorial

  • treeview creation [modified]
    J Jules VDV

    The jQuery toolkit has multiple plugins that could handle this

    Linux, Apache, MySQL, PHP javascript php database sysadmin data-structures

  • PHP editor?
    J Jules VDV

    Not totally sure if they have a linux version but they might. NetBeans6.5 has built in PHP features

    Linux, Apache, MySQL, PHP php visual-studio linux question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups