Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

option custom markup for placeholder #33

Closed
wants to merge 1 commit into from

Conversation

bistoco
Copy link

@bistoco bistoco commented Nov 3, 2012

Added option for placeholder

  • added custom markup for placeholder as option, useful when using with tables.
    Example :
    // JS CODE
    $('table.data tbody').sortable(
    {  
    items: 'tr' ,
    placeholder : ' '
    }) ;

    // CSS STYLE FOR TR > TD
    .sortable-placeholder td
    {
    background:#FFFEB8;
    height:100px;
    width:100%;

    }

Added option for placeholder
- added custom markup for placeholder as option, useful when using with tables.
Example :
	// JS CODE
	$('table.data tbody').sortable(
	{  
		items: 'tr' ,
		placeholder : '<tr><td colspan="7">&nbsp;</td></tr>'
	}) ;

	// CSS STYLE FOR TR > TD
	.sortable-placeholder td
	{
		background:#FFFEB8;
		height:100px;
		width:100%;
		
	}
@voidberg
Copy link
Collaborator

This project has been discontinued by its author and the new mantained version is here.

Since the projects have diverged a while ago I can't migrate issues and pull requests. Please try the new version and if the issue or pull request still makes sense, please resubmit it.

Sorry for the inconvenience.

@voidberg voidberg closed this Nov 21, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants