Proble with html table
i am a beginner,
i created a table with 3 rows 1 column and
in the second row i split it as 2 columns, in the second
column i need scrollbar...
can any 1 tell me how to put scrollbar for that column
only.....
thanx in advance....
Sounds like you are on a bad path already. Merging and
splitting cells is
the gateway to table hell.
Take a minute to read through this -
http://apptools.com/rants/spans.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"akheels" <[email protected]> wrote in
message
news:fnurh4$fqr$[email protected]..
>i am a beginner,
> i created a table with 3 rows 1 column and
> in the second row i split it as 2 columns, in the second
column i need
> scrollbar...
> can any 1 tell me how to put scrollbar for that column
only.....
> thanx in advance....
>
Similar Messages
-
Problem with html table and htmlb radiobutton group
Hello,
I wrote this code:
<table width="100%" border="1">
<tr>
<th>
Valutazione manageriale complessiva dell#anno
</th>
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
<tr>
<th>
imprenditività
</th>
<htmlb:radioButtonGroup id="PROVA1"
columnCount="3"
mode="LOGICAL_GROUPING">
<th><htmlb:radioButton id="1" text="1" encode="TRUE"/></th>
<th><htmlb:radioButton id="2" text="2" encode="TRUE"/></th>
<th><htmlb:radioButton id="3" text="3" encode="TRUE"/></th>
</htmlb:radioButtonGroup>
</tr>
<tr>
<th>
Autorevolezza
</th>
<htmlb:radioButtonGroup id="PROVA2"
columnCount="3"
mode="LOGICAL_GROUPING">
<th><htmlb:radioButton id="1" text="1" encode="TRUE"/></th>
<th><htmlb:radioButton id="2" text="2" encode="TRUE"/></th>
<th><htmlb:radioButton id="3" text="3" encode="TRUE"/></th>
</htmlb:radioButtonGroup>
</tr>
</table>
but the third row (where there is "Autorevollezza/PROVA2") appears out of the table.
Do yuo now why?
Regards
Mariayou need to put the htmlb:radioButtonGroup Tags within the
tags
<tr>
<td>
imprenditività
</td>
<td>
<htmlb:radioButtonGroup id="PROVA1" columnCount="3" mode="LOGICAL_GROUPING">
<htmlb:radioButton id="1" text="1" encode="TRUE"></htmlb:radioButton></td>
<td><htmlb:radioButton id="2" text="2" encode="TRUE"></htmlb:radioButton></td>
<td><htmlb:radioButton id="3" text="3" encode="TRUE"></htmlb:radioButton>
</htmlb:radioButtonGroup></td>
</tr>
there is a invisible table rendered by htmlb and the browser does not know what to do when you put that between </tr> and </table> so he ends your table...
better you use <htmlb:gridLayout> instead of html-tables...
stefan -
Hi there -- I created an htm document in Dreamweaver 2004,
and I now want to edit it in Fireworks. However, when I try to
either open the file or reconstitute the HTML table, I get the
following error message:
Could not complete your request. Fireworks could not find one
or more of the image files referenced by the HTML table. Please
verify that the images are in the correct place and update the HTML
file accordingly.
I did a check of the images that are referenced by the HTML
file, and they all did seem to appear in their correct locations.
Is there a tool or specific procedure that I can use that can help
me determine what file(s) in question are at fault? Thanks.Hi there -- I created an htm document in Dreamweaver 2004,
and I now want to edit it in Fireworks. However, when I try to
either open the file or reconstitute the HTML table, I get the
following error message:
Could not complete your request. Fireworks could not find one
or more of the image files referenced by the HTML table. Please
verify that the images are in the correct place and update the HTML
file accordingly.
I did a check of the images that are referenced by the HTML
file, and they all did seem to appear in their correct locations.
Is there a tool or specific procedure that I can use that can help
me determine what file(s) in question are at fault? Thanks. -
Re: JEditorPane WIth HTML Table
hello,
use editorPane.dump(System.out); to know if tables are in your document.
If yes, there is a graphical problem (in view classes)
What is exactly the problem (exception, not drawn, drawing but not what you want...) ?you can also use editorPane.setText(htmlCodeString) and editorPane.getText() to get Html code in editorPane
-
Hi below is the my code snippet.
Ranges : R_Reassign for iclclaim-authclm
finall R_reassign get 3 records.
SIgn Options Low Hign
We have E,F,T vales in Low field.
It is giving dump for following statement.
IF not authclm(1) in r_reassign.
Below is the dump
Incorrect "SIGN" in SELECT-OPTIONS or RANGES table.
Only the following selections are allowed:
"I" - Within an interval and "E" - without an interval
Plz help our me.hi Chaitanya,
You have to pass the values as shown below.
r_reassign-low = 'E'.
r_reassign-sign = 'I'.
r_reassign-option = 'EQ'.
append r_reassign.
r_reassign-low = 'F'.
r_reassign-sign = 'I'.
r_reassign-option = 'EQ'.
append r_reassign.
r_reassign-low = 'T'.
r_reassign-sign = 'I'.
r_reassign-option = 'EQ'.
append r_reassign.
regards,
Veeeresh -
Excel issues with importing CSV or HTML table data from URL - Sharepoint? Office365?
Greetings,
We have a client who is having issues importing CSV or HTML table data as one would do using Excel's Web Query import from a reporting application. As the error message provided by Excel is unhelpful I'm reaching out to anyone who can help us begin to
troubleshoot problems affecting what is normal standard Excel functionality. I'd attach the error screenshot, but I can't because my account is not verified....needless to say it says "Microsoft Excel cannot access the file https://www.avantalytics.com/reporting_handler?func=wquery&format=csv&logid=XXXX&key=MD5
Where XXXX is a number and MD5 is an md5 code. The symptoms stated in the error message are:
- the file name or path does not exist
-The file is being used by another program
-The workbook you are trying to save has the same name as a currently open workbook.
None of these symptoms are the case, naturally. The user encountered this with Excel2010, she was then upgraded to Excel2013 and is still experiencing the same issue. The output of this URL in a browser (IE, Chrome, Firefox) is CSV data for the affected
user, so it is not a network connectivity issue. In our testing environment using both Excel2010 or 2013 this file is imported successfully, so we cannot replicate. The main difference I can determine between our test environment and the end-user
is they have a Sharepoint installation and appear to have Office365 as well.
So, my question might more appropriately be for Sharepoint or Office365 folks, but I can't be sure they're a culprit. Given this - does anyone have any knowledge of issues which might cause this with Sharepoint or Office365 integrated with
Excel and/or have suggestions for getting more information from Excel or Windows other than this error message? I've added the domain name as a trusted publisher in IE as I thought that might be the issue, but that hasn't solved anything. As you
can see its already https and there is no authentication or login - the md5 key is the authentication. The certificate for the application endpoint is valid and registered via GoDaddy CA.
I'm at a loss and would love some suggestions on things to check/try.
Thanks -RossHi Ross,
>> In our testing environment using both Excel 2010 and 2013 this file is imported successfully, so we cannot replicate.
I suspect it is caused by the difference of web server security settings.
KB: Error message when you use Web query to a secure Web page (HTTPS://) in Excel: "Unable to open"
Hope it will help.
By the way, this forum is mainly for discussing questions about Office Development (VSTO, VBA and Apps for Office .etc.). For Office products feature specific questions, you could consider posting them on
Office IT Pro forum or Microsoft Office Community.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Export to excel with javascript/vbscript or with plsql(html table)
i have searched for a way to export data from OracleXe to excel without losing formatting .
So far i have found 2 possible relatively easy ways that i am still researching
(i do not include the ask tom sylk format way of exporting )
1 to export the query to a html table, while using stylesheets for formatting
(using microsoft specific styles)
2. use of javascript/vbscript to fill an array and write this array to excel with use
of visual basic for applications in excel.This also provides charting capabilities.
I am still researching this two ways, and have
encountered a few obstacles (help would be appreciated)
1 the first way:
a. create a button " export to excel"
b. create the following pl/sql procedure:
owa_util.mime_header('application/vnd.ms-excel');
owa_util.http_header_close;
HTP.PRINT('<html>');
HTP.PRINT('<head>');
HTP.PRINT('<meta http-equiv="Content-Type" content="text/html">');
HTP.PRINT('<title>Title of the HTML File</title>');
HTP.PRINT('</head>');
HTP.PRINT('<body TEXT="#000000" BGCOLOR="#FFFFFF">');
HTP.PRINT('<h1>Heading in the HTML File</h1>');
HTP.PRINT('<p>Some text in the HTML file.');
HTP.PRINT('</body>');
HTP.PRINT('</html>');
htmldb_application.g_page_text_generated := true;
htmldb_application.g_unrecoverable_error := true;
c: run the procedure conditionally based on the button "export to excel"
the problem with this way is that using htmldb_application.g_unrecoverable_error := true; is not the ideal way, because it
stops further processing, but if i leave it out, the export doesn't happen.
To export to excel while retaining data formatting you have to use microsoft excel
specific styles(Seedocumentation on the microsoft site)
2.The second way:
a create a pl/sql procedure or sql query.
b use this query to fill a vbscript/javascript array with values
c write these values to excel with use of vba in excel :
the obstacle i encountered here was that i dont know how to export the result of a
query to a visual basic script or javascript array.Using approach 1) works fine for me.
the problem with this way is that using htmldb_application.g_unrecoverable_error := true;
is not the ideal way, because it
stops further processing, but if i leave it out, the export doesn't happen. Why is this a problem?
I created the button to export the excel file on page 1 and created your pl/sql procedure on page 2 using an onload process.
Works fine.
Other approaches for exporting to excel are:
http://www.oracle.com/technology/pub/articles/saternos_broadcast.html
http://htmldb.oracle.com/pls/otn/f?p=18326:54:5685133631021176591::::P54_ID:1962
~Dietmar. -
Creating a selectable HTML table with Sahrepoint list data dind
Hi All,
I m creating an app for sharepoint2013 , on my app I want to read data from SP list and display on something like HTML table/ grid view.
What I have done is as follows.
<table cellpadding="0" cellspacing="0" border="0" class="display" id="TermList">
<thead>
<tr>
<th>Start Date</th>
<th>End Date</th>
<th>Term Type(s)</th>
<th>Specialty</th>
<th width="12%">Sub Specialty</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
var context = SP.ClientContext.get_current();
var user = context.get_web().get_currentUser();
var Termsitems, web, hostcontext, currentusertitle;
var hosturl;
(function () {
$(document).ready(function () {
gethostdata();
getUserName();
$('#TermList').dataTable(
"sScrollY": 200,
This will enable jQuery UI theme
"bJQueryUI": true,
will add the pagination links
"sPaginationType": "full_numbers"
getTermdetails();
function gethostdata() {
hosturl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
context = new SP.ClientContext.get_current();
hostcontext = new SP.AppContextSite(context, hosturl);
web = hostcontext.get_web();
context.load(web, 'Title');
context.executeQueryAsync(onSiteLoadSuccess, onQueryFailed);
function onSiteLoadSuccess(sender, args) {
// alert("site title : " + web.get_title());
function onQueryFailed(sender, args) {
alert('request failed ' + args.get_message() + '\n' + args.get_stackTrace());
function getQueryStringParameter(urlParameterKey) {
var params = document.URL.split('?')[1].split('&');
var strParams = '';
for (var i = 0; i < params.length; i = i + 1) {
var singleParam = params[i].split('=');
if (singleParam[0] == urlParameterKey)
return decodeURIComponent(singleParam[1]);
// This function prepares, loads, and then executes a SharePoint query to get the current users information
function getUserName() {
context.load(user);
context.executeQueryAsync(onGetUserNameSuccess, onGetUserNameFail);
// This function is executed if the above call is successful
// It replaces the contents of the 'message' element with the user name
function onGetUserNameSuccess() {
currentusertitle= user.get_title();
$('#message').text('Hello ' + user.get_title());
// This function is executed if the above call fails
function onGetUserNameFail(sender, args) {
alert('Failed to get user name. Error:' + args.get_message());
function getTermdetails() {
var Termlist = web.get_lists().getByTitle("TraineeTermsSPlist");
context.load(Termlist)
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Title" />' +
'<Value Type="Text"> + currentusertitle + </Value></Eq></Where></Query></View>');
Termsitems = Termlist.getItems(camlQuery);
context.load(Termsitems);
context.executeQueryAsync(getTermdetailsQuerySuccsess, getTermdetailsQueryFails)
function getTermdetailsQuerySuccsess(sender, args) {
var listEnumerator = Termsitems.getEnumerator();
var datatable = document.getElementById("TermList");
while (listEnumerator.moveNext()) {
var oListItem = listEnumerator.get_current();
var startdate = listEnumerator.get_current().get_item('startdate');
var enddate = listEnumerator.get_current().get_item('Enddate');
var termtype = listEnumerator.get_current().get_item('TermType');
var Specialty = listEnumerator.get_current().get_item('Specialty');
var Specialty = listEnumerator.get_current().get_item('Subspecialty');
$("#TermList").append("<tr align='middle' class='gradeA'>" +
"<td align='left'>" + startdate +
"</td>" +
"<td align='left'>" + enddate + "</td>"
+
"<td align='left'>" + termtype + "</td>"
+
"<td align='left'>" + Specialty +
"</td>" +
"<td align='left'>" + Specialty +
"</td>" + "</tr>");
function getTermdetailsQueryFails(sender, args) {
alert(' Error:' + args.get_message());
Now what I want to do is allow user to select rows on the table. Once they select a row I want to get that selected row and search SP list based on the selected value. Also I would like to make this table with search area to search records.
Can someone please help me to do this, or are there any easy way to do this. Sample code or useful link much appreciate.
Thank you very much.
d.n weerasingheInstead of writing in dive each and every time directly,
just have a div in html, and inside the while loop
write and store in the variable like
output += "<li><a href='#' style='display:none'>" + usernames[i] + " </a> "
+ "<table id='results' width='100%'>"
+ "
<tr style='border-bottom:1px silver solid;'>"
+ "
<td style='width:60px;height:70px;' >"
+ "
<img alt=\"profile pic\" src= '" + pictureuri[i] + "' style='width:60px;height:60px;'/>"
+ "
</td>"
+ "
<td >"
+ "
<table style='height:100%'>"
+ "
<tr>"
+ "
<td style='padding-padding-vertical-align:top;height:10px' >"
+ "
<a href='" + personaluri[i] + "' classq='ms-bold ms-subtleLink' style='color: gray; font-size: 12px; font-weight: bold;'>" + tempnames[i] + "</a>"
+ "
</td>"
+ "
</tr>"
+ "
<tr>"
+ "
<td style='padding-vertical-align:top;height:50px;color:#ADAEAD;font-size:14px;' >" + deptNames[i]
+ "
</td>"
+ "
</tr>"
+ "
</table>"
+ "
</td>"
+ "
</tr>"
+ "</table>"
+ "</li>"
and finaly oyutside the loop
$(#div).html(output); -
Text in internal table with HTML tags.
Hi ,
I have Text in internal table with HTML tags.
The text has to be shown in output of smartform as formatted text.
That is the smartform should READ the HTML TAGS , convert the text accordingly and show in the output as formatted text.
I dont want to make a webform . This is for NORMAL SPOOL output and NOT for WEB OUTPUT.
IN SHORT
:- the text in the internal table is like this ( please ignore the dot in the HTML TAG )--
<html><.U>this is heading</.U>Line with no break<.br>some content text</.br>
</html>
OUTPUT
<U>this is heading</U>Line with no break<br>some content text</br>
1) Can I can get the output and store it as text in a string variable and show in the smartform ?
In this case I want to know how to convert and store in a variable in sap .
OR
2) Can the text element convert the text with HTML TAGS to html formatted output and show it ?
Regards,
JagatHi,
Use the FM SCP_REPLACE_STRANGE_CHARS and check
See the
Converting html special characters to plain characters (e.g. u00FC to u00FC) -
Using colspan with nested html tables
Please see my question on stackoverflow at:
using colspan with nested html tables - Stack OverflowYou should be posting in the Dreamweaver forum. This is not a design
question as such is it? Dreamweaver forum is the most busiest forum on
Adobe portal and you are very likely to get the response and a solution
almost quickly.
<https://forums.adobe.com/community/dreamweaver>
Good luck. -
Html tables with javascript pop up windows
I have two tables with different table-id in html, that are as follows -
table-header - consists of dynamic week wise days + resources
table-data in with same nnumbers of columns...
for Img - http://i.stack.imgur.com/Gwvoq.png
The Assign Task is a Button in every cell of table-data , What I need is , whent I click any button, the Pop-up window ( Kendowindow which is I m using right now in Javascript preferably) should display respective Cell row's 1st cell i.e resource's name and Id and cell column's 1st cell i.e. Date string.
Please suggest the solutions.... Help is kindly appreciated.
P.S. -- Please don't suggest Kendo Grid or Scheduler, because I can't able produce this kind of format, If you can do pls share your code and procedure.This forum is about JavaScript in PDF files, not in HTML pages.
-
HTML Table with alternative row color, Using SQL XML
Hi,
I want to send out an email and the email body contains a table with data. I am using SQL to create the HTML table and to populate values inside the table. Below is the code I have so far
DECLARE
@HTML NVARCHAR(MAX)
IF (SELECT
COUNT(*)
from Employee])
!= 0
Begin
SET
@HTML =
'<html><style>
tr:nth-of-type(even) {
background-color:#ccc;
</style><body><h1 style="font-family:Tahoma; font-size:12px;">Hi,</h1>'
+
'Below is the report'+
'<br></br>'+
'<table border="1" width="100%" style="border:1px solid #77bfe4;font-family:Tahoma; font-weight:normal; font-size:12px;" cellpadding="4" cellspacing="0">'
+
'<tr bgcolor="yellow" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td colspan="2"><center>Report</center></td></tr>'+
'<tr bgcolor="Blue" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td><center>Col1</center></td><td><center>col2</center></td></tr>'
+
CAST((
Select
td =
col1, '',
td
= col2
, '' from
(Select ID as col1, Emp as Col2
from
Employee) E
FOR XML
PATH('tr'),
TYPE
AS NVARCHAR(MAX))
+ '</table><br>Thank you</br></body></html>'
END
select
ISNULL(@HTML,'NoEmail')
But I am having trouble generating alternative colors for each row (tr:nth-of-type(odd) is not working for me)
Below is what the table should look like
Please help.
Thank you for your help in advance.Thank you for the response, I got the code to work.
DECLARE @HTML NVARCHAR(MAX) ;
IF (SELECT COUNT(*) from Employee]) != 0
Begin
SET @HTML = '<h1 style="font-family:Tahoma; font-size:12px;">Hi,</h1>' +
'Below is the report'+
'<br></br>'+
'<table border="1" width="100%" style="border:1px solid #77bfe4;font-family:Tahoma; font-weight:normal; font-size:12px;" cellpadding="4" cellspacing="0">' +
'<tr bgcolor="yellow" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td colspan="2"><center>Report</center></td></tr>'+
'<tr bgcolor="Blue" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td><center>Col1</center></td><td><center>col2</center></td></tr>' +
CAST(( SELECT CASE when (ROW_NUMBER() over (Order by Col1 DESC))%2 = 0 then '#E0E0E0' else 'white' END as "@bgcolor", '',
td = col1, '',
td = col2 , '' from
(Select ID as col1, Emp as Col2
from Employee) E
FOR XML PATH('tr'), TYPE
) AS NVARCHAR(MAX)) + '</table><br>Thank you</br></body></html>'
END
select ISNULL(@HTML,'NoEmail') -
How to convert html table with all its css properties into excel , by javascript or jQuery
hi,
<script type="text/javascript">
//working java script
function CreateExcelSheet()
var x = Table1.rows
var xls = new ActiveXObject("Excel.Application")
xls.Workbooks.Add
for (i = 0; i < x.length; i++) {
var y = x[i].cells
for (j = 0; j < y.length; j++) {
xls.Cells(i + 1, j + 1).Value = y[j].innerText
} xls.visible = true
function write_to_excel()
str = "";
debugger;
var mytable = document.getElementsByTagName("table")[0];
var rowCount = mytable.rows.length;
var colCount = mytable.getElementsByTagName("tr")[0].getElementsByTagName("td").length;
var ExcelApp = new ActiveXObject("Excel.Application");
var ExcelSheet = new ActiveXObject("Excel.Sheet");
debugger;
ExcelSheet.Application.Visible = true;
for (var i = 0; i < rowCount; i++)
for (var j = 0; j < colCount; j++)
str = mytable.getElementsByTagName("tr")[i].getElementsByTagName("td")[j].innerText;
ExcelSheet.ActiveSheet.Cells(i + 1, j + 1).Value = str;
//new funtion
function ExportToExcel(mytblId) {
debugger;
var htmltable = document.getElementById('Table1');
var html = htmltable.innerHTML;
window.open('data:application/vnd.ms-excel,' + encodeURIComponent(html));
//new funtion 2
function write_to_excel2() {
str = "";
debugger;
var mytable = document.getElementById("Table1");
var rowCount = mytable.rows.length;
var colCount = mytable.getElementsByTagName("tr")[0].getElementsByTagName("th").length;
var ExcelApp = new ActiveXObject("Excel.Application");
var ExcelSheet = new ActiveXObject("Excel.Sheet");
//ExcelSheet.Application.Visible = true;
for (var i = 0; i < rowCount; i++)
for (var j = 0; j < colCount; j++)
debugger;
// if (i == 0) {
// str = mytable.getElementsByTagName("tr")[i].getElementsByTagName("th")[j].innerText;
str = mytable.getElementsByTagName("tr")[i].getElementsByTagName("td")[j].innerText;
ExcelSheet.ActiveSheet.Cells(i + 1, j + 1).Value = str;
ExcelSheet.autofit;
ExcelSheet.Application.Visible = true;
DisplayAlerts = true;
CollectGarbage();
//csss
function excelExportHtml(Table1, css1)
debugger;
if (css1) {
var styles = [];
//grab all styles defined on the page
$("style").each(function(index, domEle) {
styles.push($(domEle).html());
//grab all styles referenced by stylesheet links on the page
var ajaxCalls = [];
$("[rel=stylesheet]").each(function() {
ajaxCalls.push($.get(this.href, '', function(data) {
styles.push(data);
return $.when.apply(null, ajaxCalls)
.then(function() {
return "<html><style type='text/css'>" + styles.join("\n") + "</style>\n" + table.outerHTML + "</html>";
else {
return $.when({ owcHtml: Table1.outerHTML })
.then(function(result) {
return "<html>" + result.owcHtml + "</html>";
//new
function ExportToExcel() {
$(document).ready(function() {
$("#btnExport").click(function(e) {
window.open('data:application/vnd.ms-excel,' + $('#Table1').html());
alert("jhhklhhklhklh");
//new
$(document).ready(function() {
debugger;
$("[id$=myButtonControlID]").click(function(e) {
window.open('data:application/vnd.ms-excel,' + $('div[id$=divTableDataHolder]').html());
e.preventDefault();
alert("k");
function excel()
{debugger;
var tableToExcel = (function() {
var uri = 'data:application/vnd.ms-excel;base64,'
, template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>'
, base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) }
, format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, p) { return c[p]; }) }
return function(table, name) {
if (!table.nodeType) table = document.getElementById(table)
var ctx = { worksheet: name || 'Worksheet', table: table.innerHTML }
window.location.href = uri + base64(format(template, ctx))
</script>
i have tried all the above java script and jquery to convert an html table to excel, data are exporting correctly but i want that css of the table should also implent to excel thats not happening,even the property defined inside td and tr aare not implementing
in excelHi avinashk89,
Welcome to post in MSDN forums.
This is not the right forum for your question. Please post in
ASP.NET forums where you could get better support.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Spry data set and html table with multiple images
I use "Spry Data Set" in my Dreamweaver CS4 site. I need to make one html file (a product page) and all the product data comes from a separate html table.
So, I have a html table that contains the product data and the images. Each row is one product.
Column 1 contains a product name
Column 2 contains product information
Column 3 contains products thumbnail image 1
Column 4 contains products thumbnail image 2
Column 5 contains products large image 1
Column 6 contains products large image 2
This a simple example of the idea. In reality, there is lot more content.
So the actual question is that:
How can I show in the product page all the thumbnail images, but only one large picture at a time?
And when the thumbnail is clicked the large picture changes accordingly.It depend entirely on what you want.
One way would be to show a shadow box as per http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=shadowbox&search_exchange=&num =25&startnum=1&event=search&sort=0&interim_dummy_tmpfield=&Submit= or http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=lightbox&search_exchange=&sear ch_license=&search_rating=&search_pubdate=&Submit=Search&num=10&startnum=1&event=search&so rt=0&dummy_tmpfield=
Another way is to have a master/detail area where the large image appears after clicking in the master area like this http://labs.adobe.com/technologies/spry/demos/products/index.html
You could also use tooltips as in http://labs.adobe.com/technologies/spry/samples/data_region/TooltipwithData.html.
There are many more ways, but you need to make the desicion based on the layout of your page.
Gramps -
Retrieve values from a HTML table !!!
Hi.
How can i retrieve values from a HTML table using javascript ?
I´m trying to use the command "document.getElementsByTagName" without success.
Thanks in advance.
EduardoHi, Deepu.
I´m still with trouble in retrieving the value in HTML.
In debug the C_CELL_ID seems to be correctly updated but
when using the command "document.getElementById" the value is always "null".
I implemented in the method DATA_CELL the code :
if i_x = 3 and i_y = 2.
C_CELL_ID = 'zs'.
C_CELL_CONTENT = 10.
endif.
And in HTML :
var ztest = document.getElementById('zs');
alert(ztest);
Could you help me please.
Many regards
Eduardo S.
Message was edited by: Eduardo Silberberg
Maybe you are looking for
-
I have recently upgraded my home PC with new motherboard, CPU and RAM. Since then i have a weird bug that i cant seem to get my head around to fix. Basically whenever i am in the metro UI start screen, at random times when i left or right click it wi
-
My iTunes Plus songs are no longer Plus in iTunes
I upgraded my iTunes songs to Plus a year or so ago. I created an MP3 from one just to make sure the DRM was gone and it was. I paid my money and all is good. Today I want to make some more MP3 files to play in my car. Low and behold all my previousl
-
Seeburger - CPALookupException error
Hi, In my testing environment, I'm pulling EDI doc's from my VAN but nothing is triggered in XI. After putting the Seeburger FTP on debug, I was able to find this error message: CPALookupException: Couldn't retrieve binding for the given channelid..
-
Linking Macbook air to lexmark printer
Can someone advise what I am doing wrong. Just bought macbook air and trying to link it to my lexmark printer x9575. Downloaded driver and works with usb connection but when I try to print worelessly, it does not connect to printer. Printer is on ne
-
SQL express 2008 r2 on windows server 2003
install ends with the following error : "MsiEnumRelatedProducts failed to enumerate products with UpgradeCode='{1B117BA7-5BC1-419E-820E-7D4F3F412C7B}'. Error code: 1610."