Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
naked_ollie #1
Select DIV and duplicate it
Lets say I have a list of products, displayed in DIV containers underneath each
other. Can a Contribute user select one of those DIVs and copy/paste it to add
a new product.
I guess you could just put the products in a table and add a new row - that's
the kind of functionallity I want but would rather use DIVs.
Whole DIVs just dont seem selectable in Contribute.
naked_ollie Guest
-
MS Access SQL: duplicate record... ?SELECT INTO....?
What syntax would you use to dupe a record? Thanks! -- Scotter -
select all the duplicate records
Hi, My table in the database may contain duplicate records, which means except the primary key (auto_increment) field is unique, all or almost of... -
#25474 [Fbk->Opn]: posting arrays from a select box with multiple select is not working properly
ID: 25474 User updated by: fmuller at cisco dot com Reported By: fmuller at cisco dot com -Status: Feedback... -
#25474 [Opn->Fbk]: posting arrays from a select box with multiple select is not working properly
ID: 25474 Updated by: sniper@php.net Reported By: fmuller at cisco dot com -Status: Open +Status: ... -
SELECT DISTINCT + ORDER BY gives ERROR 145: ORDER BY items mustappear in the select list if SELECT DISTINCT is specified.
Dan, You should be able to do this: SELECT Id, FaxID, ReceivedTime, Pages FROM ( SELECT DISTINCT .Id AS Id, -
naked_ollie #2
Re: Select DIV and duplicate it
OK, looks like somebody else has raised this too,
[url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=290&thre[/url]
adid=913128&highlight_key=y&keyword1=div
But no solution it would seem...
naked_ollie Guest
-
Michael Eichelsd?rfer #3
Re: Select DIV and duplicate it
This seems to be rather simple - all you need is a template for the product
page including a repeatable area. A simple template could look like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>template</title>
<!-- TemplateEndEditable -->
<title>Demo</title>
</head>
<body>
<div id="header">
</div>
<div id="navigation">
</div>
<div id="main">
<h1>Products</h1>
<div class="product">
<!-- TemplateBeginRepeat name="Products" -->
<h2><!-- TemplateBeginEditable name="ProductName" -->Product Name<!--
TemplateEndEditable --></h2>
<!-- TemplateBeginEditable name="ProductText" -->
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in
hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu
feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui
blandit praesent luptatum zzril delenit augue duis dolore
</p>
<!-- TemplateEndEditable -->
<!-- TemplateEndRepeat -->
</div>
</div>
<div id="footer">
</div>
</body>
</html>
Michael Eichelsd?rfer Guest



Reply With Quote

